com.melloware.jukes.gui.tool
Class Settings

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.melloware.jukes.gui.tool.Settings
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, java.io.Serializable

public final class Settings
extends com.jgoodies.binding.beans.Model

Provides bound properties for application related settings.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III
See Also:
Preferences, Serialized Form

Field Summary
static java.lang.String DEFAULT_REMOTE_DATABASE_URL
          URL of remote database location.
static java.lang.String PROPERTYNAME_ANALYZER_MODE
           
static java.lang.String PROPERTYNAME_AUDIT_INFO
           
static java.lang.String PROPERTYNAME_CATALOG_SCROLL_UNITS
           
static java.lang.String PROPERTYNAME_COVER_SIZE_LARGE
           
static java.lang.String PROPERTYNAME_COVER_SIZE_SMALL
           
static java.lang.String PROPERTYNAME_DIRECTORY_DB_LOCATION
           
static java.lang.String PROPERTYNAME_DIRECTORY_START_IN
           
static java.lang.String PROPERTYNAME_DISPLAY_FORMAT_DISC
           
static java.lang.String PROPERTYNAME_DISPLAY_FORMAT_TRACK
           
static java.lang.String PROPERTYNAME_FADE_IN_ON_PLAY
           
static java.lang.String PROPERTYNAME_FADE_OUT_ON_CHANGE
           
static java.lang.String PROPERTYNAME_FADE_OUT_ON_PAUSE
           
static java.lang.String PROPERTYNAME_FADE_OUT_ON_STOP
           
static java.lang.String PROPERTYNAME_FILE_BACKUP
           
static java.lang.String PROPERTYNAME_FILE_FORMAT_IMAGE
           
static java.lang.String PROPERTYNAME_FILE_FORMAT_MUSIC
           
static java.lang.String PROPERTYNAME_LOCALE
           
static java.lang.String PROPERTYNAME_LOG_LEVEL
           
static java.lang.String PROPERTYNAME_NEW_FILE_IN_DAYS
           
static java.lang.String PROPERTYNAME_PLAYER_BUFFER_SIZE
           
static java.lang.String PROPERTYNAME_PLAYLIST_TYPE
           
static java.lang.String PROPERTYNAME_REMOTE_DATABASE_URL
           
static java.lang.String PROPERTYNAME_ROW_COLOR_EVEN
           
static java.lang.String PROPERTYNAME_ROW_COLOR_ODD
           
