Class RibbonGalleryPresentationModel.Builder
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.ribbon.model.RibbonGalleryPresentationModel.Builder
-
- Enclosing class:
- RibbonGalleryPresentationModel
public static class RibbonGalleryPresentationModel.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private CommandButtonPresentationState
commandPresentationState
private java.lang.String
expandKeyTip
private MenuPopupPanelLayoutSpec
popupLayoutSpec
private java.util.Map<JRibbonBand.PresentationPriority,java.lang.Integer>
preferredVisibleCommandCounts
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RibbonGalleryPresentationModel
build()
RibbonGalleryPresentationModel.Builder
setCommandPresentationState(CommandButtonPresentationState commandPresentationState)
RibbonGalleryPresentationModel.Builder
setExpandKeyTip(java.lang.String expandKeyTip)
RibbonGalleryPresentationModel.Builder
setPopupLayoutSpec(MenuPopupPanelLayoutSpec popupLayoutSpec)
RibbonGalleryPresentationModel.Builder
setPreferredVisibleCommandCounts(java.util.Map<JRibbonBand.PresentationPriority,java.lang.Integer> preferredVisibleCommandCounts)
-
-
-
Field Detail
-
preferredVisibleCommandCounts
private java.util.Map<JRibbonBand.PresentationPriority,java.lang.Integer> preferredVisibleCommandCounts
-
popupLayoutSpec
private MenuPopupPanelLayoutSpec popupLayoutSpec
-
commandPresentationState
private CommandButtonPresentationState commandPresentationState
-
expandKeyTip
private java.lang.String expandKeyTip
-
-
Method Detail
-
setPopupLayoutSpec
public RibbonGalleryPresentationModel.Builder setPopupLayoutSpec(MenuPopupPanelLayoutSpec popupLayoutSpec)
-
setPreferredVisibleCommandCounts
public RibbonGalleryPresentationModel.Builder setPreferredVisibleCommandCounts(java.util.Map<JRibbonBand.PresentationPriority,java.lang.Integer> preferredVisibleCommandCounts)
-
setCommandPresentationState
public RibbonGalleryPresentationModel.Builder setCommandPresentationState(CommandButtonPresentationState commandPresentationState)
-
setExpandKeyTip
public RibbonGalleryPresentationModel.Builder setExpandKeyTip(java.lang.String expandKeyTip)
-
build
public RibbonGalleryPresentationModel build()
-
-