net.sourceforge.atunes.kernel.modules.state
Class ApplicationState

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.state.ApplicationState

public class ApplicationState
extends java.lang.Object

This class represents the application settings that are stored at application shutdown and loaded at application startup.

NOTE: All classes that are used as properties must be Java Beans!


Constructor Summary
ApplicationState()
          Instantiates a new application state.
 
Method Summary
 int getAlbumTooltipDelay()
          Gets the album tooltip delay.
 int getAutoRepositoryRefreshTime()
          Gets the auto repository refresh time.
 java.util.Map<java.lang.String,ColumnBean> getColumns()
          Gets the columns.
 java.lang.String getDefaultDeviceLocation()
          Gets the default device location.
 java.lang.String getDefaultSearch()
          Gets the default search.
 Search getDefaultSearchObject()
          Gets the default search object.
 java.lang.String getEncoder()
          Gets the encoder.
 java.lang.String getEncoderQuality()
          Last used setting of the ogg encoder.
 byte[] getEncryptedLastFmPassword()
          Gets the encrypted last fm password.
 float[] getEqualizerSettings()
          Gets the equalizer settings.
 java.lang.String getFileNamePattern()
          Last used filename pattern.
 java.lang.String getFlacEncoderQuality()
          Last used setting of the flac encoder.
 java.lang.String getFullScreenBackground()
          Gets the full screen background.
 java.util.List<TagAttribute> getHighlightIncompleteTagFoldersAttributes()
           
 java.lang.String getLastFmPassword()
          Gets the last fm password.
 java.lang.String getLastFmUser()
          Gets the last fm user.
 int getLeftHorizontalSplitPaneDividerLocation()
          Gets the left horizontal split pane divider location.
 int getLeftVerticalSplitPaneDividerLocation()
          Gets the left vertical split pane divider location.
 LocaleBean getLocale()
          Gets the locale.
 java.lang.String getMp3EncoderQuality()
          Last used setting of the mp3 encoder.
 int getMultipleViewHeight()
          Gets the multiple view height.
 int getMultipleViewWidth()
          Gets the multiple view width.
 int getMultipleViewXPosition()
          Gets the multiple view x position.
 int getMultipleViewYPosition()
          Gets the multiple view y position.
 int getNagDialogCounter()
          Gets the nag dialog counter.
 int getNavigationView()
          Gets the navigation view.
 int getOsdDuration()
          Gets the osd duration.
 java.lang.String getPlayerEngine()
           
 long getPodcastFeedEntriesRetrievalInterval()
          Gets the podcast feed entries retrieval interval.
 java.lang.String getPodcastFeedEntryDownloadPath()
          Gets the podcast feed entry download path.
 ProxyBean getProxy()
          Gets the proxy.
 NavigationControllerState.ViewMode getRepositoryView()
           
 int getRightVerticalSplitPaneDividerLocation()
          Gets the right vertical split pane divider location.
 int getSelectedContextInformationTab()
          Gets the selected audio scrobbler tab.
 java.lang.String getSkin()
          Gets the skin.
 int getVolume()
          Gets the volume.
 int getWindowHeight()
          Gets the window height.
 int getWindowWidth()
          Gets the window width.
 int getWindowXPosition()
          Gets the window x position.
 int getWindowYPosition()
          Gets the window y position.
 boolean isAnimateOSD()
          Checks if is animate osd.
 boolean isArtistStructure()
          Artist folder structure (can be any of flat, artist or full).
 boolean isCacheFilesBeforePlaying()
          Checks if is cache files before playing.
 boolean isEnableAdvancedSearch()
          Checks if is enable advanced search.
 boolean isEnableHotkeys()
          Checks if is enable hotkeys.
 boolean isFlatStructure()
          Flat folder structure (can be any of flat, artist or full).
 boolean isFullStructure()
          Full folder structure (can be any of flat, artist or full).
 boolean isHighlightIncompleteTagFolders()
           
 boolean isKaraoke()
          Checks if is karaoke.
 boolean isLastFmEnabled()
          Checks if is last fm enabled.
 boolean isMaximized()
          Checks if is maximized.
 boolean isMultipleWindow()
          Checks if is multiple window.
 boolean isMuteEnabled()
           
 int isNavigationView()
          Checks if is navigation view.
 boolean isPlayAtStartup()
          Checks if is play at startup.
 boolean isReadInfoFromRadioStream()
          Checks if is read info from radio stream.
 boolean isRemovePodcastFeedEntriesRemovedFromPodcastFeed()
          Checks if is removes the podcast feed entries removed from podcast feed.
 boolean isRepeat()
          Checks if is repeat.
 boolean isSaveContextInformationPicture()
          Checks if is save picture from audio scrobbler.
 boolean isSaveRepositoryAsXml()
          Checks if is save repository as xml.
 boolean isShowAlbumTooltip()
          Checks if is show album tooltip.
 boolean isShowAllRadioStations()
          Checks if is show all radio stations.
 boolean isShowContextTabsText()
           
 boolean isShowFavoritesInNavigator()
          Checks if is show favorites in navigator.
 boolean isShowNavigationPanel()
          Checks if is show navigation panel.
 boolean isShowNavigationTable()
          Checks if is show navigation table.
 boolean isShowNavigatorTabsAtLeft()
           
 boolean isShowNavigatorTabsText()
           
 boolean isShowOSD()
          Checks if is show osd.
 boolean isShowPlaylistControls()
          Checks if is show playlist controls.
 boolean isShowSongProperties()
          Checks if is show song properties.
 boolean isShowStatusBar()
          Checks if is show status bar.
 boolean isShowSystemTray()
          Checks if is show system tray.
 boolean isShowTitle()
          Checks if is show title.
 boolean isShowToolBar()
           
 boolean isShowTrayPlayer()
          Checks if is show tray player.
 boolean isShuffle()
          Checks if is shuffle.
 boolean isUseContextInformation()
          Checks if is use audio scrobbler.
 boolean isUseDefaultFont()
          Checks if is use default font.
 boolean isUseDownloadedPodcastFeedEntries()
          Checks if is use downloaded podcast feed entries.
 boolean isUseFadeAway()
          Checks if is use fade away.
 boolean isUseFontSmoothing()
           
 boolean isUseNormalisation()
          Checks if is use normalisation.
 boolean isUseOSSettingsForFontSmoothing()
           
 boolean isUseShortPathNames()
          Checks if is use short path names.
 boolean isUseSmartTagViewSorting()
          Checks if is use smart tag view sorting.
 void setAlbumTooltipDelay(int albumTooltipDelay)
          Sets the album tooltip delay.
 void setAnimateOSD(boolean animateOSD)
          Sets the animate osd.
 void setArtistStructure(boolean artistStructure)
          Sets the artist structure.
 void setAutoRepositoryRefreshTime(int autoRepositoryRefreshTime)
          Sets the auto repository refresh time.
 void setCacheFilesBeforePlaying(boolean cacheFilesBeforePlaying)
          Sets the cache files before playing.
 void setColumns(java.util.Map<java.lang.String,ColumnBean> columns)
          Sets the columns.
 void setDefaultDeviceLocation(java.lang.String defaultDeviceLocation)
          Sets the default device location.
 void setDefaultSearch(java.lang.String defaultSearch)
          Sets the default search.
 void setDefaultSearchObject(Search defaultSearch)
          Sets the default search object.
 void setEnableAdvancedSearch(boolean enableAdvancedSearch)
          Sets the enable advanced search.
 void setEnableHotkeys(boolean enableHotkeys)
          Sets the enable hotkeys.
 void setEncoder(java.lang.String encoder)
          Sets the encoder to use for CD ripping.
 void setEncoderQuality(java.lang.String encoderQuality)
          Sets the ogg encoder quality to use for CD ripping.
 void setEncryptedLastFmPassword(byte[] encryptedLastFmPassword)
          Sets the encrypted last fm password.
 void setEqualizerSettings(float[] equalizerSettings)
          Sets the equalizer settings.
 void setFileNamePattern(java.lang.String fileNamePattern)
          Sets the filename pattern.
 void setFlacEncoderQuality(java.lang.String flacEncoderQuality)
          Sets the flac encoder quality to use for CD ripping.
 void setFlatStructure(boolean flatStructure)
          Sets the flat structure.
 void setFullScreenBackground(java.lang.String fullScreenBackground)
          Sets the full screen background.
 void setFullStructure(boolean fullStructure)
          Sets the full structure.
 void setHighlightIncompleteTagFolders(boolean highlightIncompleteTagFolders)
           
 void setHighlightIncompleteTagFoldersAttributes(java.util.List<TagAttribute> highlightIncompleteTagFoldersAttributes)
           
 void setKaraoke(boolean karaoke)
          Sets the karaoke.
 void setLastFmEnabled(boolean lastFmEnabled)
          Sets the last fm enabled.
 void setLastFmPassword(java.lang.String lastFmPassword)
          Sets the last fm password.
 void setLastFmUser(java.lang.String lastFmUser)
          Sets the last fm user.
 void setLeftHorizontalSplitPaneDividerLocation(int leftHorizontalSplitPaneDividerLocation)
          Sets the left horizontal split pane divider location.
 void setLeftVerticalSplitPaneDividerLocation(int leftVerticalSplitPaneDividerLocation)
          Sets the left vertical split pane divider location.
 void setLocale(LocaleBean locale)
          Sets the locale.
 void setMaximized(boolean maximized)
          Sets the maximized.
 void setMp3EncoderQuality(java.lang.String mp3EncoderQuality)
          Sets the mp3 encoder quality to use for CD ripping.
 void setMultipleViewHeight(int multipleViewHeight)
          Sets the multiple view height.
 void setMultipleViewWidth(int multipleViewWidth)
          Sets the multiple view width.
 void setMultipleViewXPosition(int multipleViewXPosition)
          Sets the multiple view x position.
 void setMultipleViewYPosition(int multipleViewYPosition)
          Sets the multiple view y position.
 void setMultipleWindow(boolean multipleWindow)
          Sets the multiple window.
 void setMuteEnabled(boolean muteEnabled)
           
 void setNagDialogCounter(int nagDialogCounter)
          Sets the nag dialog counter.
 void setNavigationView(int navigationView)
          Sets the navigation view.
 void setOsdDuration(int osdDuration)
          Sets the osd duration.
 void setPlayAtStartup(boolean playAtStartup)
          Sets the play at startup.
 void setPlayerEngine(java.lang.String playerEngine)
           
 void setPodcastFeedEntriesRetrievalInterval(long podcastFeedEntriesRetrievalInterval)
          Sets the podcast feed entries retrieval interval.
 void setPodcastFeedEntryDownloadPath(java.lang.String podcastFeedEntryDownloadPath)
          Sets the podcast feed entry download path.
 void setProxy(ProxyBean proxy)
          Sets the proxy.
 void setReadInfoFromRadioStream(boolean readInfoFromRadioStream)
          Sets the read info from radio stream.
 void setRemovePodcastFeedEntriesRemovedFromPodcastFeed(boolean removePodcastFeedEntriesRemovedFromPodcastFeed)
          Sets the removes the podcast feed entries removed from podcast feed.
 void setRepeat(boolean repeat)
          Sets the repeat.
 void setRepositoryView(NavigationControllerState.ViewMode repositoryView)
           
 void setRightVerticalSplitPaneDividerLocation(int rightVerticalSplitPaneDividerLocation)
          Sets the right vertical split pane divider location.
 void setSaveContextInformationPicture(boolean saveContexInformationPicture)
          Sets the save picture from audio scrobbler.
 void setSaveRepositoryAsXml(boolean saveRepositoryAsXml)
          Sets the save repository as xml.
 void setSelectedContextInformationTab(int selectedContextInformationTab)
          Sets the selected audio scrobbler tab.
 void setShowAlbumTooltip(boolean showAlbumTooltip)
          Sets the show album tooltip.
 void setShowAllRadioStations(boolean showAllRadioStations)
          Sets if preset radio list should be displayed or not.
 void setShowContextTabsText(boolean showContextTabsText)
           
 void setShowFavoritesInNavigator(boolean showFavoritesInNavigator)
          Sets the show favorites in navigator.
 void setShowNavigationPanel(boolean showNavigationPanel)
          Sets the show navigation panel.
 void setShowNavigationTable(boolean showNavigationTable)
          Sets the show navigation table.
 void setShowNavigatorTabsAtLeft(boolean showNavigatorTabsAtLeft)
           
 void setShowNavigatorTabsText(boolean showNavigatorTabsText)
           
 void setShowOSD(boolean showOSD)
          Sets the show osd.
 void setShowPlaylistControls(boolean showPlaylistControls)
          Sets the show playlist controls.
 void setShowSongProperties(boolean showSongProperties)
          Sets the show song properties.
 void setShowStatusBar(boolean showStatusBar)
          Sets the show status bar.
 void setShowSystemTray(boolean showSystemTray)
          Sets the show system tray.
 void setShowTitle(boolean showTitle)
          Sets the show title.
 void setShowToolBar(boolean showToolBar)
           
 void setShowTrayPlayer(boolean showTrayPlayer)
          Sets the show tray player.
 void setShuffle(boolean shuffle)
          Sets the shuffle.
 void setSkin(java.lang.String skin)
          Sets the skin.
 void setUseContextInformation(boolean useContextInformation)
          Sets the use audio scrobbler.
 void setUseDefaultFont(boolean useDefaultFont)
          Sets the use default font.
 void setUseDownloadedPodcastFeedEntries(boolean useDownloadedPodcastFeedEntries)
          Sets the use downloaded podcast feed entries.
 void setUseFadeAway(boolean useFadeAway)
          Sets the use fade away.
 void setUseFontSmoothing(boolean useFontSmoothing)
           
 void setUseNormalisation(boolean useNormalisation)
          Sets the use normalisation.
 void setUseOSSettingsForFontSmoothing(boolean useOSSettingsForFontSmoothing)
           
 void setUseShortPathNames(boolean useShortPathNames)
          Sets the use short path names.
 void setUseSmartTagViewSorting(boolean useSmartTagViewSorting)
          Sets the use smart tag view sorting.
 void setVolume(int volume)
          Sets the volume.
 void setWindowHeight(int windowHeight)
          Sets the window height.
 void setWindowWidth(int windowWidth)
          Sets the window width.
 void setWindowXPosition(int windowXPosition)
          Sets the window x position.
 void setWindowYPosition(int windowYPosition)
          Sets the window y position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationState

public ApplicationState()
Instantiates a new application state.

Method Detail

getAlbumTooltipDelay

public int getAlbumTooltipDelay()
Gets the album tooltip delay.

Returns:
the album tooltip delay

getAutoRepositoryRefreshTime

public int getAutoRepositoryRefreshTime()
Gets the auto repository refresh time.

Returns:
the auto repository refresh time

getColumns

public java.util.Map<java.lang.String,ColumnBean> getColumns()
Gets the columns.

Returns:
the columns

getDefaultDeviceLocation

public java.lang.String getDefaultDeviceLocation()
Gets the default device location.

Returns:
the defaultDeviceLocation

getDefaultSearch

public java.lang.String getDefaultSearch()
Gets the default search.

Returns:
the default search

getDefaultSearchObject

public Search getDefaultSearchObject()
Gets the default search object.

Returns:
the default search object

getEncoder

public java.lang.String getEncoder()
Gets the encoder.

Returns:
the encoder

getEncoderQuality

public java.lang.String getEncoderQuality()
Last used setting of the ogg encoder.

Returns:
Returns the last used encoder quality setting for the ogg encoder

getEncryptedLastFmPassword

public byte[] getEncryptedLastFmPassword()
Gets the encrypted last fm password.

Returns:
the encryptedLastFmPassword

