Class PropertyDescriptorSpec
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.model.PropertyDescriptorSpec
-
- All Implemented Interfaces:
SettingsOwner
public class PropertyDescriptorSpec extends java.lang.Object implements SettingsOwner
Stores enough data to build a property descriptor, can be displayed within table views.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptorSpec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description net.sourceforge.pmd.properties.PropertyDescriptor<?>
build()
Builds the descriptor.org.reactfx.value.Var<java.lang.String>
descriptionProperty()
static javafx.util.Callback<PropertyDescriptorSpec,javafx.beans.Observable[]>
extractor()
Extractor for observable lists.java.lang.String
getDescription()
java.lang.Boolean
getIsMultivalue()
java.lang.Boolean
getIsNumerical()
java.lang.Boolean
getIsPackaged()
java.lang.String
getName()
net.sourceforge.pmd.properties.PropertyTypeId
getTypeId()
java.lang.String
getValue()
org.reactfx.value.Val<java.lang.Boolean>
isMultivalueProperty()
org.reactfx.value.Val<java.lang.Boolean>
isNumericalProperty()
org.reactfx.value.Val<java.lang.Boolean>
isPackagedProperty()
org.reactfx.EventStream<?>
modificationTicks()
Pushes an event every time the rule owning this property needs to be re-evaluated.org.reactfx.value.Var<java.lang.String>
nameProperty()
static javafx.collections.ObservableList<PropertyDescriptorSpec>
observableList()
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)
java.lang.String
toString()
java.lang.String
toXml()
Returns an xml string of this property definition.org.reactfx.value.Var<net.sourceforge.pmd.properties.PropertyTypeId>
typeIdProperty()
void
unbind()
Removes bindings from this property spec.org.reactfx.value.Var<java.lang.String>
valueProperty()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner
getChildrenSettingsNodes
-
-
-
-
Method Detail
-
getIsNumerical
public java.lang.Boolean getIsNumerical()
-
isNumericalProperty
public org.reactfx.value.Val<java.lang.Boolean> isNumericalProperty()
-
getIsPackaged
public java.lang.Boolean getIsPackaged()
-
isPackagedProperty
public org.reactfx.value.Val<java.lang.Boolean> isPackagedProperty()
-
getIsMultivalue
public java.lang.Boolean getIsMultivalue()
-
isMultivalueProperty
public org.reactfx.value.Val<java.lang.Boolean> isMultivalueProperty()
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
descriptionProperty
public org.reactfx.value.Var<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()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
nameProperty
public org.reactfx.value.Var<java.lang.String> nameProperty()
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
valueProperty
public org.reactfx.value.Var<java.lang.String> valueProperty()
-
toXml
public java.lang.String toXml()
Returns an xml string of this property definition.- Returns:
- An xml string
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
build
public net.sourceforge.pmd.properties.PropertyDescriptor<?> build()
Builds the descriptor. May throw IllegalArgumentException.- Returns:
- the descriptor if it can be built
-
unbind
public void unbind()
Removes bindings from this property spec.
-
extractor
public static javafx.util.Callback<PropertyDescriptorSpec,javafx.beans.Observable[]> extractor()
Extractor for observable lists.
-
observableList
public static javafx.collections.ObservableList<PropertyDescriptorSpec> observableList()
-
modificationTicks
public org.reactfx.EventStream<?> modificationTicks()
Pushes an event every time the rule owning this property needs to be re-evaluated.
-
-