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
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
layoutSpec
private PanelLayoutSpec layoutSpec
-
contentPadding
private java.awt.Insets contentPadding
-
contentGap
private int contentGap
-
toShowGroupLabels
private boolean toShowGroupLabels
-
commandPresentationState
private CommandButtonPresentationState commandPresentationState
-
commandIconDimension
private java.awt.Dimension commandIconDimension
-
commandContentPadding
private java.awt.Insets commandContentPadding
-
commandHorizontalGapScaleFactor
private double commandHorizontalGapScaleFactor
-
commandVerticalGapScaleFactor
private double commandVerticalGapScaleFactor
-
backgroundAppearanceStrategy
private RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy
-
activeIconFilterStrategy
private RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy
-
enabledIconFilterStrategy
private RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy
-
disabledIconFilterStrategy
private RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy
-
commandHorizontalAlignment
private HorizontalAlignment commandHorizontalAlignment
-
commandPopupFireTrigger
private BaseCommandButtonPresentationModel.PopupFireTrigger commandPopupFireTrigger
-
commandSelectedStateHighlight
private BaseCommandButtonPresentationModel.SelectedStateHighlight commandSelectedStateHighlight
-
popupPlacementStrategy
private RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy
-
-
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.awt.Dimension commandIconDimension)
-
setCommandContentPadding
public CommandPanelPresentationModel.Builder setCommandContentPadding(java.awt.Insets commandContentPadding)
-
setCommandHorizontalAlignment
public CommandPanelPresentationModel.Builder setCommandHorizontalAlignment(HorizontalAlignment commandHorizontalAlignment)
-
setCommandPopupFireTrigger
public CommandPanelPresentationModel.Builder setCommandPopupFireTrigger(BaseCommandButtonPresentationModel.PopupFireTrigger commandPopupFireTrigger)
-
setCommandSelectedStateHighlight
public CommandPanelPresentationModel.Builder setCommandSelectedStateHighlight(BaseCommandButtonPresentationModel.SelectedStateHighlight commandSelectedStateHighlight)
-
setPopupPlacementStrategy
public CommandPanelPresentationModel.Builder setPopupPlacementStrategy(RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy)
-
setBackgroundAppearanceStrategy
public CommandPanelPresentationModel.Builder setBackgroundAppearanceStrategy(RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy)
-
setCommandHorizontalGapScaleFactor
public CommandPanelPresentationModel.Builder setCommandHorizontalGapScaleFactor(double commandHorizontalGapScaleFactor)
-
setCommandVerticalGapScaleFactor
public CommandPanelPresentationModel.Builder setCommandVerticalGapScaleFactor(double commandVerticalGapScaleFactor)
-
setIconFilterStrategies
public CommandPanelPresentationModel.Builder setIconFilterStrategies(RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy)
-
build
public CommandPanelPresentationModel build()
-
-