getEqualizerSettings

public float[] getEqualizerSettings()
Gets the equalizer settings.

Returns:
Equalizer settings for mplayer

getFileNamePattern

public java.lang.String getFileNamePattern()
Last used filename pattern.

Returns:
Returns the last used filename pattern setting.

getFlacEncoderQuality

public java.lang.String getFlacEncoderQuality()
Last used setting of the flac encoder.

Returns:
Returns the last used encoder quality setting for the flac encoder.

getFullScreenBackground

public java.lang.String getFullScreenBackground()
Gets the full screen background.

Returns:
the fullScreenBackground

getLastFmPassword

public java.lang.String getLastFmPassword()
Gets the last fm password.

Returns:
the lastFmPassword

getLastFmUser

public java.lang.String getLastFmUser()
Gets the last fm user.

Returns:
the lastFmUser

getLeftHorizontalSplitPaneDividerLocation

public int getLeftHorizontalSplitPaneDividerLocation()
Gets the left horizontal split pane divider location.

Returns:
the leftHorizontalSplitPaneDividerLocation

getLeftVerticalSplitPaneDividerLocation

public int getLeftVerticalSplitPaneDividerLocation()
Gets the left vertical split pane divider location.

Returns:
the leftVerticalSplitPaneDividerLocation

getLocale

