Class EditPropertyDialogController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.popups.EditPropertyDialogController
-
- All Implemented Interfaces:
javafx.fxml.Initializable
public class EditPropertyDialogController extends java.lang.Object implements javafx.fxml.Initializable
Property edition dialog. UsebindToDescriptor(PropertyDescriptorSpec, ObservableList)
)} to use this dialog to edit a descriptor spec. Typically owned by aPropertyTableView
. 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(java.lang.Runnable commitHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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()
void
free()
Unbinds this dialog from its backing properties.java.lang.String
getDescription()
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()
-
-
-
Method Detail
-
initialize
public void initialize(java.net.URL location, java.util.ResourceBundle resources)
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
-
free
public void free()
Unbinds this dialog from its backing properties.
-
bindToDescriptor
public void 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()
-
-