Class CommandPopupMenuPresentationModel
java.lang.Object
org.pushingpixels.radiance.component.api.common.popup.model.BaseCommandPopupMenuPresentationModel
org.pushingpixels.radiance.component.api.common.popup.model.CommandPopupMenuPresentationModel
- All Implemented Interfaces:
ImmutablePresentationModel
,PresentationModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CommandButtonPresentationState
private Insets
private HorizontalAlignment
private CommandButtonPresentationState
private RadianceThemingSlices.Sides
private int
Maximum number of menu items visible in this model.private boolean
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_POPUP_MENU_PRESENTATION_STATE
-
panelPresentationModel
-
itemPresentationState
-
itemActiveIconFilterStrategy
-
itemEnabledIconFilterStrategy
-
itemDisabledIconFilterStrategy
-
itemContentPadding
-
itemSides
-
itemHorizontalAlignment
-
itemPopupFireTrigger
-
itemSelectedStateHighlight
-
maxVisibleMenuCommands
private int maxVisibleMenuCommandsMaximum number of menu items visible in this model. If more commands are added with theCommandGroup.addCommand(Command)
on one or more of the command groups inCommandMenuContentModel
, the menu part will show scroller buttons above the first and below the last menu command. If the value is negative, there is no limitation on how many menu commands are shown, and the entireJCommandPopupMenuPanel
can overflow the monitor edges. -
toDismissOnCommandActivation
private boolean toDismissOnCommandActivation -
popupPlacementStrategy
-
-
Constructor Details
-
CommandPopupMenuPresentationModel
private CommandPopupMenuPresentationModel()
-
-
Method Details
-
builder
-
getPanelPresentationModel
-
getItemPresentationState
-
getItemActiveIconFilterStrategy
-
getItemEnabledIconFilterStrategy
-
getItemDisabledIconFilterStrategy
-
getItemContentPadding
-
getItemSides
-
getItemHorizontalAlignment
-
getItemPopupFireTrigger
-
getItemSelectedStateHighlight
-
getMaxVisibleMenuCommands
public int getMaxVisibleMenuCommands() -
isToDismissOnCommandActivation
public boolean isToDismissOnCommandActivation() -
getPopupPlacementStrategy
-