Class JBandControlPanel.ControlPanelGroup
java.lang.Object
org.pushingpixels.flamingo.internal.ui.ribbon.JBandControlPanel.ControlPanelGroup
- Enclosing class:
JBandControlPanel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommandButton
(AbstractCommandButton ribbonButton, RibbonElementPriority priority) Adds a new ribbon button tothis
control panel.void
addRibbonComponent
(JRibbonComponent comp, int rowSpan) void
addRibbonGallery
(JRibbonGallery ribbonGallery, RibbonElementPriority priority) Adds a new in-ribbon gallery tothis
control panel.getRibbonButtons
(RibbonElementPriority priority) Retrieves all ribbon buttons of specified priority fromthis
control panel.getRibbonGalleries
(RibbonElementPriority priority) Retrieves all in-ribbon galleries of specified priority fromthis
control panel.int
Returns the number of in-ribbon galleries inthis
control panel.boolean
Returns indication whetherthis
control panel has in-ribbon galleries.boolean
void
setGroupTitle
(String newTitle) void
setPriority
(JCommandButton ribbonButton, RibbonElementPriority newPriority) Sets new priority of a ribbon button inthis
control panel.void
setPriority
(JRibbonGallery ribbonGallery, RibbonElementPriority newPriority) Sets new priority of an in-ribbon gallery inthis
control panel.
-
Field Details
-
groupTitle
-
-
Constructor Details
-
ControlPanelGroup
-
-
Method Details
-
getGroupTitle
-
setGroupTitle
-
isCoreContent
public boolean isCoreContent() -
addCommandButton
Adds a new ribbon button tothis
control panel.- Parameters:
ribbonButton
- Ribbon button to add.priority
- Ribbon button priority.
-
addRibbonGallery
Adds a new in-ribbon gallery tothis
control panel.- Parameters:
ribbonGallery
- Ribbon gallery to add.priority
- Ribbon gallery priority.
-
setPriority
Sets new priority of a ribbon button inthis
control panel.- Parameters:
ribbonButton
- Gallery button.newPriority
- New priority for the specified ribbon button.
-
setPriority
Sets new priority of an in-ribbon gallery inthis
control panel.- Parameters:
ribbonGallery
- In-ribbon gallery.newPriority
- New priority for the specified in-ribbon gallery.
-
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.
-
hasRibbonGalleries
public boolean hasRibbonGalleries()Returns indication whetherthis
control panel has in-ribbon galleries.- Returns:
true
ifthis
control panel has in-ribbon galleries,false
otherwise.
-
getRibbonGalleriesCount
public int getRibbonGalleriesCount()Returns the number of in-ribbon galleries inthis
control panel.- Returns:
- Number of in-ribbon galleries in
this
control panel.
-
getRibbonComps
-
getRibbonCompsRowSpans
-