Class PropertyDescriptorSpec
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.model.PropertyDescriptorSpec
-
- All Implemented Interfaces:
SettingsOwner
public class PropertyDescriptorSpec extends 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.PropertyDescriptorSpec
deepCopy()
org.reactfx.value.Var<String>
descriptionProperty()
String
getDescription()
Boolean
getIsMultivalue()
Boolean
getIsNumerical()
String
getName()
net.sourceforge.pmd.properties.PropertyTypeId
getTypeId()
String
getValue()
org.reactfx.value.Val<Boolean>
isMultivalueProperty()
org.reactfx.value.Val<Boolean>
isNumericalProperty()
org.reactfx.EventStream<?>
modificationTicks()
Pushes an event every time the rule owning this property needs to be re-evaluated.org.reactfx.value.Var<String>
nameProperty()
void
setDescription(String description)
void
setName(String name)
void
setTypeId(net.sourceforge.pmd.properties.PropertyTypeId typeId)
void
setValue(String value)
String
toString()
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<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 Boolean getIsNumerical()
-
isNumericalProperty
public org.reactfx.value.Val<Boolean> isNumericalProperty()
-
getIsMultivalue
public Boolean getIsMultivalue()
-
isMultivalueProperty
public org.reactfx.value.Val<Boolean> isMultivalueProperty()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
descriptionProperty
public org.reactfx.value.Var<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 String getName()
-
setName
public void setName(String name)
-
nameProperty
public org.reactfx.value.Var<String> nameProperty()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
valueProperty
public org.reactfx.value.Var<String> valueProperty()
-
toXml
public String toXml()
Returns an xml string of this property definition.- Returns:
- An xml string
-
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.
-
-