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 Instance Methods Concrete Methods Modifier and Type Method Description net.sourceforge.pmd.properties.PropertyDescriptor<?>build()Builds the descriptor.PropertyDescriptorSpecdeepCopy()org.reactfx.value.Var<java.lang.String>descriptionProperty()java.lang.StringgetDescription()java.lang.BooleangetIsMultivalue()java.lang.BooleangetIsNumerical()java.lang.BooleangetIsPackaged()java.lang.StringgetName()net.sourceforge.pmd.properties.PropertyTypeIdgetTypeId()java.lang.StringgetValue()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()voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)voidsetTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)voidsetValue(java.lang.String value)java.lang.StringtoString()java.lang.StringtoXml()Returns an xml string of this property definition.org.reactfx.value.Var<net.sourceforge.pmd.properties.PropertyTypeId>typeIdProperty()voidunbind()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:
toStringin classjava.lang.Object
-
deepCopy
public PropertyDescriptorSpec deepCopy()
-
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.
-
modificationTicks
public org.reactfx.EventStream<?> modificationTicks()
Pushes an event every time the rule owning this property needs to be re-evaluated.
-
-