static java.lang.String PROPERTYNAME_UPDATE_TAGS
           
 
Constructor Summary
Settings()
           
 
Method Summary
 java.lang.String getAnalyzerMode()
          Gets the analyzerMode.
 int getCatalogScrollUnits()
          Gets the catalogScrollUnits.
 int getCoverSizeLarge()
          Gets the coverSizeLarge.
 int getCoverSizeSmall()
          Gets the coverSizeSmall.
 java.io.File getDatabaseLocation()
          Gets the databaseLocation.
 java.lang.String getDisplayFormatDisc()
          Gets the displayFormatDisc.
 java.lang.String getDisplayFormatTrack()
          Gets the displayFormatTrack.
 java.io.File getFileBackup()
          Gets the fileBackup.
 java.lang.String getFileFormatImage()
          Gets the fileFormatImage.
 java.lang.String getFileFormatMusic()
          Gets the fileFormatMusic.
 java.lang.String getFilter()
          Gets the filter.
 java.lang.String getLocale()
          Gets the locale.
 java.lang.String getLogLevel()
          Gets the logLevel.
 int getNewFileInDays()
          Gets the newFileInDays.
 int getPlayerBufferSize()
          Gets the playerBufferSize.
 java.lang.String getPlaylistType()
          Gets the playlistType.
 java.lang.String getRemoteDatabaseURL()
          Gets the remoteDatabaseURL.
 java.awt.Color getRowColorEven()
          Gets the rowColorEven.
 java.awt.Color getRowColorOdd()
          Gets the rowColorOdd.
 java.io.File getStartInDirectory()
          Gets the startInDirectory.
 boolean isAuditInfo()
          Gets the auditInfo.
 boolean isFadeInOnPlay()
          Gets the fadeInOnPlay.
 boolean isFadeOutOnChange()
          Gets the fadeOutOnChange.
 boolean isFadeOutOnPause()
          Gets the fadeOutOnPause.
 boolean isFadeOutOnStop()
          Gets the fadeOutOnStop.
 boolean isUpdateTags()
          Gets the updateTags.
 void restoreFrom(java.util.prefs.Preferences prefs)
          Restores the persistent properties from the specified Preferences.
 void setAnalyzerMode(java.lang.String aAnalyzerMode)
          Sets the analyzerMode.
 void setAuditInfo(boolean aAuditInfo)
          Sets the auditInfo.
 void setCatalogScrollUnits(int aCatalogScrollUnits)
          Sets the catalogScrollUnits.
 void setCoverSizeLarge(int aCoverSizeLarge)
          Sets the coverSizeLarge.
 void setCoverSizeSmall(int aCoverSizeSmall)
          Sets the coverSizeSmall.
 void setDatabaseLocation(java.io.File aDatabaseLocation)
          Sets the databaseLocation.
 void setDisplayFormatDisc(java.lang.String aDisplayFormatDisc)
          Sets the displayFormatDisc.
 void setDisplayFormatTrack(java.lang.String aDisplayFormatTrack)
          Sets the displayFormatTrack.
 void setFadeInOnPlay(boolean aFadeInOnPlay)
          Sets the fadeInOnPlay.
 void setFadeOutOnChange(boolean aFadeOutOnChange)
          Sets the fadeOutOnChange.
 void setFadeOutOnPause(boolean aFadeOutOnPause)
          Sets the fadeOutOnPause.
 void setFadeOutOnStop(boolean aFadeOutOnStop)
          Sets the fadeOutOnStop.
 void setFileBackup(java.io.File aFileBackup)
          Sets the fileBackup.
 void setFileFormatImage(java.lang.String aFileFormatImage)
          Sets the fileFormatImage.
 void setFileFormatMusic(java.lang.String aFileFormat)
          Sets the fileFormatMusic.
 void setFilter(java.lang.String aFilter)
          Sets the filter.
 void setLocale(java.lang.String aLocale)
          Sets the locale.
 void setLogLevel(java.lang.String aLogLevel)
          Sets the logLevel.
 void setNewFileInDays(int aNewFileInDays)
          Sets the newFileInDays.
 void setPlayerBufferSize(int aPlayerBufferSize)
          Sets the playerBufferSize.
 void setPlaylistType(java.lang.String aPlaylistType)
          Sets the playlistType.
 void setRemoteDatabaseURL(java.lang.String aRemoteDatabaseURL)
          Sets the remoteDatabaseURL.
 void setRowColorEven(java.awt.Color aRowColorEven)
          Sets the rowColorEven.
 void setRowColorOdd(java.awt.Color aRowColorOdd)
          Sets the rowColorOdd.
 void setStartInDirectory(java.io.File aStartInDirectory)
          Sets the startInDirectory.
 void setUpdateTags(boolean aUpdateTags)
          Sets the updateTags.
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireMulticastPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTYNAME_FADE_IN_ON_PLAY

public static final java.lang.String PROPERTYNAME_FADE_IN_ON_PLAY
See Also:
Constant Field Values

PROPERTYNAME_FADE_OUT_ON_PAUSE

public static final java.lang.String PROPERTYNAME_FADE_OUT_ON_PAUSE
See Also:
Constant Field Values

PROPERTYNAME_FADE_OUT_ON_STOP

public static final java.lang.String PROPERTYNAME_FADE_OUT_ON_STOP
See Also:
Constant Field Values

PROPERTYNAME_FADE_OUT_ON_CHANGE

public static final java.lang.String PROPERTYNAME_FADE_OUT_ON_CHANGE
See Also:
Constant Field Values

PROPERTYNAME_UPDATE_TAGS

public static final java.lang.String PROPERTYNAME_UPDATE_TAGS
See Also:
Constant Field Values

PROPERTYNAME_DISPLAY_FORMAT_DISC

public static final java.lang.String PROPERTYNAME_DISPLAY_FORMAT_DISC
See Also:
Constant Field Values

