daoc.editor.model
Class Settings
java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
daoc.editor.model.Settings
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class Settings
- extends java.util.Properties
Persistent settings.
- See Also:
- Serialized Form
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FILENAME
public static final java.lang.String FILENAME
- See Also:
- Constant Field Values
CUSTOM_DIR
public static final java.lang.String CUSTOM_DIR
- See Also:
- Constant Field Values
GAME_DIR
public static final java.lang.String GAME_DIR
- See Also:
- Constant Field Values
SHOW_WARNING
public static final java.lang.String SHOW_WARNING
- See Also:
- Constant Field Values
AUTO_LOAD
public static final java.lang.String AUTO_LOAD
- See Also:
- Constant Field Values
SHOW_DELETE_WARN
public static final java.lang.String SHOW_DELETE_WARN
- See Also:
- Constant Field Values
SHOW_SPLASH
public static final java.lang.String SHOW_SPLASH
- See Also:
- Constant Field Values
PREVIEW_SHOW_BG
public static final java.lang.String PREVIEW_SHOW_BG
- See Also:
- Constant Field Values
PREVIEW_BG_IMAGE
public static final java.lang.String PREVIEW_BG_IMAGE
- See Also:
- Constant Field Values
PREVIEW_SIZE
public static final java.lang.String PREVIEW_SIZE
- See Also:
- Constant Field Values
PREVIEW_COL_SELECT
public static final java.lang.String PREVIEW_COL_SELECT
- See Also:
- Constant Field Values
PREVIEW_COL_BG
public static final java.lang.String PREVIEW_COL_BG
- See Also:
- Constant Field Values
SAVE_INDENT
public static final java.lang.String SAVE_INDENT
- See Also:
- Constant Field Values
SAVE_SPACELINES
public static final java.lang.String SAVE_SPACELINES
- See Also:
- Constant Field Values
SAVE_TAGLINE
public static final java.lang.String SAVE_TAGLINE
- See Also:
- Constant Field Values
SAVE_ENCODING
public static final java.lang.String SAVE_ENCODING
- See Also:
- Constant Field Values
TB_COMPASS_SIZE
public static final java.lang.String TB_COMPASS_SIZE
- See Also:
- Constant Field Values
TB_PERFMON_SIZE
public static final java.lang.String TB_PERFMON_SIZE
- See Also:
- Constant Field Values
TB_RESIZE_FONT
public static final java.lang.String TB_RESIZE_FONT
- See Also:
- Constant Field Values
MISC_LEFTCLICK
public static final java.lang.String MISC_LEFTCLICK
- See Also:
- Constant Field Values
MISC_REMEMBERSIZES
public static final java.lang.String MISC_REMEMBERSIZES
- See Also:
- Constant Field Values
TIMES_LOADED
public static final java.lang.String TIMES_LOADED
- See Also:
- Constant Field Values
sizes
public static final java.awt.Dimension[] sizes
previewSizes
public static final java.lang.String[] previewSizes
encodings
public static final java.lang.String[] encodings
GD_EXT
public static final java.lang.String GD_EXT
- See Also:
- Constant Field Values
Settings
public Settings()
load
public void load()
save
public void save()
setDefaults
public void setDefaults()
getGameDir
public java.lang.String getGameDir()
validateGameDir
public static boolean validateGameDir(java.lang.String gameDir)
closeOnLeftClick
public boolean closeOnLeftClick()
showBackground
public boolean showBackground()
autoLoad
public boolean autoLoad()
showSplash
public boolean showSplash()
showDeleteWarning
public boolean showDeleteWarning()
rememberDialogSizes
public boolean rememberDialogSizes()
getPreviewSize
public java.awt.Dimension getPreviewSize()
getSelectColor
public java.awt.Color getSelectColor()
getBgColor
public java.awt.Color getBgColor()
getColor
public static java.awt.Color getColor(java.lang.String value)
getSaveIndent
public int getSaveIndent()
getSaveSpaceLines
public int getSaveSpaceLines()
getInt
public int getInt(java.lang.String key,
int defaultValue)
getTagLine
public java.lang.String getTagLine()
getBackgroundFile
public java.lang.String getBackgroundFile()
compassSmall
public boolean compassSmall()
perfMonSmall
public boolean perfMonSmall()
getEncoding
public int getEncoding()
getTimesLoaded
public int getTimesLoaded()
incTimesLoaded
public void incTimesLoaded()
addPropertyChangeListener
public void addPropertyChangeListener(IPropertyChangeListener l)
removePropertyChangeListener
public void removePropertyChangeListener(IPropertyChangeListener l)
setProperty
public java.lang.Object setProperty(java.lang.String arg0,
java.lang.String arg1)