Class BaseCommandButtonPresentationModel<MPM extends BaseCommandPopupMenuPresentationModel, PM extends BaseCommandButtonPresentationModel<MPM,PM> >
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.BaseCommandButtonPresentationModel<MPM,PM>
- All Implemented Interfaces:
ImmutablePresentationModel, PresentationModel
- Direct Known Subclasses:
BasicRibbonBandUI.BandCollapseCommandButtonPresentationModel, ColorSelectorCommandButtonPresentationModel, CommandButtonPresentationModel
public abstract class BaseCommandButtonPresentationModel<MPM extends BaseCommandPopupMenuPresentationModel, PM extends BaseCommandButtonPresentationModel<MPM,PM>>
extends Object
implements ImmutablePresentationModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classBaseCommandButtonPresentationModel.BaseBuilder<MPM extends BaseCommandPopupMenuPresentationModel, PM extends BaseCommandButtonPresentationModel<MPM,PM>, B extends BaseCommandButtonPresentationModel.BaseBuilder<MPM, PM, B>> static classstatic interfacestatic enumstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected RichTooltipPresentationModelprotected RadianceThemingSlices.IconFilterStrategyprotected intprotected intstatic final Insetsprotected Insetsstatic final intstatic final intstatic final doublestatic final HorizontalAlignmentprotected RadianceThemingSlices.IconFilterStrategyprotected RadianceThemingSlices.IconFilterStrategyprotected Fontprotected booleanprotected booleanprotected HorizontalAlignmentprotected doubleprotected Dimensionprotected booleanprotected booleanprotected RadianceIconprotected Stringprotected MPMprotected RichTooltipPresentationModelprotected CommandButtonPresentationStateprotected booleanprotected RadianceThemingSlices.Sidesprotected booleanprotected doublestatic final Insets -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_HORIZONTAL_ALIGNMENT
-
DEFAULT_GAP_SCALE_FACTOR
public static final double DEFAULT_GAP_SCALE_FACTOR- See Also:
-
DEFAULT_AUTO_REPEAT_INITIAL_INTERVAL_MS
public static final int DEFAULT_AUTO_REPEAT_INITIAL_INTERVAL_MS- See Also:
-
DEFAULT_AUTO_REPEAT_SUBSEQUENT_INTERVAL_MS
public static final int DEFAULT_AUTO_REPEAT_SUBSEQUENT_INTERVAL_MS- See Also:
-
WIDE_BUTTON_CONTENT_PADDING
-
COMPACT_BUTTON_CONTENT_PADDING
-
presentationState
-
iconDimension
-
activeIconFilterStrategy
-
enabledIconFilterStrategy
-
disabledIconFilterStrategy
-
forceAllocateSpaceForIcon
protected boolean forceAllocateSpaceForIcon -
backgroundAppearanceStrategy
-
isFocusable
protected boolean isFocusable -
horizontalAlignment
-
contentPadding
-
horizontalGapScaleFactor
protected double horizontalGapScaleFactor -
verticalGapScaleFactor
protected double verticalGapScaleFactor -
selectedStateHighlight
-
font
-
popupPlacementStrategy
-
actionKeyTip
-
popupKeyTip
-
toDismissPopupsOnActivation
protected boolean toDismissPopupsOnActivation -
showPopupIcon
protected boolean showPopupIcon -
popupAnchorBoundsProvider
-
popupIcon
-
popupMenuPresentationModel
-
textClick
-
isAutoRepeatAction
protected boolean isAutoRepeatAction -
hasAutoRepeatIntervalsSet
protected boolean hasAutoRepeatIntervalsSet -
autoRepeatInitialInterval
protected int autoRepeatInitialInterval -
autoRepeatSubsequentInterval
protected int autoRepeatSubsequentInterval -
actionFireTrigger
-
popupFireTrigger
-
actionRichTooltipPresentationModel
-
popupRichTooltipPresentationModel
-
sides
-
-
Constructor Details
-
BaseCommandButtonPresentationModel
protected BaseCommandButtonPresentationModel()
-
-
Method Details
-
overlayWith
-
overlay
-
getPresentationState
-
getBackgroundAppearanceStrategy
-
isFocusable
public boolean isFocusable() -
getHorizontalAlignment
-
getContentPadding
-
getHorizontalGapScaleFactor
public double getHorizontalGapScaleFactor() -
getVerticalGapScaleFactor
public double getVerticalGapScaleFactor() -
getIconDimension
-
getActiveIconFilterStrategy
-
getEnabledIconFilterStrategy
-
getDisabledIconFilterStrategy
-
isForceAllocateSpaceForIcon
public boolean isForceAllocateSpaceForIcon() -
getFont
-
getPopupPlacementStrategy
-
isShowPopupIcon
public boolean isShowPopupIcon() -
getPopupIcon
-
getPopupAnchorBoundsProvider
-
getSelectedStateHighlight
-
isToDismissPopupsOnActivation
public boolean isToDismissPopupsOnActivation() -
getPopupMenuPresentationModel
-
getActionKeyTip
-
getPopupKeyTip
-
getTextClick
-
getActionFireTrigger
-
getPopupFireTrigger
-
isAutoRepeatAction
public boolean isAutoRepeatAction() -
hasAutoRepeatIntervalsSet
public boolean hasAutoRepeatIntervalsSet() -
getAutoRepeatInitialInterval
public int getAutoRepeatInitialInterval() -
getAutoRepeatSubsequentInterval
public int getAutoRepeatSubsequentInterval() -
getActionRichTooltipPresentationModel
-
getPopupRichTooltipPresentationModel
-
getSides
-