ImmutablePresentationModel, PresentationModelpublic class CommandButtonPresentationModel extends java.lang.Object implements ImmutablePresentationModel
CommandButtonPresentationModel.Builder to configure a new presentation, and CommandButtonPresentationModel.Builder.build() to build a
presentation.
Note that you can use the same CommandButtonPresentationModel instance on multiple
calls to Command.project(CommandButtonPresentationModel). Use
overlayWith(Overlay) to create a new presentation instance that overlays the
presentation configuration with values set on the passed CommandButtonPresentationModel.Overlay object.
Command,
CommandButtonProjection| Modifier and Type | Class | Description |
|---|---|---|
static class |
CommandButtonPresentationModel.Builder |
|
static class |
CommandButtonPresentationModel.Overlay |
|
static class |
CommandButtonPresentationModel.PopupOrientationKind |
Orientation kind for the popup.
|
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_AUTO_REPEAT_INITIAL_INTERVAL_MS |
|
static int |
DEFAULT_AUTO_REPEAT_SUBSEQUENT_INTERVAL_MS |
public static final int DEFAULT_AUTO_REPEAT_INITIAL_INTERVAL_MS
public static final int DEFAULT_AUTO_REPEAT_SUBSEQUENT_INTERVAL_MS
public CommandButtonPresentationModel overlayWith(CommandButtonPresentationModel.Overlay overlay)
public static CommandButtonPresentationModel withDefaults()
public static CommandButtonPresentationModel.Builder builder()
public static CommandButtonPresentationModel.Overlay overlay()
public CommandButtonPresentationState getPresentationState()
public boolean isFlat()
public boolean isFocusable()
public int getHorizontalAlignment()
public double getHorizontalGapScaleFactor()
public double getVerticalGapScaleFactor()
public java.lang.Integer getIconDimension()
public CommandButtonPresentationModel.PopupOrientationKind getPopupOrientationKind()
public boolean isMenu()
public boolean isToDismissPopupsOnActivation()
public AbstractPopupMenuPresentationModel getPopupMenuPresentationModel()
public java.lang.String getActionKeyTip()
public java.lang.String getPopupKeyTip()
public boolean isTextClickAction()
public boolean isTextClickPopup()
public boolean isFireActionOnRollover()
public boolean isFireActionOnPress()
public boolean isAutoRepeatAction()
public boolean hasAutoRepeatIntervalsSet()
public int getAutoRepeatInitialInterval()
public int getAutoRepeatSubsequentInterval()