|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ActionsEnum> sk.baka.ambient.ActionsEnum
public enum ActionsEnum
Enumerates all actions that can be taken.
Enum Constant Summary | |
---|---|
About
Shows the About dialog. |
|
AmpacheConfigureClient
Configure the Ampache connection. |
|
AmpacheStartServer
Starts the embedded Ampache server. |
|
AmpacheStopServer
Stops the embedded Ampache server. |
|
AmpacheSynchronize
Synchronize tracks with the Ampache server. |
|
Back
Navigates back. |
|
BuyAlbum
Opens the "buy" link. |
|
CollectionYear
Flips the visibility of "filtering by a year" in the collection. |
|
Configure
Shows configuration window that configures Ambient. |
|
DeleteSelected
Deletes selected files. |
|
GoOffline
Goes offline. |
|
GoOnline
Goes online. |
|
GoToRoot
Positions the file browser back to the root directory. |
|
MagnatuneRescan
Rescans the magnatune collection. |
|
Minimize
Hides Ambient and minimizes it. |
|
PlaybackNext
Moves to the next song in the playlist. |
|
PlaybackPause
Pauses the playback. |
|
PlaybackPlay
Starts the playback. |
|
PlaybackPrevious
Moves to the previous song in the playlist. |
|
PlaybackStop
Stops the playback. |
|
PlaylistClear
Clears the playlist. |
|
PlaylistDynamic
Activates dynamic playlist. |
|
PlaylistManagement
Opens the playlist management menu - you can sort or shuffle the playlist, add or remove tracks, save and open playlists. |
|
PlaylistSave
Saves current playlist. |
|
PlaylistShuffle
Shuffles the playlist. |
|
PlaylistSortByAlbums
Sorts the playlist by album ordering, see CollectionUtils.ALBUM_ORDER_COMPARATOR for details. |
|
PlaylistStatic
Activates static playlist. |
|
QueueClear
Clears the track queue. |
|
QueueTracks
Queues selected tracks. |
|
Quit
Quits (closes) the application. |
|
RandomAlbums
Play random albums. |
|
RandomAlbumsPlaylist
Play random albums and tracks in the albums. |
|
RandomAlbumsTracks
Play random albums and tracks in the albums. |
|
RandomNo
Sets normal play order. |
|
RandomTracks
Play random tracks. |
|
RefreshKaraoke
Deletes karaoke for current track. |
|
RepeatAlbum
Repeats an album. |
|
RepeatNothing
Does not repeat anything. |
|
RepeatPlaylist
Repeats playlist. |
|
RepeatTrack
Repeat single track over and over. |
|
ShoutcastNameTrackSwitch
Switch between the radio name/current track display. |
|
ShowAmpache
Shows the Ampache browser. |
|
ShowArtistPage
Shows the artist page. |
|
ShowCollection
Opens or hides the collection browser. |
|
ShowContext
Opens or hides the context view. |
|
ShowFileBrowser
Opens or hides the file browser. |
|
ShowKaraoke
Shows or hides karaoke for current track. |
|
ShowLicense
Shows the track's license. |
|
ShowLyrics
Shows the track lyrics. |
|
ShowMagnatune
Opens or hides the Magnatune view. |
|
ShowPlayer
Opens or hides the player. |
|
ShowShoutcast
Shows the shoutcast view. |
|
ShowStatistics
Shows the statistics. |
|
ShowWiki
Shows a wiki page about selected artist. |
Field Summary | |
---|---|
int |
caption
The caption resource. |
int |
icon
The icon resource of the action. |
Method Summary | |
---|---|
static ActionsEnum |
getAction(Random random)
Returns action for given random constant. |
static ActionsEnum |
getAction(Repeat repeat)
Returns action for given random constant. |
static ActionsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ActionsEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ActionsEnum PlaylistManagement
public static final ActionsEnum ShowCollection
public static final ActionsEnum ShowFileBrowser
public static final ActionsEnum ShowPlayer
public static final ActionsEnum ShowContext
public static final ActionsEnum ShowKaraoke
public static final ActionsEnum RefreshKaraoke
public static final ActionsEnum ShowMagnatune
public static final ActionsEnum Back
public static final ActionsEnum GoOffline
public static final ActionsEnum GoOnline
public static final ActionsEnum Configure
public static final ActionsEnum PlaylistClear
public static final ActionsEnum PlaylistShuffle
public static final ActionsEnum PlaylistSortByAlbums
CollectionUtils.ALBUM_ORDER_COMPARATOR
for details.
public static final ActionsEnum PlaylistSave
public static final ActionsEnum RandomNo
public static final ActionsEnum RandomTracks
public static final ActionsEnum RandomAlbums
public static final ActionsEnum RandomAlbumsTracks
public static final ActionsEnum RandomAlbumsPlaylist
public static final ActionsEnum RepeatNothing
public static final ActionsEnum RepeatTrack
public static final ActionsEnum RepeatAlbum
public static final ActionsEnum RepeatPlaylist
public static final ActionsEnum QueueTracks
public static final ActionsEnum QueueClear
public static final ActionsEnum PlaybackNext
public static final ActionsEnum PlaybackPrevious
public static final ActionsEnum PlaybackStop
public static final ActionsEnum PlaybackPlay
public static final ActionsEnum PlaybackPause
public static final ActionsEnum ShowStatistics
public static final ActionsEnum Minimize
public static final ActionsEnum PlaylistStatic
public static final ActionsEnum PlaylistDynamic
public static final ActionsEnum Quit
public static final ActionsEnum MagnatuneRescan
public static final ActionsEnum ShowLicense
public static final ActionsEnum BuyAlbum
public static final ActionsEnum ShowArtistPage
public static final ActionsEnum CollectionYear
public static final ActionsEnum ShowLyrics
public static final ActionsEnum ShowShoutcast
public static final ActionsEnum ShowAmpache
public static final ActionsEnum AmpacheConfigureClient
public static final ActionsEnum AmpacheSynchronize
public static final ActionsEnum ShoutcastNameTrackSwitch
public static final ActionsEnum About
public static final ActionsEnum ShowWiki
public static final ActionsEnum AmpacheStartServer
public static final ActionsEnum AmpacheStopServer
public static final ActionsEnum GoToRoot
public static final ActionsEnum DeleteSelected
Field Detail |
---|
public final int icon
public final int caption
Method Detail |
---|
public static ActionsEnum[] values()
for (ActionsEnum c : ActionsEnum.values()) System.out.println(c);
public static ActionsEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ActionsEnum getAction(Random random)
random
- the random constant, must not be null
.
public static ActionsEnum getAction(Repeat repeat)
repeat
- the random constant, must not be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |