Module org.jcommon

Interface HandleState

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int STATE_ACTIVE
      An integer that represents the activation of an item.
      static int STATE_DISPLAYED
      An integer that represents the display of an item.
      static int STATE_SELECTED
      An integer that represents the selection of an item.
    • Field Detail

      • STATE_ACTIVE

        static final int STATE_ACTIVE
        An integer that represents the activation of an item.
        See Also:
        Constant Field Values
      • STATE_SELECTED

        static final int STATE_SELECTED
        An integer that represents the selection of an item.
        See Also:
        Constant Field Values
      • STATE_DISPLAYED

        static final int STATE_DISPLAYED
        An integer that represents the display of an item.
        See Also:
        Constant Field Values
    • Method Detail

      • getStateValue

        int getStateValue()
        Get the state of the item as an integer value. This integer can be the combination of various states.
        Returns:
        the state of the item as an integer value.
      • setStateValue

        void setStateValue​(int state)
        Set the state of the item as an integer value. This integer can be the combination of various states.
        Parameters:
        state - the state of the item as an integer value.