Class 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 Detail

      • PropertyDescriptorSpec

        public PropertyDescriptorSpec()
    • 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
      • 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.