public LocaleBean getLocale()
Gets the locale.

Returns:
the locale

getMp3EncoderQuality

public java.lang.String getMp3EncoderQuality()
Last used setting of the mp3 encoder.

Returns:
Returns the last used encoder quality setting for the mp3 encoder

getMultipleViewHeight

public int getMultipleViewHeight()
Gets the multiple view height.

Returns:
the multipleViewHeight

getMultipleViewWidth

public int getMultipleViewWidth()
Gets the multiple view width.

Returns:
the multipleViewWidth

getMultipleViewXPosition

public int getMultipleViewXPosition()
Gets the multiple view x position.

Returns:
the multipleViewXPosition

getMultipleViewYPosition

public int getMultipleViewYPosition()
Gets the multiple view y position.

Returns:
the multipleViewYPosition

getNagDialogCounter

public int getNagDialogCounter()
Gets the nag dialog counter.

Returns:
the nag dialog counter

getNavigationView

public int getNavigationView()
Gets the navigation view.

Returns:
the navigation view

getOsdDuration

public int getOsdDuration()
Gets the osd duration.

Returns:
the osd duration

getPodcastFeedEntriesRetrievalInterval

public long getPodcastFeedEntriesRetrievalInterval()
Gets the podcast feed entries retrieval interval.

Returns:
the podcastFeedEntriesRetrievalInterval

getProxy

public ProxyBean getProxy()
Gets the proxy.

Returns:
the proxy

getRightVerticalSplitPaneDividerLocation

public int getRightVerticalSplitPaneDividerLocation()
Gets the right vertical split pane divider location.

Returns:
the rightVerticalSplitPaneDividerLocation

getSelectedContextInformationTab

public int getSelectedContextInformationTab()
Gets the selected audio scrobbler tab.

Returns:
the selected audio scrobbler tab

getSkin

public java.lang.String getSkin()
Gets the skin.

Returns:
the skin

getVolume

public int getVolume()
Gets the volume.

Returns:
the volume

getWindowHeight

public int getWindowHeight()
Gets the window height.

Returns:
the windowHeight

getWindowWidth

public int getWindowWidth()
Gets the window width.

Returns:
the windowWidth

getWindowXPosition

public int getWindowXPosition()
Gets the window x position.

Returns:
the windowXPosition

getWindowYPosition

public int getWindowYPosition()
Gets the window y position.

Returns:
the windowYPosition

isAnimateOSD

public boolean isAnimateOSD()
Checks if is animate osd.

Returns:
true, if is animate osd

isEnableHotkeys

public boolean isEnableHotkeys()
Checks if is enable hotkeys.

Returns:
true, if is enable hotkeys

isFlatStructure

public boolean isFlatStructure()
Flat folder structure (can be any of flat, artist or full).

Returns:
true is selected

isArtistStructure

public boolean isArtistStructure()
Artist folder structure (can be any of flat, artist or full).

Returns:
true if selected

isFullStructure

public boolean isFullStructure()
Full folder structure (can be any of flat, artist or full).

Returns:
true if selected

isKaraoke

public boolean isKaraoke()
Checks if is karaoke.

Returns:
the karaoke

isLastFmEnabled

public boolean isLastFmEnabled()
Checks if is last fm enabled.

Returns:
the lastFmEnabled

isMaximized

public boolean isMaximized()
Checks if is maximized.

Returns:
true, if is maximized

isMultipleWindow

public boolean isMultipleWindow()
Checks if is multiple window.

Returns:
true, if is multiple window

isNavigationView

public int isNavigationView()
Checks if is navigation view.

Returns:
the int

isPlayAtStartup

public boolean isPlayAtStartup()
Checks if is play at startup.

Returns:
the playAtStartup

isReadInfoFromRadioStream

public boolean isReadInfoFromRadioStream()
Checks if is read info from radio stream.

Returns:
true, if is read info from radio stream

isRepeat

