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 enum
static class
BaseCommandButtonPresentationModel.BaseBuilder<MPM extends BaseCommandPopupMenuPresentationModel,
PM extends BaseCommandButtonPresentationModel<MPM, PM>, B extends BaseCommandButtonPresentationModel.BaseBuilder<MPM, PM, B>> static class
static interface
static enum
static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected RichTooltipPresentationModel
protected RadianceThemingSlices.IconFilterStrategy
protected int
protected int
static final Insets
protected Insets
static final int
static final int
static final double
static final HorizontalAlignment
protected RadianceThemingSlices.IconFilterStrategy
protected RadianceThemingSlices.IconFilterStrategy
protected Font
protected boolean
protected boolean
protected HorizontalAlignment
protected double
protected Dimension
protected boolean
protected boolean
protected RadianceIcon
protected String
protected MPM
protected RichTooltipPresentationModel
protected CommandButtonPresentationState
protected boolean
protected RadianceThemingSlices.Sides
protected boolean
protected double
static 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
-