Class BaseCommandButtonPresentationModel.BaseBuilder<MPM extends BaseCommandPopupMenuPresentationModel,PM extends BaseCommandButtonPresentationModel<MPM,PM>,B extends BaseCommandButtonPresentationModel.BaseBuilder<MPM,PM,B>>
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.BaseCommandButtonPresentationModel.BaseBuilder<MPM,PM,B>
- Direct Known Subclasses:
BasicRibbonBandUI.BandCollapseCommandButtonPresentationModel.Builder
,ColorSelectorCommandButtonPresentationModel.Builder
,CommandButtonPresentationModel.Builder
- Enclosing class:
BaseCommandButtonPresentationModel<MPM extends BaseCommandPopupMenuPresentationModel,
PM extends BaseCommandButtonPresentationModel<MPM, PM>>
public abstract static class BaseCommandButtonPresentationModel.BaseBuilder<MPM extends BaseCommandPopupMenuPresentationModel,PM extends BaseCommandButtonPresentationModel<MPM,PM>,B extends BaseCommandButtonPresentationModel.BaseBuilder<MPM,PM,B>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private RichTooltipPresentationModel
private int
private int
private Insets
private Font
private boolean
private boolean
private HorizontalAlignment
private double
private Dimension
private boolean
private boolean
private RadianceIcon
private String
private MPM
private RichTooltipPresentationModel
private CommandButtonPresentationState
private boolean
private RadianceThemingSlices.Sides
private boolean
private double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureBaseCommandButtonPresentationModel
(BaseCommandButtonPresentationModel<MPM, PM> presentationModel) setActionFireTrigger
(BaseCommandButtonPresentationModel.ActionFireTrigger actionFireTrigger) setActionKeyTip
(String actionKeyTip) setActionRichTooltipPresentationModel
(RichTooltipPresentationModel actionRichTooltipPresentationModel) setAutoRepeatAction
(boolean isAutoRepeatAction) setAutoRepeatActionIntervals
(int initial, int subsequent) setBackgroundAppearanceStrategy
(RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy) setContentPadding
(Insets contentPadding) setFocusable
(boolean focusable) setForceAllocateSpaceForIcon
(boolean forceAllocateSpaceForIcon) setHorizontalAlignment
(HorizontalAlignment horizontalAlignment) setHorizontalGapScaleFactor
(double horizontalGapScaleFactor) setIconDimension
(Dimension iconDimension) setIconFilterStrategies
(RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy) setPopupAnchorBoundsProvider
(BaseCommandButtonPresentationModel.PopupAnchorBoundsProvider popupAnchorBoundsProvider) setPopupFireTrigger
(BaseCommandButtonPresentationModel.PopupFireTrigger popupFireTrigger) setPopupIcon
(RadianceIcon popupIcon) setPopupKeyTip
(String popupKeyTip) setPopupMenuPresentationModel
(MPM popupMenuPresentationModel) setPopupPlacementStrategy
(RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy) setPopupRichTooltipPresentationModel
(RichTooltipPresentationModel popupRichTooltipPresentationModel) setPresentationState
(CommandButtonPresentationState presentationState) setSelectedStateHighlight
(BaseCommandButtonPresentationModel.SelectedStateHighlight selectedStateHighlight) setShowPopupIcon
(boolean showPopupIcon) setToDismissPopupsOnActivation
(boolean toDismissPopupsOnActivation) setVerticalGapScaleFactor
(double verticalGapScaleFactor)
-
Field Details
-
presentationState
-
backgroundAppearanceStrategy
-
isFocusable
private boolean isFocusable -
horizontalAlignment
-
contentPadding
-
horizontalGapScaleFactor
private double horizontalGapScaleFactor -
verticalGapScaleFactor
private double verticalGapScaleFactor -
iconDimension
-
activeIconFilterStrategy
-
enabledIconFilterStrategy
-
disabledIconFilterStrategy
-
forceAllocateSpaceForIcon
private boolean forceAllocateSpaceForIcon -
selectedStateHighlight
-
font
-
popupPlacementStrategy
-
showPopupIcon
private boolean showPopupIcon -
popupIcon
-
popupAnchorBoundsProvider
-
actionKeyTip
-
popupKeyTip
-
toDismissPopupsOnActivation
private boolean toDismissPopupsOnActivation -
popupMenuPresentationModel
-
textClick
-
isAutoRepeatAction
private boolean isAutoRepeatAction -
hasAutoRepeatIntervalsSet
private boolean hasAutoRepeatIntervalsSet -
autoRepeatInitialInterval
private int autoRepeatInitialInterval -
autoRepeatSubsequentInterval
private int autoRepeatSubsequentInterval -
actionFireTrigger
-
popupFireTrigger
-
actionRichTooltipPresentationModel
-
popupRichTooltipPresentationModel
-
sides
-
-
Constructor Details
-
BaseBuilder
public BaseBuilder()
-
-
Method Details
-
setBackgroundAppearanceStrategy
public B setBackgroundAppearanceStrategy(RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy) -
setFocusable
-
setHorizontalAlignment
-
setContentPadding
-
setHorizontalGapScaleFactor
-
setVerticalGapScaleFactor
-
setPresentationState
-
setIconDimension
-
setIconFilterStrategies
public B setIconFilterStrategies(RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy) -
setForceAllocateSpaceForIcon
-
setFont
-
setPopupPlacementStrategy
public B setPopupPlacementStrategy(RadianceThemingSlices.PopupPlacementStrategy popupPlacementStrategy) -
setShowPopupIcon
-
setPopupAnchorBoundsProvider
public B setPopupAnchorBoundsProvider(BaseCommandButtonPresentationModel.PopupAnchorBoundsProvider popupAnchorBoundsProvider) -
setPopupIcon
-
setSelectedStateHighlight
public B setSelectedStateHighlight(BaseCommandButtonPresentationModel.SelectedStateHighlight selectedStateHighlight) -
setToDismissPopupsOnActivation
-
setPopupMenuPresentationModel
-
setActionKeyTip
-
setPopupKeyTip
-
setTextClick
-
setAutoRepeatAction
-
setAutoRepeatActionIntervals
-
setActionFireTrigger
public B setActionFireTrigger(BaseCommandButtonPresentationModel.ActionFireTrigger actionFireTrigger) -
setPopupFireTrigger
-
setActionRichTooltipPresentationModel
public B setActionRichTooltipPresentationModel(RichTooltipPresentationModel actionRichTooltipPresentationModel) -
setPopupRichTooltipPresentationModel
public B setPopupRichTooltipPresentationModel(RichTooltipPresentationModel popupRichTooltipPresentationModel) -
setSides
-
configureBaseCommandButtonPresentationModel
protected void configureBaseCommandButtonPresentationModel(BaseCommandButtonPresentationModel<MPM, PM> presentationModel)
-