public boolean isRepeat()
Checks if is repeat.

Returns:
true, if is repeat

isSaveContextInformationPicture

public boolean isSaveContextInformationPicture()
Checks if is save picture from audio scrobbler.

Returns:
true, if is save picture from audio scrobbler

isSaveRepositoryAsXml

public boolean isSaveRepositoryAsXml()
Checks if is save repository as xml.

Returns:
true, if is save repository as xml

isShowAlbumTooltip

public boolean isShowAlbumTooltip()
Checks if is show album tooltip.

Returns:
true, if is show album tooltip

isShowAllRadioStations

public boolean isShowAllRadioStations()
Checks if is show all radio stations.

Returns:
true, if is show all radio stations

isShowFavoritesInNavigator

public boolean isShowFavoritesInNavigator()
Checks if is show favorites in navigator.

Returns:
true, if is show favorites in navigator

isShowNavigationPanel

public boolean isShowNavigationPanel()
Checks if is show navigation panel.

Returns:
true, if is show navigation panel

isShowNavigationTable

public boolean isShowNavigationTable()
Checks if is show navigation table.

Returns:
true, if is show navigation table

isShowOSD

public boolean isShowOSD()
Checks if is show osd.

Returns:
true, if is show osd

isShowPlaylistControls

public boolean isShowPlaylistControls()
Checks if is show playlist controls.

Returns:
true, if is show playlist controls

isShowSongProperties

public boolean isShowSongProperties()
Checks if is show song properties.

Returns:
true, if is show song properties

isShowStatusBar

public boolean isShowStatusBar()
Checks if is show status bar.

Returns:
true, if is show status bar

isShowSystemTray

public boolean isShowSystemTray()
Checks if is show system tray.

Returns:
true, if is show system tray

isShowTitle

public boolean isShowTitle()
Checks if is show title.

Returns:
true, if is show title

isShowTrayPlayer

public boolean isShowTrayPlayer()
Checks if is show tray player.

Returns:
true, if is show tray player

isShuffle

public boolean isShuffle()
Checks if is shuffle.

Returns:
true, if is shuffle

isUseContextInformation

public boolean isUseContextInformation()
Checks if is use audio scrobbler.

Returns:
true, if is use audio scrobbler

isUseDefaultFont

public boolean isUseDefaultFont()
Checks if is use default font.

Returns:
the useDefaultFont

isUseNormalisation

public boolean isUseNormalisation()
Checks if is use normalisation.

Returns:
the useNormalisation

isUseShortPathNames

public boolean isUseShortPathNames()
Checks if is use short path names.

Returns:
true, if is use short path names

isUseSmartTagViewSorting

public boolean isUseSmartTagViewSorting()
Checks if is use smart tag view sorting.

Returns:
the useSmartTagViewSorting

setAlbumTooltipDelay

public void setAlbumTooltipDelay(int albumTooltipDelay)
Sets the album tooltip delay.

Parameters:
albumTooltipDelay - the new album tooltip delay

setAnimateOSD

public void setAnimateOSD(boolean animateOSD)
Sets the animate osd.

Parameters:
animateOSD - the new animate osd

setAutoRepositoryRefreshTime

public void setAutoRepositoryRefreshTime(int autoRepositoryRefreshTime)
Sets the auto repository refresh time.

Parameters:
autoRepositoryRefreshTime - the new auto repository refresh time

setColumns

public void setColumns(java.util.Map<java.lang.String,ColumnBean> columns)
Sets the columns.

Parameters:
columns - the columns to set

setDefaultDeviceLocation

public void setDefaultDeviceLocation(java.lang.String defaultDeviceLocation)
Sets the default device location.

Parameters:
defaultDeviceLocation - the defaultDeviceLocation to set

setFlatStructure

public void setFlatStructure(boolean flatStructure)
Sets the flat structure.

Parameters:
flatStructure - the new flat structure

setArtistStructure

public void setArtistStructure(boolean artistStructure)
Sets the artist structure.

Parameters:
artistStructure - the new artist structure

setFullStructure

public void setFullStructure(boolean fullStructure)
Sets the full structure.

Parameters:
fullStructure - the new full structure

setDefaultSearch

public void setDefaultSearch(java.lang.String defaultSearch)
Sets the default search.

Parameters:
defaultSearch - the new default search

setDefaultSearchObject

public void setDefaultSearchObject(Search defaultSearch)
Sets the default search object.

Parameters:
defaultSearch - the new default search object

setEnableHotkeys

public void setEnableHotkeys(boolean enableHotkeys)
Sets the enable hotkeys.

Parameters:
enableHotkeys - the new enable hotkeys

setEncoder

public void setEncoder(java.lang.String encoder)
Sets the encoder to use for CD ripping.

Parameters:
encoder - As of aTunes 1.7.3 one of the following is permissible: "OGG", "FLAC" or "MP3".

setEncoderQuality

public void setEncoderQuality(java.lang.String encoderQuality)
Sets the ogg encoder quality to use for CD ripping.

Parameters:
encoderQuality - One of the following integer (no decimals) are permissible: -1 to 10

setEncryptedLastFmPassword

public void setEncryptedLastFmPassword(byte[] encryptedLastFmPassword)
Sets the encrypted last fm password.

Parameters:
encryptedLastFmPassword - the encryptedLastFmPassword to set

