Class EditPropertyDialogController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.popups.EditPropertyDialogController
-
- All Implemented Interfaces:
javafx.fxml.Initializable
,ApplicationComponent
public class EditPropertyDialogController extends java.lang.Object implements javafx.fxml.Initializable, ApplicationComponent
Property edition dialog. UsebindToDescriptor(PropertyDescriptorSpec, ObservableList)
)} to use this dialog to edit a descriptor spec. Typically owned by aPropertyCollectionView
. The controller must be instantiated by hand.- Since:
- 6.0.0
- Author:
- Clément Fournier
- See Also:
PropertyDescriptorSpec
-
-
Constructor Summary
Constructors Constructor Description EditPropertyDialogController()
EditPropertyDialogController(DesignerRoot root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactfx.Subscription
bindToDescriptor(PropertyDescriptorSpec spec, javafx.collections.ObservableList<PropertyDescriptorSpec> allDescriptors)
Wires this dialog to the descriptor, so that the controls edit the descriptor.javafx.beans.property.Property<java.lang.String>
descriptionProperty()
java.lang.String
getDescription()
DesignerRoot
getDesignerRoot()
java.lang.String
getName()
net.sourceforge.pmd.properties.PropertyTypeId
getTypeId()
java.lang.String
getValue()
void
initialize(java.net.URL location, java.util.ResourceBundle resources)
javafx.beans.property.Property<java.lang.String>
nameProperty()
void
setDescription(java.lang.String description)
void
setName(java.lang.String name)
void
setTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)
void
setValue(java.lang.String value)
org.reactfx.value.Var<net.sourceforge.pmd.properties.PropertyTypeId>
typeIdProperty()
javafx.beans.property.Property<java.lang.String>
valueProperty()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getGlobalLanguageVersion, getLogCategory, getLogger, getMainStage, getService, globalLanguageProperty, isDeveloperMode, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
EditPropertyDialogController
public EditPropertyDialogController()
-
EditPropertyDialogController
public EditPropertyDialogController(DesignerRoot root)
-
-
Method Detail
-
initialize
public void initialize(java.net.URL location, java.util.ResourceBundle resources)
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
-
bindToDescriptor
public org.reactfx.Subscription bindToDescriptor(PropertyDescriptorSpec spec, javafx.collections.ObservableList<PropertyDescriptorSpec> allDescriptors)
Wires this dialog to the descriptor, so that the controls edit the descriptor.- Parameters:
spec
- The descriptor
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
nameProperty
public javafx.beans.property.Property<java.lang.String> nameProperty()
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
descriptionProperty
public javafx.beans.property.Property<java.lang.String> descriptionProperty()
-
getTypeId
public net.sourceforge.pmd.properties.PropertyTypeId getTypeId()
-
setTypeId
public void setTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)
-
typeIdProperty
public org.reactfx.value.Var<net.sourceforge.pmd.properties.PropertyTypeId> typeIdProperty()
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
valueProperty
public javafx.beans.property.Property<java.lang.String> valueProperty()
-
getDesignerRoot
public DesignerRoot getDesignerRoot()
- Specified by:
getDesignerRoot
in interfaceApplicationComponent
-
-