Class BaseCommand.BaseBuilder<T extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,B extends BaseCommand.BaseBuilder<T,MCM,B>>
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.BaseCommand.BaseBuilder<T,MCM,B>
- Direct Known Subclasses:
BasicRibbonBandUI.BandCollapseCommand.Builder
,ColorSelectorCommand.Builder
,Command.Builder
,RibbonApplicationMenuCommand.Builder
- Enclosing class:
BaseCommand<MCM extends BaseCommandMenuContentModel>
public abstract static class BaseCommand.BaseBuilder<T extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,B extends BaseCommand.BaseBuilder<T,MCM,B>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandAction
protected BaseCommand.CommandActionPreview
protected RichTooltip
protected String
protected RadianceIcon.Factory
protected boolean
protected boolean
protected boolean
protected boolean
protected MCM
protected BaseCommand.SecondaryLifecycle
protected RichTooltip
protected Object
protected String
protected CommandToggleGroupModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract T
build()
protected void
configureBaseCommand
(BaseCommand<MCM> command) inToggleGroup
(CommandToggleGroupModel toggleGroup) inToggleGroupAsSelected
(CommandToggleGroupModel toggleGroup) setAction
(CommandAction action) setActionEnabled
(boolean isActionEnabled) setActionPreview
(BaseCommand.CommandActionPreview actionPreview) setActionRichTooltip
(RichTooltip actionRichTooltip) setExtraText
(String extraText) setIconFactory
(RadianceIcon.Factory iconFactory) setSecondaryContentModel
(MCM secondaryContentModel) setSecondaryEnabled
(boolean isSecondaryEnabled) setSecondaryLifecycle
(BaseCommand.SecondaryLifecycle secondaryLifecycle) setSecondaryRichTooltip
(RichTooltip secondaryRichTooltip) setToggleSelected
(boolean toggleSelected)
-
Field Details
-
text
-
extraText
-
iconFactory
-
action
-
actionPreview
-
actionRichTooltip
-
secondaryContentModel
-
secondaryLifecycle
-
secondaryRichTooltip
-
isActionEnabled
protected boolean isActionEnabled -
isSecondaryEnabled
protected boolean isSecondaryEnabled -
isToggle
protected boolean isToggle -
isToggleSelected
protected boolean isToggleSelected -
toggleGroupModel
-
tag
-
-
Constructor Details
-
BaseBuilder
public BaseBuilder()
-
-
Method Details
-
configureBaseCommand
-
build
-
setText
-
setIconFactory
-
setExtraText
-
setAction
-
setActionRichTooltip
-
setSecondaryContentModel
-
setSecondaryLifecycle
-
setSecondaryRichTooltip
-
setActionEnabled
-
setSecondaryEnabled
-
setToggle
-
setToggleSelected
-
inToggleGroup
-
inToggleGroupAsSelected
-
setActionPreview
-
setTag
-