setEqualizerSettings

public void setEqualizerSettings(float[] equalizerSettings)
Sets the equalizer settings.

Parameters:
equalizerSettings - the equalizer settings

setFileNamePattern

public void setFileNamePattern(java.lang.String fileNamePattern)
Sets the filename pattern.

Parameters:
fileNamePattern - For valid filename patterns please see RipCdDialog.

setFlacEncoderQuality

public void setFlacEncoderQuality(java.lang.String flacEncoderQuality)
Sets the flac encoder quality to use for CD ripping.

Parameters:
flacEncoderQuality - One of the following negative integer (no decimals) are permissible: -8 to -0

setFullScreenBackground

public void setFullScreenBackground(java.lang.String fullScreenBackground)
Sets the full screen background.

Parameters:
fullScreenBackground - the fullScreenBackground to set

setKaraoke

public void setKaraoke(boolean karaoke)
Sets the karaoke.

Parameters:
karaoke - the karaoke to set

setLastFmEnabled

public void setLastFmEnabled(boolean lastFmEnabled)
Sets the last fm enabled.

Parameters:
lastFmEnabled - the lastFmEnabled to set

setLastFmPassword

public void setLastFmPassword(java.lang.String lastFmPassword)
Sets the last fm password.

Parameters:
lastFmPassword - the lastFmPassword to set

setLastFmUser

public void setLastFmUser(java.lang.String lastFmUser)
Sets the last fm user.

Parameters:
lastFmUser - the lastFmUser to set

setLeftHorizontalSplitPaneDividerLocation

public void setLeftHorizontalSplitPaneDividerLocation(int leftHorizontalSplitPaneDividerLocation)
Sets the left horizontal split pane divider location.

Parameters:
leftHorizontalSplitPaneDividerLocation - the leftHorizontalSplitPaneDividerLocation to set

setLeftVerticalSplitPaneDividerLocation

public void setLeftVerticalSplitPaneDividerLocation(int leftVerticalSplitPaneDividerLocation)
Sets the left vertical split pane divider location.

Parameters:
leftVerticalSplitPaneDividerLocation - the leftVerticalSplitPaneDividerLocation to set

setLocale

public void setLocale(LocaleBean locale)
Sets the locale.

Parameters:
locale - the new locale

setMaximized

public void setMaximized(boolean maximized)
Sets the maximized.

Parameters:
maximized - the new maximized

setMp3EncoderQuality

public void setMp3EncoderQuality(java.lang.String mp3EncoderQuality)
Sets the mp3 encoder quality to use for CD ripping.

Parameters:
mp3EncoderQuality - One of the following are permissible: insane, extreme, medium, standard, 128, 160, 192, 224, 256, 320

setMultipleViewHeight

public void setMultipleViewHeight(int multipleViewHeight)
Sets the multiple view height.

Parameters:
multipleViewHeight - the multipleViewHeight to set

setMultipleViewWidth

public void setMultipleViewWidth(int multipleViewWidth)
Sets the multiple view width.

Parameters:
multipleViewWidth - the multipleViewWidth to set

setMultipleViewXPosition

public void setMultipleViewXPosition(int multipleViewXPosition)
Sets the multiple view x position.

Parameters:
multipleViewXPosition - the multipleViewXPosition to set

setMultipleViewYPosition

public void setMultipleViewYPosition(int multipleViewYPosition)
Sets the multiple view y position.

Parameters:
multipleViewYPosition - the multipleViewYPosition to set

setMultipleWindow

public void setMultipleWindow(boolean multipleWindow)
Sets the multiple window.

Parameters:
multipleWindow - the new multiple window

setNagDialogCounter

public void setNagDialogCounter(int nagDialogCounter)
Sets the nag dialog counter.

Parameters:
nagDialogCounter - the new nag dialog counter

setNavigationView

public void setNavigationView(int navigationView)
Sets the navigation view.

Parameters:
navigationView - the new navigation view

setOsdDuration

public void setOsdDuration(int osdDuration)
Sets the osd duration.

Parameters:
osdDuration - the new osd duration

setPlayAtStartup

public void setPlayAtStartup(boolean playAtStartup)
Sets the play at startup.

Parameters:
playAtStartup - the playAtStartup to set

setPodcastFeedEntriesRetrievalInterval

public void setPodcastFeedEntriesRetrievalInterval(long podcastFeedEntriesRetrievalInterval)
Sets the podcast feed entries retrieval interval.

Parameters:
podcastFeedEntriesRetrievalInterval - the podcastFeedEntriesRetrievalInterval to set

setProxy

public void setProxy(ProxyBean proxy)
Sets the proxy.

Parameters:
proxy - the new proxy

setReadInfoFromRadioStream

public void setReadInfoFromRadioStream(boolean readInfoFromRadioStream)
Sets the read info from radio stream.

Parameters:
readInfoFromRadioStream - the new read info from radio stream

setRepeat

public void setRepeat(boolean repeat)
Sets the repeat.

Parameters:
repeat - the new repeat

setRightVerticalSplitPaneDividerLocation

public void setRightVerticalSplitPaneDividerLocation(int rightVerticalSplitPaneDividerLocation)
Sets the right vertical split pane divider location.

Parameters:
rightVerticalSplitPaneDividerLocation - the rightVerticalSplitPaneDividerLocation to set

