Class RibbonApplicationMenuCommandButtonProjection
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection<C,P>
-
- org.pushingpixels.radiance.component.api.common.projection.BaseProjection<JCommandButton,M,P>
-
- 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 org.pushingpixels.radiance.component.api.common.projection.BaseCommandButtonProjection
BaseCommandButtonProjection.CommandButtonComponentSupplier<TC extends JCommandButton,M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
-
-
Field Summary
Fields Modifier and Type Field Description static CommandButtonPresentationState
RIBBON_APP_MENU_SECONDARY_LEVEL
private java.util.Map<Command,CommandButtonPresentationState>
secondaryLevelCommandPresentationState
-
Constructor Summary
Constructors Constructor Description RibbonApplicationMenuCommandButtonProjection(RibbonApplicationMenuCommand command, CommandButtonPresentationModel commandPresentation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel,RibbonApplicationMenu,CommandPopupMenuPresentationModel>
getPopupMenuPanelProjection()
java.util.Map<Command,CommandButtonPresentationState>
getSecondaryLevelCommandPresentationState()
RibbonApplicationMenuCommandButtonProjection
reproject(CommandButtonPresentationModel newCommandPresentation)
void
setSecondaryLevelCommandPresentationState(java.util.Map<Command,CommandButtonPresentationState> secondaryLevelCommandPresentationState)
-
Methods inherited from class org.pushingpixels.radiance.component.api.common.projection.BaseCommandButtonProjection
buildBaseComponent, getComponentSupplier, reprojectWithOverlay, setComponentSupplier
-
Methods inherited from class org.pushingpixels.radiance.component.api.common.projection.BaseProjection
buildComponent, configureComponent
-
Methods inherited from class org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection
getCommandOverlays, getContentModel, getPresentationModel, setCommandOverlays
-
-
-
-
Field Detail
-
RIBBON_APP_MENU_SECONDARY_LEVEL
public static final CommandButtonPresentationState RIBBON_APP_MENU_SECONDARY_LEVEL
-
secondaryLevelCommandPresentationState
private java.util.Map<Command,CommandButtonPresentationState> secondaryLevelCommandPresentationState
-
-
Constructor Detail
-
RibbonApplicationMenuCommandButtonProjection
public RibbonApplicationMenuCommandButtonProjection(RibbonApplicationMenuCommand command, CommandButtonPresentationModel commandPresentation)
-
-
Method Detail
-
setSecondaryLevelCommandPresentationState
public void setSecondaryLevelCommandPresentationState(java.util.Map<Command,CommandButtonPresentationState> secondaryLevelCommandPresentationState)
-
getSecondaryLevelCommandPresentationState
public java.util.Map<Command,CommandButtonPresentationState> getSecondaryLevelCommandPresentationState()
-
reproject
public RibbonApplicationMenuCommandButtonProjection reproject(CommandButtonPresentationModel newCommandPresentation)
-
getPopupMenuPanelProjection
public AbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel,RibbonApplicationMenu,CommandPopupMenuPresentationModel> getPopupMenuPanelProjection()
-
-