Class JBandControlPanel.ControlPanelGroup

  • Enclosing class:
    JBandControlPanel

    public static class JBandControlPanel.ControlPanelGroup
    extends java.lang.Object
    • Constructor Detail

      • ControlPanelGroup

        public ControlPanelGroup​(java.lang.String groupTitle)
    • Method Detail

      • getGroupTitle

        public java.lang.String getGroupTitle()
      • setGroupTitle

        public void setGroupTitle​(java.lang.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 java.util.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 java.util.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.