Class BooleanProperty

All Implemented Interfaces:
Property

public class BooleanProperty extends ValueHandlerProperty
A boolean property.
  • Constructor Details

    • BooleanProperty

      public BooleanProperty(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 boolean get(Object valueContainer)
      Returns the boolean 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, boolean value)
      Sets the boolean value of this property in a value container.
      Parameters:
      valueContainer - the value container
      value - the boolean value