Class Menu.Item

    • Constructor Detail

      • Item

        public Item()
      • Item

        public Item​(java.lang.Object buttonData)
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean enabled)
        Description copied from class: Component
        Sets the component's enabled state. Enabled components respond to user input events; disabled components do not.
        Overrides:
        setEnabled in class Button
        Parameters:
        enabled - true if the component is enabled; false, otherwise.
      • getMenu

        public Menu getMenu()
      • setMenu

        public void setMenu​(Menu menu)
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • setTriState

        @UnsupportedOperation
        public void setTriState​(boolean triState)
        Description copied from class: Button
        Sets the button's tri-state state.
        Overrides:
        setTriState in class Button
        Parameters:
        triState - Whether or not to make this a tri-state button.
      • press

        public void press()
        Description copied from class: Button
        "Presses" the button. Performs any action associated with the button.
        Overrides:
        press in class Button