Class RibbonTab

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RibbonTab extends JPanel
See Also:
  • Constructor Details

    • RibbonTab

      public RibbonTab(String title)
  • Method Details

    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • initialize

      protected void initialize()
    • addGroup

      public void addGroup(RibbonGroup groupPanel)
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • updateDisplay

      public void updateDisplay()
      Override this method to adapt the display of the ribbon tab. For instance, one could update the various toggle button and checkboxes depending of the application state. By default, this method does nothing.