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.InitializableProperty 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 voidbindToDescriptor(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()voidfree()Unbinds this dialog from its backing properties.java.lang.StringgetDescription()java.lang.StringgetName()net.sourceforge.pmd.properties.PropertyTypeIdgetTypeId()java.lang.StringgetValue()voidinitialize(java.net.URL location, java.util.ResourceBundle resources)javafx.beans.property.Property<java.lang.String>nameProperty()voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)voidsetTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)voidsetValue(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:
initializein 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()
-
-