Class AlignmentProperty

All Implemented Interfaces:
Property

public class AlignmentProperty extends EnumProperty
A property of type Alignment.
  • Constructor Details

    • AlignmentProperty

      public AlignmentProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler, Alignment[] validValues)
      Constructor.
      Parameters:
      group - the property group
      name - the property name
      description - the property description
      valueHandler - handles values for this property
      validValues - valid values for this property
  • Method Details

    • get

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

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