Class DirectionProperty

All Implemented Interfaces:
Property

public class DirectionProperty extends EnumProperty
A property of type Direction.
  • Constructor Details

    • DirectionProperty

      public DirectionProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
      Constructor.
      Parameters:
      group - the property group
      name - the property name
      description - the property description
      valueHandler - handles values for this property
  • Method Details

    • get

      public Direction get(Object valueContainer)
      Returns the Direction value of this property in a value container.
      Parameters:
      valueContainer - the value container
      Returns:
      the boolean value of this property
    • set

      public void set(Object valueContainer, Direction direction)
      Sets the Direction value of this property in a value container.
      Parameters:
      valueContainer - the value container
      direction - the Direction value