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

      • PropertyDescriptorSpec

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