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 interfaceBaseCommandButtonProjection.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 ofTCto be used before thecall.invalid 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> voidsetComponentSupplier(BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M, MCM, P, MPM> componentSupplier) Methods inherited from class BaseProjection
buildComponent, configureComponentMethods inherited from class BlackboxProjection
getCommandOverlays, getContentModel, getPresentationModel, setCommandOverlays
-
Field Details
-
componentSupplier
private BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M extends BaseCommand<MCM>, MCM extends BaseCommandMenuContentModel, P extends BaseCommandButtonPresentationModel<MPM,P>, MPM extends BaseCommandPopupMenuPresentationModel> componentSupplier
-
-
Constructor Details
-
BaseCommandButtonProjection
-
-
Method Details
-
setComponentSupplier
public void setComponentSupplier(BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M, MCM, P, MPM> componentSupplier) -
getComponentSupplier
public BaseCommandButtonProjection.CommandButtonComponentSupplier<JCommandButton, M, MCM, P, MPM> getComponentSupplier() -
getPopupMenuPanelProjection
public abstract AbstractPopupMenuPanelProjection<? extends AbstractPopupMenuPanel, MCM, MPM> getPopupMenuPanelProjection() -
reproject
-
reprojectWithOverlay
public BaseCommandButtonProjection<M,MCM, reprojectWithOverlayP, MPM> (BaseCommandButtonPresentationModel.Overlay overlay) -
buildBaseComponent
- Specified by:
buildBaseComponentin classBaseProjection<JCommandButton, M extends BaseCommand<MCM>, P extends BaseCommandButtonPresentationModel<MPM,P>>
-