Uses of Class
org.pushingpixels.radiance.component.api.common.model.BaseCommand
-
-
Uses of BaseCommand in org.pushingpixels.radiance.component.api.common
Fields in org.pushingpixels.radiance.component.api.common declared as BaseCommand Modifier and Type Field Description private BaseCommand<?>
CommandActionEvent. command
private BaseCommand
JCommandButton. command
Fields in org.pushingpixels.radiance.component.api.common with type parameters of type BaseCommand Modifier and Type Field Description private BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel>
JCommandButton. projection
Methods in org.pushingpixels.radiance.component.api.common that return BaseCommand Modifier and Type Method Description BaseCommand<?>
CommandActionEvent. getCommand()
BaseCommand<? extends BaseCommandMenuContentModel>
JCommandButton. getContentModel()
Methods in org.pushingpixels.radiance.component.api.common that return types with arguments of type BaseCommand Modifier and Type Method Description BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel>
JCommandButton. getProjection()
Methods in org.pushingpixels.radiance.component.api.common with parameters of type BaseCommand Modifier and Type Method Description default CommandButtonLayoutManager.CommandButtonKind
CommandButtonLayoutManager. getCommandButtonKind(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManager. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Returns the preferred icon size of a button using this layout manager.java.awt.Dimension
CommandButtonLayoutManager. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Returns the preferred size of a button using this layout manager.Constructors in org.pushingpixels.radiance.component.api.common with parameters of type BaseCommand Constructor Description CommandActionEvent(java.lang.Object source, int id, BaseCommand<?> radianceCommand, java.lang.String command, long when, int modifiers)
Constructor parameters in org.pushingpixels.radiance.component.api.common with type arguments of type BaseCommand Constructor Description JCommandButton(BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel> projection)
-
Uses of BaseCommand in org.pushingpixels.radiance.component.api.common.model
Classes in org.pushingpixels.radiance.component.api.common.model with type parameters of type BaseCommand Modifier and Type Class Description static class
BaseCommand.BaseBuilder<T extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,B extends BaseCommand.BaseBuilder<T,MCM,B>>
Subclasses of BaseCommand in org.pushingpixels.radiance.component.api.common.model Modifier and Type Class Description class
ColorSelectorCommand
class
Command
Encapsulates metadata for a single command.Fields in org.pushingpixels.radiance.component.api.common.model declared as BaseCommand Modifier and Type Field Description private BaseCommand
CommandToggleGroupModel. selection
The currently selected command.Fields in org.pushingpixels.radiance.component.api.common.model with type parameters of type BaseCommand Modifier and Type Field Description private java.util.Vector<BaseCommand>
CommandToggleGroupModel. commands
Contains all group commands.private java.util.Map<BaseCommand,javax.swing.event.ChangeListener>
CommandToggleGroupModel. modelChangeListeners
Map of registered model change listeners.Methods in org.pushingpixels.radiance.component.api.common.model that return BaseCommand Modifier and Type Method Description BaseCommand
CommandToggleGroupModel. getSelected()
Returns the selected command of this group model.Methods in org.pushingpixels.radiance.component.api.common.model that return types with arguments of type BaseCommand Modifier and Type Method Description java.util.Collection<BaseCommand>
CommandToggleGroupModel. getCommands()
Returns an unmodifiable collection with all the commands tracked by this model.Methods in org.pushingpixels.radiance.component.api.common.model with parameters of type BaseCommand Modifier and Type Method Description void
CommandToggleGroupModel. add(BaseCommand command)
Adds the specified command to the group.protected void
BaseCommand.BaseBuilder. configureBaseCommand(BaseCommand<MCM> command)
void
BaseCommand.CommandActionPreview. onCommandPreviewActivated(BaseCommand command)
Invoked when a command preview has been activated.void
BaseCommand.CommandActionPreview. onCommandPreviewCanceled(BaseCommand command)
Invoked when a command preview has been canceled.void
CommandToggleGroupModel. remove(BaseCommand command)
Removes the specified command from the group.void
CommandToggleGroupModel. setSelected(BaseCommand command, boolean isSelected)
Changes the selected status of the specified command. -
Uses of BaseCommand in org.pushingpixels.radiance.component.api.common.projection
Classes in org.pushingpixels.radiance.component.api.common.projection with type parameters of type BaseCommand Modifier and Type Class Description class
BaseCommandButtonProjection<M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
static 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 ofBaseCommandButtonProjection.setComponentSupplier(CommandButtonComponentSupplier)
to return your own supplier ofBaseCommandButtonProjection.CommandButtonComponentSupplier
to be used before the#configureComponent(JCommandButton)
call. -
Uses of BaseCommand in org.pushingpixels.radiance.component.api.ribbon
Classes in org.pushingpixels.radiance.component.api.ribbon with type parameters of type BaseCommand Modifier and Type Class Description private class
JRibbon.TaskbarCommandHandler<M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
Methods in org.pushingpixels.radiance.component.api.ribbon with type parameters of type BaseCommand Modifier and Type Method Description <M extends BaseCommand<MCM>,MCM extends BaseCommandMenuContentModel,P extends BaseCommandButtonPresentationModel<MPM,P>,MPM extends BaseCommandPopupMenuPresentationModel>
voidJRibbon. addTaskbarCommand(BaseCommandButtonProjection<M,MCM,P,MPM> projection)
Methods in org.pushingpixels.radiance.component.api.ribbon with parameters of type BaseCommand Modifier and Type Method Description boolean
JRibbon. isShowingInTaskbar(BaseCommand<?> command)
void
JRibbon. removeTaskbarCommand(BaseCommand<?> command)
Method parameters in org.pushingpixels.radiance.component.api.ribbon with type arguments of type BaseCommand Modifier and Type Method Description void
JRibbonBand. addRibbonCommand(BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel> projection, JRibbonBand.PresentationPriority priority)
Adds the specified command projection tothis
band.CommandMenuContentModel
JRibbon.OnShowContextualMenuListener. getContextualMenuContentModel(JRibbon ribbon, BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel> commandProjection)
-
Uses of BaseCommand in org.pushingpixels.radiance.component.api.ribbon.model
Subclasses of BaseCommand in org.pushingpixels.radiance.component.api.ribbon.model Modifier and Type Class Description class
RibbonApplicationMenuCommand
Methods in org.pushingpixels.radiance.component.api.ribbon.model with parameters of type BaseCommand Modifier and Type Method Description void
RibbonGalleryContentModel. activatePreview(BaseCommand<?> command)
void
RibbonGalleryContentModel. cancelPreview(BaseCommand<?> command)
private void
RibbonGalleryContentModel. fireCommandPreviewActivated(BaseCommand<?> command)
private void
RibbonGalleryContentModel. fireCommandPreviewCanceled(BaseCommand<?> command)
private void
RibbonGalleryContentModel. fireCommandSelected(BaseCommand<?> command)
void
RibbonGalleryContentModel.GalleryCommandAction. onCommandActivated(BaseCommand command)
Invoked when a command in this gallery model is activated.void
RibbonGalleryContentModel.GalleryCommandActionPreview. onCommandPreviewActivated(BaseCommand command)
Invoked when the preview of a command in this gallery model is activated.void
RibbonGalleryContentModel.GalleryCommandActionPreview. onCommandPreviewCanceled(BaseCommand command)
Invoked when the command preview has been canceled. -
Uses of BaseCommand in org.pushingpixels.radiance.component.internal.ui.common
Methods in org.pushingpixels.radiance.component.internal.ui.common with parameters of type BaseCommand Modifier and Type Method Description private int
CommandButtonLayoutManagerBig. getCurrentIconHeight(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
private int
CommandButtonLayoutManagerBig. getCurrentIconWidth(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBig.FitToIcon. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBig. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMedium.FitToIcon. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMedium. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerSmall.FitToIcon. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerSmall. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerTile.FitToIcon. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerTile. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBig. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMedium. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerSmall. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerTile. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
private void
BasicCommandButtonUI. syncActionPreview(BaseCommand<?> command, BaseCommand.CommandActionPreview actionPreview)
private void
CommandButtonLayoutManagerBig. updateTitleStrings(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Updates the title strings forCommandButtonPresentationState.BIG
and other relevant states. -
Uses of BaseCommand in org.pushingpixels.radiance.component.internal.ui.ribbon
Subclasses of BaseCommand in org.pushingpixels.radiance.component.internal.ui.ribbon Modifier and Type Class Description private static class
BasicRibbonBandUI.BandCollapseCommand
Fields in org.pushingpixels.radiance.component.internal.ui.ribbon with type parameters of type BaseCommand Modifier and Type Field Description protected java.util.List<BaseCommand>
JRibbonGallery. commands
The commands ofthis
gallery.Methods in org.pushingpixels.radiance.component.internal.ui.ribbon with parameters of type BaseCommand Modifier and Type Method Description java.awt.Dimension
CommandButtonLayoutManagerBigFixed. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBigFixedLandscape. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBigFixed. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerBigFixedLandscape. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Method parameters in org.pushingpixels.radiance.component.internal.ui.ribbon with type arguments of type BaseCommand Modifier and Type Method Description void
JBandControlPanel. addCommandButton(BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel> projection, JRibbonBand.PresentationPriority priority)
Adds a new ribbon button tothis
control panel.Constructor parameters in org.pushingpixels.radiance.component.internal.ui.ribbon with type arguments of type BaseCommand Constructor Description JRibbonTaskToggleButton(BaseCommandButtonProjection<? extends BaseCommand<?>,? extends BaseCommandMenuContentModel,? extends BaseCommandButtonPresentationModel<?,?>,? extends BaseCommandPopupMenuPresentationModel> projection)
-
Uses of BaseCommand in org.pushingpixels.radiance.component.internal.ui.ribbon.appmenu
Methods in org.pushingpixels.radiance.component.internal.ui.ribbon.appmenu with parameters of type BaseCommand Modifier and Type Method Description java.awt.Dimension
CommandButtonLayoutManagerMenuTileLevel1. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMenuTileLevel2. getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMenuTileLevel1. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
java.awt.Dimension
CommandButtonLayoutManagerMenuTileLevel2. getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
-