net.sf.dc.settings
Class DcSettings
java.lang.Object
net.sf.dc.settings.DcSettings
- public class DcSettings
- extends java.lang.Object
Groups are created here, as well as the settings. A similar class like this
needs to be implemented in the project which uses jFlexSett.
All settings and their values (and the settings groups) can
be found by referencing to the Settings class.
- Since:
- 1.3
- Version:
- 0.5
- Author:
- Robert Jan van der Waals
Constructor Summary |
DcSettings()
Starts the initialization of the Settings and starts the UI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_General
public static final java.lang.String _General
_FileHandlers
public static final java.lang.String _FileHandlers
_BackGroundColor
public static final java.lang.String _BackGroundColor
_TableColors
public static final java.lang.String _TableColors
_OddRowColor
public static final java.lang.String _OddRowColor
_EvenRowColor
public static final java.lang.String _EvenRowColor
_HeaderColor
public static final java.lang.String _HeaderColor
_RowSelectionColor
public static final java.lang.String _RowSelectionColor
_HTTP
public static final java.lang.String _HTTP
_Font
public static final java.lang.String _Font
DcSettings
public DcSettings()
- Starts the initialization of the Settings and starts the UI
save
public static void save()
getView
public static SettingsView getView(javax.swing.JFrame parent)
getValue
public static java.lang.Object getValue(java.lang.String key)
getValueAsDefinitionGroup
public static Definitions getValueAsDefinitionGroup(java.lang.String key)
getValueAsStringArray
public static java.lang.String[] getValueAsStringArray(java.lang.String key)
getValueAsIntegerArray
public static int[] getValueAsIntegerArray(java.lang.String key)
getValueAsFont
public static java.awt.Font getValueAsFont(java.lang.String key)
getValueAsInt
public static int getValueAsInt(java.lang.String key)
getValueAsBoolean
public static boolean getValueAsBoolean(java.lang.String key)
getValueAsColor
public static java.awt.Color getValueAsColor(java.lang.String key)
getValueAsDimension
public static java.awt.Dimension getValueAsDimension(java.lang.String key)
getValueAsString
public static java.lang.String getValueAsString(java.lang.String key)
setValue
public static void setValue(java.lang.String key,
java.lang.Object value)
setStringAsValue
public static void setStringAsValue(java.lang.String key,
java.lang.String value)