Class BaseCommandButtonProjection<M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
java.lang.Object
org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection<M,P>
org.pushingpixels.radiance.component.api.common.projection.BaseProjection<JCommandButton,M,P>
org.pushingpixels.radiance.component.api.common.projection.BaseCommandButtonProjection<M,MCM,P,MPM>
- Direct Known Subclasses:
BasicRibbonBandUI.BandCollapseCommandButtonProjection
,ColorSelectorCommandButtonProjection
,CommandButtonProjection
,RibbonApplicationMenuCommandButtonProjection
public abstract class BaseCommandButtonProjection<M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
extends BaseProjection<JCommandButton,M,P>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
BaseCommandButtonProjection.CommandButtonComponentSupplier<TC extends JCommandButton,
M extends BaseCommand<MCM>, MCM extends BaseCommandMenuContentModel, P extends BaseCommandButtonPresentationModel<MPM, P>, MPM extends BaseCommandPopupMenuPresentationModel> This interface can be used as part ofsetComponentSupplier(CommandButtonComponentSupplier)
to return your own supplier ofBaseCommandButtonProjection.CommandButtonComponentSupplier
to be used before theinvalid reference
#configureComponent(JCommandButton)
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractPopupMenuPanelProjection
<? extends AbstractPopupMenuPanel, MCM, MPM> abstract BaseCommandButtonProjection
<M, MCM, P, MPM> void
setComponentSupplier
(BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M, MCM, P, MPM> componentSupplier) 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 Details
-
componentSupplier
private BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton,M extends BaseCommand<MCM>, componentSupplierMCM extends BaseCommandMenuContentModel, P extends BaseCommandButtonPresentationModel<MPM, P>, MPM extends BaseCommandPopupMenuPresentationModel>
-
-
Constructor Details
-
BaseCommandButtonProjection
-
-
Method Details
-
setComponentSupplier
public void setComponentSupplier(BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M, MCM, P, MPM> componentSupplier) -
getComponentSupplier
public BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton,M, getComponentSupplier()MCM, P, MPM> -
getPopupMenuPanelProjection
public abstract AbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel,MCM, getPopupMenuPanelProjection()MPM> -
reproject
-
reprojectWithOverlay
public BaseCommandButtonProjection<M,MCM, reprojectWithOverlayP, MPM> (BaseCommandButtonPresentationModel.Overlay overlay) -
buildBaseComponent
- Specified by:
buildBaseComponent
in classBaseProjection<JCommandButton,
M extends BaseCommand<MCM>, P extends BaseCommandButtonPresentationModel<MPM, P>>
-