setSaveContextInformationPicture

public void setSaveContextInformationPicture(boolean saveContexInformationPicture)
Sets the save picture from audio scrobbler.

Parameters:
saveContexInformationPicture - the new save picture from audio scrobbler

setSaveRepositoryAsXml

public void setSaveRepositoryAsXml(boolean saveRepositoryAsXml)
Sets the save repository as xml.

Parameters:
saveRepositoryAsXml - the new save repository as xml

setSelectedContextInformationTab

public void setSelectedContextInformationTab(int selectedContextInformationTab)
Sets the selected audio scrobbler tab.

Parameters:
selectedContextInformationTab - the new selected context information tab

setShowAlbumTooltip

public void setShowAlbumTooltip(boolean showAlbumTooltip)
Sets the show album tooltip.

Parameters:
showAlbumTooltip - the new show album tooltip

setShowAllRadioStations

public void setShowAllRadioStations(boolean showAllRadioStations)
Sets if preset radio list should be displayed or not.

Parameters:
showAllRadioStations - Set false for only showing user stations

setShowFavoritesInNavigator

public void setShowFavoritesInNavigator(boolean showFavoritesInNavigator)
Sets the show favorites in navigator.

Parameters:
showFavoritesInNavigator - the new show favorites in navigator

setShowNavigationPanel

public void setShowNavigationPanel(boolean showNavigationPanel)
Sets the show navigation panel.

Parameters:
showNavigationPanel - the new show navigation panel

setShowNavigationTable

public void setShowNavigationTable(boolean showNavigationTable)
Sets the show navigation table.

Parameters:
showNavigationTable - the new show navigation table

setShowOSD

public void setShowOSD(boolean showOSD)
Sets the show osd.

Parameters:
showOSD - the new show osd

setShowPlaylistControls

public void setShowPlaylistControls(boolean showPlaylistControls)
Sets the show playlist controls.

Parameters:
showPlaylistControls - the new show playlist controls

setShowSongProperties

public void setShowSongProperties(boolean showSongProperties)
Sets the show song properties.

Parameters:
showSongProperties - the new show song properties

setShowStatusBar

public void setShowStatusBar(boolean showStatusBar)
Sets the show status bar.

Parameters:
showStatusBar - the new show status bar

setShowSystemTray

public void setShowSystemTray(boolean showSystemTray)
Sets the show system tray.

Parameters:
showSystemTray - the new show system tray

setShowTitle

public void setShowTitle(boolean showTitle)
Sets the show title.

Parameters:
showTitle - the new show title

setShowTrayPlayer

public void setShowTrayPlayer(boolean showTrayPlayer)
Sets the show tray player.

Parameters:
showTrayPlayer - the new show tray player

setShuffle

public void setShuffle(boolean shuffle)
Sets the shuffle.

Parameters:
shuffle - the new shuffle

setSkin

public void setSkin(java.lang.String skin)
Sets the skin.

Parameters:
skin - the new skin

setUseContextInformation

public void setUseContextInformation(boolean useContextInformation)
Sets the use audio scrobbler.

Parameters:
useContextInformation - the new use audio scrobbler

setUseDefaultFont

public void setUseDefaultFont(boolean useDefaultFont)
Sets the use default font.

Parameters:
useDefaultFont - the useDefaultFont to set

setUseNormalisation

public void setUseNormalisation(boolean useNormalisation)
Sets the use normalisation.

Parameters:
useNormalisation - the useNormalisation to set

setUseShortPathNames

public void setUseShortPathNames(boolean useShortPathNames)
Sets the use short path names.

Parameters:
useShortPathNames - the new use short path names

setUseSmartTagViewSorting

public void setUseSmartTagViewSorting(boolean useSmartTagViewSorting)
Sets the use smart tag view sorting.

Parameters:
useSmartTagViewSorting - the useSmartTagViewSorting to set

setVolume

public void setVolume(int volume)
Sets the volume.

Parameters:
volume - the new volume

setWindowHeight

public void setWindowHeight(int windowHeight)
Sets the window height.

Parameters:
windowHeight - the windowHeight to set

setWindowWidth

public void setWindowWidth(int windowWidth)
Sets the window width.

Parameters:
windowWidth - the windowWidth to set

setWindowXPosition

public void setWindowXPosition(int windowXPosition)
Sets the window x position.

Parameters:
windowXPosition - the windowXPosition to set

setWindowYPosition

public void setWindowYPosition(int windowYPosition)
Sets the window y position.

Parameters:
windowYPosition - the windowYPosition to set

isUseFadeAway

public boolean isUseFadeAway()
Checks if is use fade away.

Returns:
the useFadeAway

setUseFadeAway

public void setUseFadeAway(boolean useFadeAway)
Sets the use fade away.

Parameters:
useFadeAway - the useFadeAway to set

isEnableAdvancedSearch

public boolean isEnableAdvancedSearch()
Checks if is enable advanced search.

Returns:
true, if is enable advanced search

setEnableAdvancedSearch

public void setEnableAdvancedSearch(boolean enableAdvancedSearch)
Sets the enable advanced search.

Parameters:
enableAdvancedSearch - the new enable advanced search

getPodcastFeedEntryDownloadPath

public java.lang.String getPodcastFeedEntryDownloadPath()
Gets the podcast feed entry download path.

