Class JBandControlPanel.ControlPanelGroup

java.lang.Object
org.pushingpixels.radiance.component.internal.ui.ribbon.JBandControlPanel.ControlPanelGroup
Enclosing class:
JBandControlPanel

public static class JBandControlPanel.ControlPanelGroup extends Object
Author:
Kirill Grouchnikov
  • Constructor Details

    • ControlPanelGroup

      public ControlPanelGroup(String groupTitle)
  • Method Details

    • getGroupTitle

      public String getGroupTitle()
    • setGroupTitle

      public void setGroupTitle(String newTitle)
    • isCoreContent

      public boolean isCoreContent()
    • addCommandButton

      public void addCommandButton(JCommandButton ribbonButton, JRibbonBand.PresentationPriority priority)
      Adds a new ribbon button to this control panel.
      Parameters:
      ribbonButton - Ribbon button to add.
      priority - Ribbon button priority.
    • addRibbonGallery

      public void addRibbonGallery(JRibbonGallery ribbonGallery, JRibbonBand.PresentationPriority priority)
      Adds a new in-ribbon gallery to this control panel.
      Parameters:
      ribbonGallery - Ribbon gallery to add.
      priority - Ribbon gallery priority.
    • addRibbonComponent

      public void addRibbonComponent(JRibbonComponent comp)
    • getRibbonButtons

      public List<JCommandButton> getRibbonButtons(JRibbonBand.PresentationPriority priority)
      Retrieves all ribbon buttons of specified priority from this control panel.
      Parameters:
      priority - Priority.
      Returns:
      All ribbon buttons of specified priority from this control panel.
    • getRibbonGalleries

      public List<JRibbonGallery> getRibbonGalleries(JRibbonBand.PresentationPriority priority)
      Retrieves all in-ribbon galleries of specified priority from this control panel.
      Parameters:
      priority - Priority.
      Returns:
      All in-ribbon galleries of specified priority from this control panel.
    • getRibbonComps

      public List<JRibbonComponent> getRibbonComps()