Class RibbonGroup

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RibbonGroup extends JPanel
See Also:
  • Field Details

  • Constructor Details

    • RibbonGroup

      public RibbonGroup(String title)
  • Method Details

    • addCheckBox

      public void addCheckBox(AbstractRibbonAction action)
      Warning using this component. Toggle and checkbox should update global configuration used by a displayed components of the application. Also pay attention that changing the state of the configuration other than with this toggle should be reflected in the ribbon's component.
      Parameters:
      action - the action to perform
    • addButton

      public void addButton(AbstractRibbonAction action, int size)
    • addToggle

      public void addToggle(AbstractRibbonAction action, int size)
      Warning using this component. Toggle and checkbox should update global configuration used by a displayed components of the application. Also pay attention that changing the state of the configuration other than with this toggle should be reflected in the ribbon's component.
      Parameters:
      action - the action to perform
      size - SMALL or LARGE
    • initialize

      protected void initialize()
    • getPnlCommands

      protected JPanel getPnlCommands()
    • getPnlTitle

      protected JPanel getPnlTitle()
    • getLblTitle

      protected JLabel getLblTitle()