Class CommandPanelPresentationModel.Builder
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.model.CommandPanelPresentationModel.Builder
-
- Enclosing class:
- CommandPanelPresentationModel
public static class CommandPanelPresentationModel.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandPanelPresentationModelbuild()CommandPanelPresentationModel.BuildersetBackgroundAppearanceStrategy(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy)CommandPanelPresentationModel.BuildersetCommandContentPadding(java.awt.Insets commandContentPadding)CommandPanelPresentationModel.BuildersetCommandHorizontalAlignment(int commandHorizontalAlignment)CommandPanelPresentationModel.BuildersetCommandHorizontalGapScaleFactor(double commandHorizontalGapScaleFactor)CommandPanelPresentationModel.BuildersetCommandIconDimension(java.lang.Integer commandIconDimension)CommandPanelPresentationModel.BuildersetCommandPresentationState(CommandButtonPresentationState commandPresentationState)CommandPanelPresentationModel.BuildersetCommandVerticalGapScaleFactor(double commandVerticalGapScaleFactor)CommandPanelPresentationModel.BuildersetContentGap(int contentGap)CommandPanelPresentationModel.BuildersetContentPadding(java.awt.Insets contentPadding)CommandPanelPresentationModel.BuildersetIconFilterStrategies(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy)CommandPanelPresentationModel.BuildersetLayoutSpec(PanelLayoutSpec layoutSpec)CommandPanelPresentationModel.BuildersetMenu(boolean isMenu)CommandPanelPresentationModel.BuildersetPopupPlacementStrategy(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy)CommandPanelPresentationModel.BuildersetToShowGroupLabels(boolean toShowGroupLabels)
-
-
-
Method Detail
-
setLayoutSpec
public CommandPanelPresentationModel.Builder setLayoutSpec(PanelLayoutSpec layoutSpec)
-
setContentPadding
public CommandPanelPresentationModel.Builder setContentPadding(java.awt.Insets contentPadding)
-
setContentGap
public CommandPanelPresentationModel.Builder setContentGap(int contentGap)
-
setToShowGroupLabels
public CommandPanelPresentationModel.Builder setToShowGroupLabels(boolean toShowGroupLabels)
-
setCommandPresentationState
public CommandPanelPresentationModel.Builder setCommandPresentationState(CommandButtonPresentationState commandPresentationState)
-
setCommandIconDimension
public CommandPanelPresentationModel.Builder setCommandIconDimension(java.lang.Integer commandIconDimension)
-
setCommandContentPadding
public CommandPanelPresentationModel.Builder setCommandContentPadding(java.awt.Insets commandContentPadding)
-
setCommandHorizontalAlignment
public CommandPanelPresentationModel.Builder setCommandHorizontalAlignment(int commandHorizontalAlignment)
-
setPopupPlacementStrategy
public CommandPanelPresentationModel.Builder setPopupPlacementStrategy(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy)
-
setBackgroundAppearanceStrategy
public CommandPanelPresentationModel.Builder setBackgroundAppearanceStrategy(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy)
-
setCommandHorizontalGapScaleFactor
public CommandPanelPresentationModel.Builder setCommandHorizontalGapScaleFactor(double commandHorizontalGapScaleFactor)
-
setCommandVerticalGapScaleFactor
public CommandPanelPresentationModel.Builder setCommandVerticalGapScaleFactor(double commandVerticalGapScaleFactor)
-
setIconFilterStrategies
public CommandPanelPresentationModel.Builder setIconFilterStrategies(org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy)
-
setMenu
public CommandPanelPresentationModel.Builder setMenu(boolean isMenu)
-
build
public CommandPanelPresentationModel build()
-
-