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 TypeMethodDescriptionvoidaddCommandButton(AbstractCommandButton ribbonButton, RibbonElementPriority priority) Adds a new ribbon button tothiscontrol panel.voidaddRibbonComponent(JRibbonComponent comp, int rowSpan) voidaddRibbonGallery(JRibbonGallery ribbonGallery, RibbonElementPriority priority) Adds a new in-ribbon gallery tothiscontrol panel.getRibbonButtons(RibbonElementPriority priority) Retrieves all ribbon buttons of specified priority fromthiscontrol panel.getRibbonGalleries(RibbonElementPriority priority) Retrieves all in-ribbon galleries of specified priority fromthiscontrol panel.intReturns the number of in-ribbon galleries inthiscontrol panel.booleanReturns indication whetherthiscontrol panel has in-ribbon galleries.booleanvoidsetGroupTitle(String newTitle) voidsetPriority(JCommandButton ribbonButton, RibbonElementPriority newPriority) Sets new priority of a ribbon button inthiscontrol panel.voidsetPriority(JRibbonGallery ribbonGallery, RibbonElementPriority newPriority) Sets new priority of an in-ribbon gallery inthiscontrol panel.
-
Field Details
-
groupTitle
-
-
Constructor Details
-
ControlPanelGroup
-
-
Method Details
-
getGroupTitle
-
setGroupTitle
-
isCoreContent
public boolean isCoreContent() -
addCommandButton
Adds a new ribbon button tothiscontrol panel.- Parameters:
ribbonButton- Ribbon button to add.priority- Ribbon button priority.
-
addRibbonGallery
Adds a new in-ribbon gallery tothiscontrol panel.- Parameters:
ribbonGallery- Ribbon gallery to add.priority- Ribbon gallery priority.
-
setPriority
Sets new priority of a ribbon button inthiscontrol panel.- Parameters:
ribbonButton- Gallery button.newPriority- New priority for the specified ribbon button.
-
setPriority
Sets new priority of an in-ribbon gallery inthiscontrol panel.- Parameters:
ribbonGallery- In-ribbon gallery.newPriority- New priority for the specified in-ribbon gallery.
-
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.
-
hasRibbonGalleries
public boolean hasRibbonGalleries()Returns indication whetherthiscontrol panel has in-ribbon galleries.- Returns:
trueifthiscontrol panel has in-ribbon galleries,falseotherwise.
-
getRibbonGalleriesCount
public int getRibbonGalleriesCount()Returns the number of in-ribbon galleries inthiscontrol panel.- Returns:
- Number of in-ribbon galleries in
thiscontrol panel.
-
getRibbonComps
-
getRibbonCompsRowSpans
-