org.rubato.composer.preferences
Class UserPreferences

java.lang.Object
  extended by org.rubato.composer.preferences.UserPreferences

public final class UserPreferences
extends java.lang.Object


Method Summary
 boolean getAskBeforeLeaving()
           
 java.io.File getCurrentDirectory()
           
 int getDefaultQuantization()
           
 java.awt.Color getEntryErrorColor()
           
 java.awt.Rectangle getGeometry()
           
 boolean getGeometrySaved()
           
 int getLinkType()
           
 boolean getMaximized()
           
 java.util.LinkedList<java.io.File> getRecentFiles()
           
 boolean getShowProgress()
           
static UserPreferences getUserPreferences()
           
 void save()
           
 void setAskBeforeLeaving(boolean b)
           
 void setCurrentDirectory(java.io.File file)
           
 void setDefaultQuantization(int q)
           
 void setGeometry(int x, int y, int width, int height)
           
 void setGeometrySaved(boolean b)
           
 void setLinkType(int type)
           
 void setMaximized(boolean b)
           
 void setRecentFiles(java.util.LinkedList<java.io.File> files)
           
 void setShowProgress(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUserPreferences

public static UserPreferences getUserPreferences()

save

public void save()

setMaximized

public void setMaximized(boolean b)

getMaximized

public boolean getMaximized()

getGeometrySaved

public boolean getGeometrySaved()

setGeometrySaved

public void setGeometrySaved(boolean b)

setGeometry

public void setGeometry(int x,
                        int y,
                        int width,
                        int height)

getGeometry

public java.awt.Rectangle getGeometry()

setLinkType

public void setLinkType(int type)

getLinkType

public int getLinkType()

setAskBeforeLeaving

public void setAskBeforeLeaving(boolean b)

getAskBeforeLeaving

public boolean getAskBeforeLeaving()

setDefaultQuantization

public void setDefaultQuantization(int q)

getDefaultQuantization

public int getDefaultQuantization()

setCurrentDirectory

public void setCurrentDirectory(java.io.File file)

getCurrentDirectory

public java.io.File getCurrentDirectory()

getEntryErrorColor

public java.awt.Color getEntryErrorColor()

getRecentFiles

public java.util.LinkedList<java.io.File> getRecentFiles()

setRecentFiles

public void setRecentFiles(java.util.LinkedList<java.io.File> files)

setShowProgress

public void setShowProgress(boolean b)

getShowProgress

public boolean getShowProgress()