Class ChartsFullscreenAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.tagtraum.core.app.ApplicationAction
-
- com.tagtraum.beatunes.action.BaseAction
-
- com.tagtraum.beatunes.action.standard.ChartsFullscreenAction
-
- All Implemented Interfaces:
ApplicationComponent<BeaTunes>,ActionListener,ItemListener,Serializable,Cloneable,EventListener,Action
public class ChartsFullscreenAction extends BaseAction implements ItemListener
Enter full screen mode.- 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 ChartsFullscreenAction(BeaTunes beaTunes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)StringgetId()Returns a unique id for this action.ButtonModelgetModel()voidinit()Initializes this action.voiditemStateChanged(ItemEvent e)protected voidloadResources()Loads all resources that may change due to display resolution or theme change.voidregister(AbstractButton button)Registers this action with a button in order to set the correct icons and model.-
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, setButtonModel, setVisible
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ChartsFullscreenAction
public ChartsFullscreenAction(BeaTunes beaTunes)
-
-
Method Detail
-
init
public void init()
Description copied from class:BaseActionInitializes this action. This method is called byActionManager.init(), after all components are instantiated and set up. The default implementation is empty.- Specified by:
initin interfaceApplicationComponent<BeaTunes>- Overrides:
initin classBaseAction
-
loadResources
protected void loadResources()
Description copied from class:BaseActionLoads all resources that may change due to display resolution or theme change. The default implementation is empty.- Overrides:
loadResourcesin classBaseAction
-
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
-
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
-
getModel
public ButtonModel getModel()
-
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChangedin interfaceItemListener
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformedin interfaceActionListener
-
-