PROPERTYNAME_DISPLAY_FORMAT_TRACK

public static final java.lang.String PROPERTYNAME_DISPLAY_FORMAT_TRACK
See Also:
Constant Field Values

PROPERTYNAME_DIRECTORY_START_IN

public static final java.lang.String PROPERTYNAME_DIRECTORY_START_IN
See Also:
Constant Field Values

PROPERTYNAME_DIRECTORY_DB_LOCATION

public static final java.lang.String PROPERTYNAME_DIRECTORY_DB_LOCATION
See Also:
Constant Field Values

PROPERTYNAME_FILE_FORMAT_MUSIC

public static final java.lang.String PROPERTYNAME_FILE_FORMAT_MUSIC
See Also:
Constant Field Values

PROPERTYNAME_FILE_FORMAT_IMAGE

public static final java.lang.String PROPERTYNAME_FILE_FORMAT_IMAGE
See Also:
Constant Field Values

PROPERTYNAME_NEW_FILE_IN_DAYS

public static final java.lang.String PROPERTYNAME_NEW_FILE_IN_DAYS
See Also:
Constant Field Values

PROPERTYNAME_LOCALE

public static final java.lang.String PROPERTYNAME_LOCALE
See Also:
Constant Field Values

PROPERTYNAME_ROW_COLOR_EVEN

public static final java.lang.String PROPERTYNAME_ROW_COLOR_EVEN
See Also:
Constant Field Values

PROPERTYNAME_ROW_COLOR_ODD

public static final java.lang.String PROPERTYNAME_ROW_COLOR_ODD
See Also:
Constant Field Values

PROPERTYNAME_PLAYLIST_TYPE

public static final java.lang.String PROPERTYNAME_PLAYLIST_TYPE
See Also:
Constant Field Values

PROPERTYNAME_LOG_LEVEL

public static final java.lang.String PROPERTYNAME_LOG_LEVEL
See Also:
Constant Field Values

PROPERTYNAME_PLAYER_BUFFER_SIZE

public static final java.lang.String PROPERTYNAME_PLAYER_BUFFER_SIZE
See Also:
Constant Field Values

PROPERTYNAME_FILE_BACKUP

public static final java.lang.String PROPERTYNAME_FILE_BACKUP
See Also:
Constant Field Values

PROPERTYNAME_COVER_SIZE_SMALL

public static final java.lang.String PROPERTYNAME_COVER_SIZE_SMALL
See Also:
Constant Field Values

PROPERTYNAME_COVER_SIZE_LARGE

public static final java.lang.String PROPERTYNAME_COVER_SIZE_LARGE
See Also:
Constant Field Values

PROPERTYNAME_AUDIT_INFO

public static final java.lang.String PROPERTYNAME_AUDIT_INFO
See Also:
Constant Field Values

PROPERTYNAME_REMOTE_DATABASE_URL

public static final java.lang.String PROPERTYNAME_REMOTE_DATABASE_URL
See Also:
Constant Field Values

PROPERTYNAME_CATALOG_SCROLL_UNITS

public static final java.lang.String PROPERTYNAME_CATALOG_SCROLL_UNITS
See Also:
Constant Field Values

PROPERTYNAME_ANALYZER_MODE

public static final java.lang.String PROPERTYNAME_ANALYZER_MODE
See Also:
Constant Field Values

DEFAULT_REMOTE_DATABASE_URL

public static final java.lang.String DEFAULT_REMOTE_DATABASE_URL
URL of remote database location.

See Also:
Constant Field Values
Constructor Detail

Settings

public Settings()
Method Detail

getCatalogScrollUnits

public int getCatalogScrollUnits()
Gets the catalogScrollUnits.

Returns:
Returns the catalogScrollUnits.

getCoverSizeLarge

public int getCoverSizeLarge()
Gets the coverSizeLarge.

Returns:
Returns the coverSizeLarge.

getCoverSizeSmall

public int getCoverSizeSmall()
Gets the coverSizeSmall.

Returns:
Returns the coverSizeSmall.

getDatabaseLocation

public java.io.File getDatabaseLocation()
Gets the databaseLocation.