Returns:
the podcast feed entry download path

setPodcastFeedEntryDownloadPath

public void setPodcastFeedEntryDownloadPath(java.lang.String podcastFeedEntryDownloadPath)
Sets the podcast feed entry download path.

Parameters:
podcastFeedEntryDownloadPath - the new podcast feed entry download path

isUseDownloadedPodcastFeedEntries

public boolean isUseDownloadedPodcastFeedEntries()
Checks if is use downloaded podcast feed entries.

Returns:
true, if is use downloaded podcast feed entries

setUseDownloadedPodcastFeedEntries

public void setUseDownloadedPodcastFeedEntries(boolean useDownloadedPodcastFeedEntries)
Sets the use downloaded podcast feed entries.

Parameters:
useDownloadedPodcastFeedEntries - the new use downloaded podcast feed entries

isRemovePodcastFeedEntriesRemovedFromPodcastFeed

public boolean isRemovePodcastFeedEntriesRemovedFromPodcastFeed()
Checks if is removes the podcast feed entries removed from podcast feed.

Returns:
true, if is removes the podcast feed entries removed from podcast feed

setRemovePodcastFeedEntriesRemovedFromPodcastFeed

public void setRemovePodcastFeedEntriesRemovedFromPodcastFeed(boolean removePodcastFeedEntriesRemovedFromPodcastFeed)
Sets the removes the podcast feed entries removed from podcast feed.

Parameters:
removePodcastFeedEntriesRemovedFromPodcastFeed - the new removes the podcast feed entries removed from podcast feed

isCacheFilesBeforePlaying

public boolean isCacheFilesBeforePlaying()
Checks if is cache files before playing.

Returns:
the cacheFilesBeforePlaying

setCacheFilesBeforePlaying

public void setCacheFilesBeforePlaying(boolean cacheFilesBeforePlaying)
Sets the cache files before playing.

Parameters:
cacheFilesBeforePlaying - the cacheFilesBeforePlaying to set

getRepositoryView

public NavigationControllerState.ViewMode getRepositoryView()
Returns:
the repositoryView

setRepositoryView

public void setRepositoryView(NavigationControllerState.ViewMode repositoryView)
Parameters:
repositoryView - the repositoryView to set

isShowNavigatorTabsAtLeft

public boolean isShowNavigatorTabsAtLeft()
Returns:
the showNavigatorTabsAtLeft

setShowNavigatorTabsAtLeft

public void setShowNavigatorTabsAtLeft(boolean showNavigatorTabsAtLeft)
Parameters:
showNavigatorTabsAtLeft - the showNavigatorTabsAtLeft to set

isShowNavigatorTabsText

public boolean isShowNavigatorTabsText()
Returns:
the showNavigatorTabsText

setShowNavigatorTabsText

public void setShowNavigatorTabsText(boolean showNavigatorTabsText)
Parameters:
showNavigatorTabsText - the showNavigatorTabsText to set

isShowToolBar

public boolean isShowToolBar()
Returns:
the showToolBar

setShowToolBar

public void setShowToolBar(boolean showToolBar)
Parameters:
showToolBar - the showToolBar to set

isHighlightIncompleteTagFolders

public boolean isHighlightIncompleteTagFolders()
Returns:
the highlightIncompleteTagFolders

setHighlightIncompleteTagFolders

public void setHighlightIncompleteTagFolders(boolean highlightIncompleteTagFolders)
Parameters:
highlightIncompleteTagFolders - the highlightIncompleteTagFolders to set

getHighlightIncompleteTagFoldersAttributes

public java.util.List<TagAttribute> getHighlightIncompleteTagFoldersAttributes()
Returns:
the highlightIncompleteTagFoldersAttributes

setHighlightIncompleteTagFoldersAttributes

public void setHighlightIncompleteTagFoldersAttributes(java.util.List<TagAttribute> highlightIncompleteTagFoldersAttributes)
Parameters:
highlightIncompleteTagFoldersAttributes - the highlightIncompleteTagFoldersAttributes to set

isUseFontSmoothing

public boolean isUseFontSmoothing()
Returns:
the useFontSmoothing

setUseFontSmoothing

public void setUseFontSmoothing(boolean useFontSmoothing)
Parameters:
useFontSmoothing - the useFontSmoothing to set

isShowContextTabsText

public boolean isShowContextTabsText()
Returns:
the showContextTabsText

setShowContextTabsText

public void setShowContextTabsText(boolean showContextTabsText)
Parameters:
showContextTabsText - the showContextTabsText to set

isUseOSSettingsForFontSmoothing

public boolean isUseOSSettingsForFontSmoothing()
Returns:
the useOSSettingsForFontSmoothing

setUseOSSettingsForFontSmoothing

public void setUseOSSettingsForFontSmoothing(boolean useOSSettingsForFontSmoothing)
Parameters:
useOSSettingsForFontSmoothing - the useOSSettingsForFontSmoothing to set

getPlayerEngine

public java.lang.String getPlayerEngine()

setPlayerEngine

public void setPlayerEngine(java.lang.String playerEngine)

isMuteEnabled

public boolean isMuteEnabled()
Returns:
the muteEnabled

setMuteEnabled

public void setMuteEnabled(boolean muteEnabled)
Parameters:
muteEnabled - the muteEnabled to set


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.