Interface WrappedOption

All Known Implementing Classes:
WrappedActionTrigger, WrappedCustomOption, WrappedDate, WrappedFile

public interface WrappedOption
Wrapper class for an object that represents a property value and is saved as a set of primitives.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns Get the object that is the property value.
    Returns the option type.
    void
    readState(SaveState saveState)
    Subclasses of WrappedOption should read all state from the given save state object.
    void
    writeState(SaveState saveState)
    Subclasses of WrappedOption should write all state to the given save state object.
  • Method Details

    • getObject

      Object getObject()
      Returns Get the object that is the property value.
      Returns:
      Get the object that is the property value
    • readState

      void readState(SaveState saveState)
      Subclasses of WrappedOption should read all state from the given save state object.
      Parameters:
      saveState - container of state information
    • writeState

      void writeState(SaveState saveState)
      Subclasses of WrappedOption should write all state to the given save state object.
      Parameters:
      saveState - container of state information
    • getOptionType

      OptionType getOptionType()
      Returns the option type.
      Returns:
      the option type