Class ShowQueueMessagePanelAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.tagtraum.core.app.ApplicationAction
-
- com.tagtraum.beatunes.action.BaseAction
-
- com.tagtraum.beatunes.action.standard.ShowQueueMessagePanelAction
-
- All Implemented Interfaces:
ApplicationComponent<BeaTunes>,ActionListener,Serializable,Cloneable,EventListener,Action
public class ShowQueueMessagePanelAction extends BaseAction
ShowQueueMessagePanelAction.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.tagtraum.beatunes.action.BaseAction
BaseAction.EnabledView, BaseAction.Location, BaseAction.SelectionCount
-
Nested classes/interfaces inherited from class com.tagtraum.core.app.ApplicationAction
ApplicationAction.ApplicationActionFacade
-
-
Field Summary
-
Fields inherited from class com.tagtraum.beatunes.action.BaseAction
ITEMS_EDITABLE
-
Fields inherited from class com.tagtraum.core.app.ApplicationAction
BUTTON_MODEL, DISABLED_ICON, DISABLED_SELECTED_ICON, PRESSED_ICON, ROLLOVER_ICON, SELECTED_ICON, SHORT_NAME
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description ShowQueueMessagePanelAction(BeaTunes application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)ActionLocation[]getActionLocations()Specifies where in the UI this action should be installed.StringgetId()Returns a unique id for this action.protected StringgetName()voidregister(AbstractButton button)Registers this action with a button in order to set the correct icons and model.voidsetBadge(String badge)-
Methods inherited from class com.tagtraum.beatunes.action.BaseAction
bindListeners, bindListeners, getApplication, getFocusedPlayList, getFocusOwner, getMostRecentlyFocused, getPlayListTreeNode, getSelectedPlayList, getSelectedPlayListTreeNode, getSelectedSong, getSelectedSongCount, getSelectedSongIds, getSelectedSongs, getSelectedSongs, init, isAnalysisQueueFocused, isMatchTableFocused, isPlayListTreeFocused, isSimpleSongTableFocused, isSongTableFocused, loadResources, numberOfSelectedSongs, numberOfSelectedSongs, setApplication, shutdown
-
Methods inherited from class com.tagtraum.core.app.ApplicationAction
getButtonModel, getIconButtonFacade, getMenuFacade, getToolbarButtonFacade, isVisible, setButtonModel, setVisible
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ShowQueueMessagePanelAction
public ShowQueueMessagePanelAction(BeaTunes application)
-
-
Method Detail
-
getActionLocations
public ActionLocation[] getActionLocations()
Description copied from class:ApplicationActionSpecifies where in the UI this action should be installed.- Overrides:
getActionLocationsin classApplicationAction- Returns:
- installation locations for this action - the default is an empty array
-
getName
protected String getName()
-
register
public void register(AbstractButton button)
Description copied from class:ApplicationActionRegisters this action with a button in order to set the correct icons and model.- Overrides:
registerin classApplicationAction- Parameters:
button- button- See Also:
ApplicationAction.ROLLOVER_ICON,ApplicationAction.PRESSED_ICON,ApplicationAction.SELECTED_ICON,ApplicationAction.DISABLED_ICON,ApplicationAction.DISABLED_SELECTED_ICON
-
setBadge
public void setBadge(String badge)
-
getId
public String getId()
Description copied from class:ApplicationActionReturns a unique id for this action. Typically follows thex.y.znotation from general to specific.- Specified by:
getIdin interfaceApplicationComponent<BeaTunes>- Specified by:
getIdin classApplicationAction- Returns:
- unique id for this action
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
-