de.axelwernicke.mypod
Class Preferences

java.lang.Object
  extended byde.axelwernicke.mypod.Preferences
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Preferences
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

manages all preferences for myPod

Author:
axel.wernicke@gmx.de
See Also:
Serialized Form

Constructor Summary
Preferences()
           
 
Method Summary
 java.lang.Object clone()
          Clones preferences object
 java.lang.String getAddParameter()
          Getter for property addParameter.
 java.lang.String getAppendParameter()
          Getter for property appendParameter.
 int getDividerAlbumViewPosition()
          Getter for property dividerAlbumViewPosition.
 int getDividerArtistViewPosition()
          Getter for property dividerArtistViewPosition.
 int getDividerGenreViewPosition()
          Getter for property dividerGenreViewPosition.
 int getDividerMainPosition()
          Getter for property dividerMainPosition.
 javax.swing.DefaultListModel getHiddenClipsTableColumns()
           
 java.lang.String getIPodPath()
          Getter for property iPodPath.
 int[][] getListViewColumnInfo()
          Getter for property listViewColumnInfo.
 java.lang.String getLookAndFeelName()
          Getter for property lookAndFeelName.
 java.awt.Rectangle getMainFramePosition()
          Getter for property mainFramePosition.
 java.lang.String getPlayerPath()
          Getter for property playerPath.
 java.lang.String getRecentExtPlayerPath()
          Getter for property recentExtPlayerPath.
 java.lang.String getRecentIPodPath()
          Getter for property recentIPodPath.
 java.lang.String getRecentPlaylistPath()
          Getter for property recentPlaylistPath.
 java.lang.String getRecentScanPath()
          Getter for property recentScanPath.
 java.util.Vector getShownClipsTableColumns()
           
 boolean isAddEnabled()
          Getter for property addEnabled.
 boolean isAppendEnabled()
          Getter for property appendEnabled.
 boolean isHideEmptyColumns()
          Getter for property hideEmptyColumns.
 boolean isOptimizeColumnWidth()
          Getter for property optimizeColumnWidth.
 void setAddEnabled(boolean addEnabled)
          Setter for property addEnabled.
 void setAddParameter(java.lang.String addParameter)
          Setter for property addParameter.
 void setAppendEnabled(boolean appendEnabled)
          Setter for property appendEnabled.
 void setAppendParameter(java.lang.String appendParameter)
          Setter for property appendParameter.
 void setDividerAlbumViewPosition(int dividerAlbumViewPosition)
          Setter for property dividerAlbumViewPosition.
 void setDividerArtistViewPosition(int dividerArtistViewPosition)
          Setter for property dividerArtistViewPosition.
 void setDividerGenreViewPosition(int dividerGenreViewPosition)
          Setter for property dividerGenreViewPosition.
 void setDividerMainPosition(int dividerMainPosition)
          Setter for property dividerMainPosition.
 void setHideEmptyColumns(boolean hideEmptyColumns)
          Setter for property hideEmptyColumns.
 void setIPodPath(java.lang.String iPodPath)
          Setter for property iPodPath.
 void setListViewColumnInfo(int[][] listViewColumnInfo)
          Setter for property listViewColumnInfo.
 void setLookAndFeelName(java.lang.String lookAndFeelName)
          Setter for property lookAndFeelName.
 void setMainFramePosition(java.awt.Rectangle mainFramePosition)
          Setter for property mainFramePosition.
 void setOptimizeColumnWidth(boolean optimizeColumnWidth)
          Setter for property optimizeColumnWidth.
 void setPlayerPath(java.lang.String playerPath)
          Setter for property playerPath.
 void setRecentExtPlayerPath(java.lang.String recentExtPlayerPath)
          Setter for property recentExtPlayerPath.
 void setRecentIPodPath(java.lang.String recentIPodPath)
          Setter for property recentIPodPath.
 void setRecentPlaylistPath(java.lang.String recentPlaylistPath)
          Setter for property recentPlaylistPath.
 void setRecentScanPath(java.lang.String recentScanPath)
          Setter for property recentScanPath.
 void setShownClipsTableColumns(java.util.Vector columnsToShow)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences()
Method Detail

clone

public java.lang.Object clone()
Clones preferences object

Returns:
clone

getMainFramePosition

public java.awt.Rectangle getMainFramePosition()
Getter for property mainFramePosition.

Returns:
Value of property mainFramePosition.

setMainFramePosition

public void setMainFramePosition(java.awt.Rectangle mainFramePosition)
Setter for property mainFramePosition.

Parameters:
mainFramePosition - New value of property mainFramePosition.

getIPodPath

public java.lang.String getIPodPath()
Getter for property iPodPath.

Returns:
Value of property iPodPath.

setIPodPath

public void setIPodPath(java.lang.String iPodPath)
Setter for property iPodPath.

Parameters:
iPodPath - New value of property iPodPath.

getPlayerPath

public java.lang.String getPlayerPath()
Getter for property playerPath.

Returns:
Value of property playerPath.

setPlayerPath

public void setPlayerPath(java.lang.String playerPath)
Setter for property playerPath.

Parameters:
playerPath - New value of property playerPath.

isAddEnabled

public boolean isAddEnabled()
Getter for property addEnabled.

Returns:
Value of property addEnabled.

setAddEnabled

public void setAddEnabled(boolean addEnabled)
Setter for property addEnabled.

Parameters:
addEnabled - New value of property addEnabled.

getAddParameter

public java.lang.String getAddParameter()
Getter for property addParameter.

Returns:
Value of property addParameter.

setAddParameter

