Package 

Class SerializableEnumProperty

  • All Implemented Interfaces:
    java.io.Serializable , javafx.beans.Observable , javafx.beans.property.Property , javafx.beans.property.ReadOnlyProperty , javafx.beans.value.ObservableObjectValue , javafx.beans.value.ObservableValue , javafx.beans.value.WritableObjectValue , javafx.beans.value.WritableValue

    
    public class SerializableEnumProperty<T extends Enum<T>>
    extends ObjectPropertyBase<T> implements Serializable
                        

    javafx.beans.property.Property designed to wrap an enum.

    It is based on ObjectPropertyBase and is Serializable.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String name
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() Getter method for the name of the property.
      void setName(String name) Setter method for the name of the property.
      Object getBean() Getter method for unused field bean.
      Array<T> values() Returns the elements of the enum class wrapped by this javafx.beans.property.Property.
      int hashCode()
      boolean equals(Object obj)
      • Methods inherited from class javafx.beans.property.ObjectPropertyBase

        addListener, bind, get, isBound, removeListener, set, toString, unbind
      • Methods inherited from class javafx.beans.property.ObjectProperty

        bindBidirectional, setValue, unbindBidirectional
      • Methods inherited from class javafx.beans.binding.ObjectExpression

        asString, getValue, isEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
      • Methods inherited from class javafx.beans.property.ReadOnlyProperty

        getName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializableEnumProperty

        SerializableEnumProperty()
        The constructor of ObjectPropertyBase.
      • SerializableEnumProperty

        SerializableEnumProperty(T initialValue)
        The constructor of ObjectPropertyBase.
        Parameters:
        initialValue - the initial value of the wrapped value
      • SerializableEnumProperty

        SerializableEnumProperty(String name)
        The constructor of ObjectPropertyBase.
        Parameters:
        name - the name of this SimpleObjectProperty
      • SerializableEnumProperty

        SerializableEnumProperty(String name, T initialValue)
        The constructor of ObjectPropertyBase.
        Parameters:
        name - the name of this SimpleObjectProperty
        initialValue - the initial value of the wrapped value
    • Method Detail

      • getName

         String getName()

        Getter method for the name of the property.

      • setName

         void setName(String name)

        Setter method for the name of the property.

        Parameters:
        name - the name to set
      • values

         Array<T> values()

        Returns the elements of the enum class wrapped by this javafx.beans.property.Property.