| java.lang.Object com.sshtools.common.ui.PreferencesStore
PreferencesStore | public class PreferencesStore (Code) | | author: $author$ version: $Revision: 1.16 $ |
Field Summary | |
protected static Log | log |
Method Summary | |
public static String | get(String name, String def) | public static boolean | getBoolean(String name, boolean def) | public static double | getDouble(String name, double def) | public static int | getInt(String name, int def) | public static Rectangle | getRectangle(String name, Rectangle def) | public static void | init(File file) | public static boolean | isStoreAvailable() | public static boolean | preferenceExists(String name) | public static void | put(String name, String val) | public static void | putBoolean(String name, boolean val) | public static void | putDouble(String name, double val) | public static void | putInt(String name, int val) | public static void | putRectangle(String name, Rectangle val) | public static boolean | removePreference(String name) | public static void | restoreTableMetrics(JTable table, String pref, int[] defaultWidths) | public static void | savePreferences() | public static void | saveTableMetrics(JTable table, String pref) |
log | protected static Log log(Code) | | |
getBoolean | public static boolean getBoolean(String name, boolean def)(Code) | | Parameters: name - Parameters: def - |
getDouble | public static double getDouble(String name, double def)(Code) | | Parameters: name - Parameters: def - |
getInt | public static int getInt(String name, int def)(Code) | | Parameters: name - Parameters: def - |
init | public static void init(File file)(Code) | | Parameters: file - |
isStoreAvailable | public static boolean isStoreAvailable()(Code) | | |
preferenceExists | public static boolean preferenceExists(String name)(Code) | | Parameters: name - |
put | public static void put(String name, String val)(Code) | | Parameters: name - Parameters: val - |
putBoolean | public static void putBoolean(String name, boolean val)(Code) | | Parameters: name - Parameters: val - |
putDouble | public static void putDouble(String name, double val)(Code) | | Parameters: name - Parameters: val - |
putInt | public static void putInt(String name, int val)(Code) | | Parameters: name - Parameters: val - |
putRectangle | public static void putRectangle(String name, Rectangle val)(Code) | | Parameters: name - Parameters: val - |
removePreference | public static boolean removePreference(String name)(Code) | | Parameters: name - |
restoreTableMetrics | public static void restoreTableMetrics(JTable table, String pref, int[] defaultWidths)(Code) | | Parameters: table - Parameters: pref - Parameters: defaultWidths - throws: IllegalArgumentException - |
savePreferences | public static void savePreferences()(Code) | | |
saveTableMetrics | public static void saveTableMetrics(JTable table, String pref)(Code) | | Parameters: table - Parameters: pref - |
|
|