Class JMTToolBar.ButtonWithGroup

java.lang.Object
jmt.framework.gui.components.JMTToolBar.ButtonWithGroup
Enclosing class:
JMTToolBar

protected class JMTToolBar.ButtonWithGroup extends Object
Inner class used to store buttons together with their button group (if any)
Version:
1.0
Author:
Bertoli Marco
  • Field Details

    • button

      public AbstractButton button
      Button. Always set.
    • group

      public int group
      Button group. -1 if button has not groups.
    • listener

      A listener to support action select state. This is stored here to be deregistered on button remove.
  • Constructor Details

    • ButtonWithGroup

      public ButtonWithGroup(AbstractButton button, int group)
      Creates a new ButtonWithGroup element
      Parameters:
      button - reference to button
      group - reference to button group or -1 if button has no groups.