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 String
Mapping from priority to ribbon buttons.Mapping from ribbon button to priority.Mapping from priority to galleries.Mapping from gallery to priority. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommandButton
(JCommandButton ribbonButton, JRibbonBand.PresentationPriority priority) Adds a new ribbon button tothis
control panel.void
void
addRibbonGallery
(JRibbonGallery ribbonGallery, JRibbonBand.PresentationPriority priority) Adds a new in-ribbon gallery tothis
control panel.Retrieves all ribbon buttons of specified priority fromthis
control panel.Retrieves all in-ribbon galleries of specified priority fromthis
control panel.boolean
void
setGroupTitle
(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 tothis
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 tothis
control panel.- Parameters:
ribbonGallery
- Ribbon gallery to add.priority
- Ribbon gallery priority.
-
addRibbonComponent
-
getRibbonButtons
Retrieves all ribbon buttons of specified priority fromthis
control panel.- Parameters:
priority
- Priority.- Returns:
- All ribbon buttons of specified priority from
this
control panel.
-
getRibbonGalleries
Retrieves all in-ribbon galleries of specified priority fromthis
control panel.- Parameters:
priority
- Priority.- Returns:
- All in-ribbon galleries of specified priority from
this
control panel.
-
getRibbonComps
-