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 CommandActionprotected BaseCommand.CommandActionPreviewprotected RichTooltipprotected Stringprotected RadianceIcon.Factoryprotected booleanprotected booleanprotected booleanprotected booleanprotected MCMprotected BaseCommand.SecondaryLifecycleprotected RichTooltipprotected Objectprotected Stringprotected CommandToggleGroupModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tbuild()protected voidconfigureBaseCommand(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
-