Returns:
Returns the databaseLocation.

getDisplayFormatDisc

public java.lang.String getDisplayFormatDisc()
Gets the displayFormatDisc.

Returns:
Returns the displayFormatDisc.

getDisplayFormatTrack

public java.lang.String getDisplayFormatTrack()
Gets the displayFormatTrack.

Returns:
Returns the displayFormatTrack.

getFileBackup

public java.io.File getFileBackup()
Gets the fileBackup.

Returns:
Returns the fileBackup.

getFileFormatImage

public java.lang.String getFileFormatImage()
Gets the fileFormatImage.

Returns:
Returns the fileFormatImage.

getFileFormatMusic

public java.lang.String getFileFormatMusic()
Gets the fileFormatMusic.

Returns:
Returns the fileFormatMusic.

getFilter

public java.lang.String getFilter()
Gets the filter.

Returns:
Returns the filter.

getLocale

public java.lang.String getLocale()
Gets the locale.

Returns:
Returns the locale.

getLogLevel

public java.lang.String getLogLevel()
Gets the logLevel.

Returns:
Returns the logLevel.

getNewFileInDays

public int getNewFileInDays()
Gets the newFileInDays.

Returns:
Returns the newFileInDays.

getPlayerBufferSize

public int getPlayerBufferSize()
Gets the playerBufferSize.

Returns:
Returns the playerBufferSize.

getPlaylistType

public java.lang.String getPlaylistType()
Gets the playlistType.

Returns:
Returns the playlistType.

getRemoteDatabaseURL

public java.lang.String getRemoteDatabaseURL()
Gets the remoteDatabaseURL.

Returns:
Returns the remoteDatabaseURL.

getRowColorEven

public java.awt.Color getRowColorEven()
Gets the rowColorEven.

Returns:
Returns the rowColorEven.

getRowColorOdd

public java.awt.Color getRowColorOdd()
Gets the rowColorOdd.

Returns:
Returns the rowColorOdd.

getStartInDirectory

public java.io.File getStartInDirectory()
Gets the startInDirectory.

Returns:
Returns the startInDirectory.

getAnalyzerMode

public java.lang.String getAnalyzerMode()
Gets the analyzerMode.

Returns:
Returns the analyzerMode.

setAuditInfo

public void setAuditInfo(boolean aAuditInfo)
Sets the auditInfo.

Parameters:
aAuditInfo - The auditInfo to set.

setCatalogScrollUnits

public void setCatalogScrollUnits(int aCatalogScrollUnits)
Sets the catalogScrollUnits.

Parameters:
aCatalogScrollUnits - The catalogScrollUnits to set.

setCoverSizeLarge

public void setCoverSizeLarge(int aCoverSizeLarge)
Sets the coverSizeLarge.

Parameters:
aCoverSizeLarge - The coverSizeLarge to set.

setCoverSizeSmall

public void setCoverSizeSmall(int aCoverSizeSmall)
Sets the coverSizeSmall.

Parameters:
aCoverSizeSmall - The coverSizeSmall to set.

setDatabaseLocation

public void setDatabaseLocation(java.io.File aDatabaseLocation)
Sets the databaseLocation.

Parameters:
aDatabaseLocation - The databaseLocation to set.

setDisplayFormatDisc

public void setDisplayFormatDisc(java.lang.String aDisplayFormatDisc)
Sets the displayFormatDisc.

Parameters:
aDisplayFormatDisc - The displayFormatDisc to set.

setDisplayFormatTrack

public void setDisplayFormatTrack(java.lang.String aDisplayFormatTrack)
Sets the displayFormatTrack.

Parameters:
aDisplayFormatTrack - The displayFormatTrack to set.

setFadeInOnPlay

public void setFadeInOnPlay(boolean aFadeInOnPlay)
Sets the fadeInOnPlay.

Parameters:
aFadeInOnPlay - The fadeInOnPlay to set.

setFadeOutOnChange

public void setFadeOutOnChange(boolean aFadeOutOnChange)
Sets the fadeOutOnChange.

Parameters:
aFadeOutOnChange - The fadeOutOnChange to set.

setFadeOutOnPause

