Class JBandControlPanel.ControlPanelGroup
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.ribbon.JBandControlPanel.ControlPanelGroup
- Enclosing class:
JBandControlPanel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<JRibbonComponent> private Stringprivate Map<JRibbonBand.PresentationPriority, List<JCommandButton>> Mapping from priority to ribbon buttons.Mapping from ribbon button to priority.private Map<JRibbonBand.PresentationPriority, List<JRibbonGallery>> Mapping from priority to galleries.Mapping from gallery to priority. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommandButton(JCommandButton ribbonButton, JRibbonBand.PresentationPriority priority) Adds a new ribbon button tothiscontrol panel.voidvoidaddRibbonGallery(JRibbonGallery ribbonGallery, JRibbonBand.PresentationPriority priority) Adds a new in-ribbon gallery tothiscontrol panel.Retrieves all ribbon buttons of specified priority fromthiscontrol panel.Retrieves all in-ribbon galleries of specified priority fromthiscontrol panel.booleanvoidsetGroupTitle(String newTitle)
-
Field Details
-
groupTitle
-
ribbonGalleries
Mapping from priority to galleries. -
ribbonGalleriesPriorities
Mapping from gallery to priority. -
ribbonButtons
Mapping from priority to ribbon buttons. -
ribbonButtonsPriorities
Mapping from ribbon button to priority. -
coreComps
-
-
Constructor Details
-
ControlPanelGroup
-
-
Method Details
-
getGroupTitle
-
setGroupTitle
-
isCoreContent
public boolean isCoreContent() -
addCommandButton
public void addCommandButton(JCommandButton ribbonButton, JRibbonBand.PresentationPriority priority) Adds a new ribbon button tothiscontrol 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 tothiscontrol panel.- Parameters:
ribbonGallery- Ribbon gallery to add.priority- Ribbon gallery priority.
-
addRibbonComponent
-
getRibbonButtons
Retrieves all ribbon buttons of specified priority fromthiscontrol panel.- Parameters:
priority- Priority.- Returns:
- All ribbon buttons of specified priority from
thiscontrol panel.
-
getRibbonGalleries
Retrieves all in-ribbon galleries of specified priority fromthiscontrol panel.- Parameters:
priority- Priority.- Returns:
- All in-ribbon galleries of specified priority from
thiscontrol panel.
-
getRibbonComps
-