javafx.fxml.Initializable
public class EditPropertyDialogController
extends java.lang.Object
implements javafx.fxml.Initializable
bindToDescriptor(PropertyDescriptorSpec, ObservableList)
)}
to use this dialog to edit a descriptor spec. Typically owned by a PropertyTableView
.
The controller must be instantiated by hand.PropertyDescriptorSpec
Constructor | Description |
---|---|
EditPropertyDialogController() |
|
EditPropertyDialogController(java.lang.Runnable commitHandler) |
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() |
public EditPropertyDialogController()
public EditPropertyDialogController(java.lang.Runnable commitHandler)
public void initialize(java.net.URL location, java.util.ResourceBundle resources)
initialize
in interface javafx.fxml.Initializable
public void free()
public void bindToDescriptor(PropertyDescriptorSpec spec, javafx.collections.ObservableList<PropertyDescriptorSpec> allDescriptors)
spec
- The descriptorpublic java.lang.String getName()
public void setName(java.lang.String name)
public javafx.beans.property.Property<java.lang.String> nameProperty()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public javafx.beans.property.Property<java.lang.String> descriptionProperty()
public net.sourceforge.pmd.properties.PropertyTypeId getTypeId()
public void setTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)
public org.reactfx.value.Var<net.sourceforge.pmd.properties.PropertyTypeId> typeIdProperty()
public java.lang.String getValue()
public void setValue(java.lang.String value)
public javafx.beans.property.Property<java.lang.String> valueProperty()
Copyright © 2002–2018 PMD. All rights reserved.