public void setFadeOutOnPause(boolean aFadeOutOnPause)
Sets the fadeOutOnPause.

Parameters:
aFadeOutOnPause - The fadeOutOnPause to set.

setFadeOutOnStop

public void setFadeOutOnStop(boolean aFadeOutOnStop)
Sets the fadeOutOnStop.

Parameters:
aFadeOutOnStop - The fadeOutOnStop to set.

setFileBackup

public void setFileBackup(java.io.File aFileBackup)
Sets the fileBackup.

Parameters:
aFileBackup - The fileBackup to set.

setFileFormatImage

public void setFileFormatImage(java.lang.String aFileFormatImage)
Sets the fileFormatImage.

Parameters:
aFileFormatImage - The fileFormatImage to set.

setFileFormatMusic

public void setFileFormatMusic(java.lang.String aFileFormat)
Sets the fileFormatMusic.

Parameters:
aFileFormat - The fileFormatMusic to set.

setFilter

public void setFilter(java.lang.String aFilter)
Sets the filter.

Parameters:
aFilter - The filter to set.

setLocale

public void setLocale(java.lang.String aLocale)
Sets the locale.

Parameters:
aLocale - The locale to set.

setLogLevel

public void setLogLevel(java.lang.String aLogLevel)
Sets the logLevel.

Parameters:
aLogLevel - The logLevel to set.

setNewFileInDays

public void setNewFileInDays(int aNewFileInDays)
Sets the newFileInDays.

Parameters:
aNewFileInDays - The newFileInDays to set.

setPlayerBufferSize

public void setPlayerBufferSize(int aPlayerBufferSize)
Sets the playerBufferSize.

Parameters:
aPlayerBufferSize - The playerBufferSize to set.

setAnalyzerMode

public void setAnalyzerMode(java.lang.String aAnalyzerMode)
Sets the analyzerMode.

Parameters:
aAnalyzerMode - The analyzerMode to set.

setPlaylistType

public void setPlaylistType(java.lang.String aPlaylistType)
Sets the playlistType.

Parameters:
aPlaylistType - The playlistType to set.

setRemoteDatabaseURL

public void setRemoteDatabaseURL(java.lang.String aRemoteDatabaseURL)
Sets the remoteDatabaseURL.

Parameters:
aRemoteDatabaseURL - The remoteDatabaseURL to set.

setRowColorEven

public void setRowColorEven(java.awt.Color aRowColorEven)
Sets the rowColorEven.

Parameters:
aRowColorEven - The rowColorEven to set.

setRowColorOdd

public void setRowColorOdd(java.awt.Color aRowColorOdd)
Sets the rowColorOdd.

Parameters:
aRowColorOdd - The rowColorOdd to set.

setStartInDirectory

public void setStartInDirectory(java.io.File aStartInDirectory)
Sets the startInDirectory.

Parameters:
aStartInDirectory - The startInDirectory to set.

setUpdateTags

public void setUpdateTags(boolean aUpdateTags)
Sets the updateTags.

Parameters:
aUpdateTags - The updateTags to set.

isAuditInfo

public boolean isAuditInfo()
Gets the auditInfo.

Returns:
Returns the auditInfo.

isFadeInOnPlay

public boolean isFadeInOnPlay()
Gets the fadeInOnPlay.

Returns:
Returns the fadeInOnPlay.

isFadeOutOnChange

public boolean isFadeOutOnChange()
Gets the fadeOutOnChange.

Returns:
Returns the fadeOutOnChange.

isFadeOutOnPause

public boolean isFadeOutOnPause()
Gets the fadeOutOnPause.

Returns:
Returns the fadeOutOnPause.

isFadeOutOnStop

public boolean isFadeOutOnStop()
Gets the fadeOutOnStop.

Returns:
Returns the fadeOutOnStop.

isUpdateTags

public boolean isUpdateTags()
Gets the updateTags.

Returns:
Returns the updateTags.

restoreFrom

public void restoreFrom(java.util.prefs.Preferences prefs)
Restores the persistent properties from the specified Preferences.

Parameters:
prefs - the Preferences object that holds the property values


Copyright © 1999-2008 Melloware Inc. All Rights Reserved.