Class RibbonApplicationMenuCommandButtonProjection
java.lang.Object
org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection<RibbonApplicationMenuCommand, CommandButtonPresentationModel>
org.pushingpixels.radiance.component.api.common.projection.BaseProjection<JCommandButton, RibbonApplicationMenuCommand, CommandButtonPresentationModel>
org.pushingpixels.radiance.component.api.common.projection.BaseCommandButtonProjection<RibbonApplicationMenuCommand, RibbonApplicationMenu, CommandButtonPresentationModel, CommandPopupMenuPresentationModel>
org.pushingpixels.radiance.component.api.ribbon.projection.RibbonApplicationMenuCommandButtonProjection
public class RibbonApplicationMenuCommandButtonProjection
extends BaseCommandButtonProjection<RibbonApplicationMenuCommand, RibbonApplicationMenu, CommandButtonPresentationModel, CommandPopupMenuPresentationModel>
-
Nested Class Summary
Nested classes/interfaces inherited from class BaseCommandButtonProjection
BaseCommandButtonProjection.CommandButtonComponentSupplier<TC,M, MCM, P, MPM> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CommandButtonPresentationStateprivate Map<Command, CommandButtonPresentationState> -
Constructor Summary
ConstructorsConstructorDescriptionRibbonApplicationMenuCommandButtonProjection(RibbonApplicationMenuCommand command, CommandButtonPresentationModel commandPresentation) -
Method Summary
Modifier and TypeMethodDescriptionAbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel, RibbonApplicationMenu, CommandPopupMenuPresentationModel> reproject(CommandButtonPresentationModel newCommandPresentation) voidsetSecondaryLevelCommandPresentationState(Map<Command, CommandButtonPresentationState> secondaryLevelCommandPresentationState) Methods inherited from class BaseCommandButtonProjection
buildBaseComponent, getComponentSupplier, reprojectWithOverlay, setComponentSupplierMethods inherited from class BaseProjection
buildComponent, configureComponentMethods inherited from class BlackboxProjection
getCommandOverlays, getContentModel, getPresentationModel, setCommandOverlays
-
Field Details
-
RIBBON_APP_MENU_SECONDARY_LEVEL
-
secondaryLevelCommandPresentationState
-
-
Constructor Details
-
RibbonApplicationMenuCommandButtonProjection
public RibbonApplicationMenuCommandButtonProjection(RibbonApplicationMenuCommand command, CommandButtonPresentationModel commandPresentation)
-
-
Method Details
-
setSecondaryLevelCommandPresentationState
public void setSecondaryLevelCommandPresentationState(Map<Command, CommandButtonPresentationState> secondaryLevelCommandPresentationState) -
getSecondaryLevelCommandPresentationState
-
reproject
public RibbonApplicationMenuCommandButtonProjection reproject(CommandButtonPresentationModel newCommandPresentation) -
getPopupMenuPanelProjection
public AbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel, RibbonApplicationMenu, CommandPopupMenuPresentationModel> getPopupMenuPanelProjection()
-