Class LovedAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.tagtraum.core.app.ApplicationAction
-
- com.tagtraum.beatunes.action.BaseAction
-
- com.tagtraum.beatunes.action.standard.LikingAction
-
- com.tagtraum.beatunes.action.standard.LovedAction
-
- All Implemented Interfaces:
ApplicationComponent<BeaTunes>
,ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class LovedAction extends LikingAction
LovedAction.- 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 LovedAction(BeaTunes application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getId()
Returns a unique id for this action.protected AudioSong.Liking
getLiking()
protected @NotNull String
getOtherId()
protected void
loadResources()
Loads all resources that may change due to display resolution or theme change.-
Methods inherited from class com.tagtraum.beatunes.action.standard.LikingAction
actionPerformed, init, isSupported
-
Methods inherited from class com.tagtraum.beatunes.action.BaseAction
bindListeners, bindListeners, getApplication, getFocusedPlayList, getFocusOwner, getMostRecentlyFocused, getPlayListTreeNode, getSelectedPlayList, getSelectedPlayListTreeNode, getSelectedSong, getSelectedSongCount, getSelectedSongIds, getSelectedSongs, getSelectedSongs, isAnalysisQueueFocused, isMatchTableFocused, isPlayListTreeFocused, isSimpleSongTableFocused, isSongTableFocused, numberOfSelectedSongs, numberOfSelectedSongs, setApplication, shutdown
-
Methods inherited from class com.tagtraum.core.app.ApplicationAction
getActionLocations, getButtonModel, getIconButtonFacade, getMenuFacade, getToolbarButtonFacade, isVisible, register, setButtonModel, setVisible
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
LovedAction
public LovedAction(BeaTunes application)
-
-
Method Detail
-
getId
@NotNull public @NotNull String getId()
Description copied from class:ApplicationAction
Returns a unique id for this action. Typically follows thex.y.z
notation from general to specific.- Specified by:
getId
in interfaceApplicationComponent<BeaTunes>
- Specified by:
getId
in classApplicationAction
- Returns:
- unique id for this action
-
getOtherId
@NotNull protected @NotNull String getOtherId()
- Specified by:
getOtherId
in classLikingAction
-
getLiking
@NotNull protected AudioSong.Liking getLiking()
- Specified by:
getLiking
in classLikingAction
-
loadResources
protected void loadResources()
Description copied from class:BaseAction
Loads all resources that may change due to display resolution or theme change. The default implementation is empty.- Overrides:
loadResources
in classBaseAction
-
-