Class CommandPopupMenuPanelPresentationModel.Builder
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.CommandPopupMenuPanelPresentationModel.Builder
- Enclosing class:
CommandPopupMenuPanelPresentationModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Insets
private HorizontalAlignment
private double
private Dimension
private CommandButtonPresentationState
private double
private int
private Insets
private MenuPopupPanelLayoutSpec
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setBackgroundAppearanceStrategy
(RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy) setCommandContentPadding
(Insets commandContentPadding) setCommandHorizontalAlignment
(HorizontalAlignment commandHorizontalAlignment) setCommandHorizontalGapScaleFactor
(double commandHorizontalGapScaleFactor) setCommandIconDimension
(Dimension commandIconDimension) setCommandPresentationState
(CommandButtonPresentationState commandPresentationState) setCommandVerticalGapScaleFactor
(double commandVerticalGapScaleFactor) setContentGap
(int contentGap) setContentPadding
(Insets contentPadding) setIconFilterStrategies
(RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy) setLayoutSpec
(MenuPopupPanelLayoutSpec layoutSpec) setToShowGroupLabels
(boolean toShowGroupLabels)
-
Field Details
-
layoutSpec
-
contentPadding
-
contentGap
private int contentGap -
toShowGroupLabels
private boolean toShowGroupLabels -
commandPresentationState
-
commandIconDimension
-
commandContentPadding
-
commandHorizontalGapScaleFactor
private double commandHorizontalGapScaleFactor -
commandVerticalGapScaleFactor
private double commandVerticalGapScaleFactor -
backgroundAppearanceStrategy
-
activeIconFilterStrategy
-
enabledIconFilterStrategy
-
disabledIconFilterStrategy
-
commandHorizontalAlignment
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setLayoutSpec
public CommandPopupMenuPanelPresentationModel.Builder setLayoutSpec(MenuPopupPanelLayoutSpec layoutSpec) -
setContentPadding
-
setContentGap
-
setToShowGroupLabels
public CommandPopupMenuPanelPresentationModel.Builder setToShowGroupLabels(boolean toShowGroupLabels) -
setCommandPresentationState
public CommandPopupMenuPanelPresentationModel.Builder setCommandPresentationState(CommandButtonPresentationState commandPresentationState) -
setCommandIconDimension
public CommandPopupMenuPanelPresentationModel.Builder setCommandIconDimension(Dimension commandIconDimension) -
setCommandContentPadding
public CommandPopupMenuPanelPresentationModel.Builder setCommandContentPadding(Insets commandContentPadding) -
setCommandHorizontalAlignment
public CommandPopupMenuPanelPresentationModel.Builder setCommandHorizontalAlignment(HorizontalAlignment commandHorizontalAlignment) -
setBackgroundAppearanceStrategy
public CommandPopupMenuPanelPresentationModel.Builder setBackgroundAppearanceStrategy(RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy) -
setCommandHorizontalGapScaleFactor
public CommandPopupMenuPanelPresentationModel.Builder setCommandHorizontalGapScaleFactor(double commandHorizontalGapScaleFactor) -
setCommandVerticalGapScaleFactor
public CommandPopupMenuPanelPresentationModel.Builder setCommandVerticalGapScaleFactor(double commandVerticalGapScaleFactor) -
setIconFilterStrategies
public CommandPopupMenuPanelPresentationModel.Builder setIconFilterStrategies(RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy) -
build
-