public void setAddParameter(java.lang.String addParameter)
Setter for property addParameter.

Parameters:
addParameter - New value of property addParameter.

isAppendEnabled

public boolean isAppendEnabled()
Getter for property appendEnabled.

Returns:
Value of property appendEnabled.

setAppendEnabled

public void setAppendEnabled(boolean appendEnabled)
Setter for property appendEnabled.

Parameters:
appendEnabled - New value of property appendEnabled.

getAppendParameter

public java.lang.String getAppendParameter()
Getter for property appendParameter.

Returns:
Value of property appendParameter.

setAppendParameter

public void setAppendParameter(java.lang.String appendParameter)
Setter for property appendParameter.

Parameters:
appendParameter - New value of property appendParameter.

getListViewColumnInfo

public int[][] getListViewColumnInfo()
Getter for property listViewColumnInfo.

Returns:
Value of property listViewColumnInfo.

setListViewColumnInfo

public void setListViewColumnInfo(int[][] listViewColumnInfo)
Setter for property listViewColumnInfo.

Parameters:
listViewColumnInfo - New value of property listViewColumnInfo.

getRecentScanPath

public java.lang.String getRecentScanPath()
Getter for property recentScanPath.

Returns:
Value of property recentScanPath.

setRecentScanPath

public void setRecentScanPath(java.lang.String recentScanPath)
Setter for property recentScanPath.

Parameters:
recentScanPath - New value of property recentScanPath.

getRecentPlaylistPath

public java.lang.String getRecentPlaylistPath()
Getter for property recentPlaylistPath.

Returns:
Value of property recentPlaylistPath.

setRecentPlaylistPath

public void setRecentPlaylistPath(java.lang.String recentPlaylistPath)
Setter for property recentPlaylistPath.

Parameters:
recentPlaylistPath - New value of property recentPlaylistPath.

getRecentExtPlayerPath

public java.lang.String getRecentExtPlayerPath()
Getter for property recentExtPlayerPath.

Returns:
Value of property recentExtPlayerPath.

setRecentExtPlayerPath

public void setRecentExtPlayerPath(java.lang.String recentExtPlayerPath)
Setter for property recentExtPlayerPath.

Parameters:
recentExtPlayerPath - New value of property recentExtPlayerPath.

getRecentIPodPath

public java.lang.String getRecentIPodPath()
Getter for property recentIPodPath.

Returns:
Value of property recentIPodPath.

setRecentIPodPath

public void setRecentIPodPath(java.lang.String recentIPodPath)
Setter for property recentIPodPath.

Parameters:
recentIPodPath - New value of property recentIPodPath.

getLookAndFeelName

public java.lang.String getLookAndFeelName()
Getter for property lookAndFeelName.

Returns:
Value of property lookAndFeelName.

setLookAndFeelName

public void setLookAndFeelName(java.lang.String lookAndFeelName)
Setter for property lookAndFeelName.

Parameters:
lookAndFeelName - New value of property lookAndFeelName.

getDividerMainPosition

public int getDividerMainPosition()
Getter for property dividerMainPosition.

Returns:
Value of property dividerMainPosition.

setDividerMainPosition

public void setDividerMainPosition(int dividerMainPosition)
Setter for property dividerMainPosition.

Parameters:
dividerMainPosition - New value of property dividerMainPosition.

getDividerArtistViewPosition

public int getDividerArtistViewPosition()
Getter for property dividerArtistViewPosition.

Returns:
Value of property dividerArtistViewPosition.

setDividerArtistViewPosition

public void setDividerArtistViewPosition(int dividerArtistViewPosition)
Setter for property dividerArtistViewPosition.

Parameters:
dividerArtistViewPosition - New value of property dividerArtistViewPosition.

getDividerAlbumViewPosition

public int getDividerAlbumViewPosition()
Getter for property dividerAlbumViewPosition.

Returns:
Value of property dividerAlbumViewPosition.

setDividerAlbumViewPosition

public void setDividerAlbumViewPosition(int dividerAlbumViewPosition)
Setter for property dividerAlbumViewPosition.

Parameters:
dividerAlbumViewPosition - New value of property dividerAlbumViewPosition.

getDividerGenreViewPosition

public int getDividerGenreViewPosition()
Getter for property dividerGenreViewPosition.

Returns:
Value of property dividerGenreViewPosition.

setDividerGenreViewPosition

public void setDividerGenreViewPosition(int dividerGenreViewPosition)
Setter for property dividerGenreViewPosition.

Parameters:
dividerGenreViewPosition - New value of property dividerGenreViewPosition.

isOptimizeColumnWidth

public boolean isOptimizeColumnWidth()
Getter for property optimizeColumnWidth.

Returns:
Value of property optimizeColumnWidth.

setOptimizeColumnWidth

public void setOptimizeColumnWidth(boolean optimizeColumnWidth)
Setter for property optimizeColumnWidth.

Parameters:
optimizeColumnWidth - New value of property optimizeColumnWidth.

isHideEmptyColumns

public boolean isHideEmptyColumns()
Getter for property hideEmptyColumns.

Returns:
Value of property hideEmptyColumns.

setHideEmptyColumns

public void setHideEmptyColumns(boolean hideEmptyColumns)
Setter for property hideEmptyColumns.

Parameters:
hideEmptyColumns - New value of property hideEmptyColumns.

getHiddenClipsTableColumns

public javax.swing.DefaultListModel getHiddenClipsTableColumns()

getShownClipsTableColumns

public java.util.Vector getShownClipsTableColumns()

setShownClipsTableColumns

public void setShownClipsTableColumns(java.util.Vector columnsToShow)