org.xnap.commons.settings
Class SettingStore
java.lang.Object
org.xnap.commons.settings.SettingStore
public class SettingStore
- extends Object
The idea is to provide a store that can save and restore GUI settings
that are only accessed on startup and shutdown of the application.
- Author:
- Steffen Pingel
Method Summary |
SettingResource |
getBackStore()
|
void |
restoreSplitPane(String key,
int defaultDividerLocation,
JSplitPane splitPane)
|
void |
restoreTable(String key,
String[] defaultColumns,
TableLayout tableLayout)
|
void |
restoreWindow(String key,
int defaultX,
int defaultY,
int defaultWidth,
int defaultHeight,
Window window)
|
void |
saveSplitPane(String key,
JSplitPane splitPane)
|
void |
saveTable(String key,
TableLayout tableLayout)
|
void |
saveWindow(String key,
Window window)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SettingStore
public SettingStore(SettingResource backStore)
getBackStore
public SettingResource getBackStore()
saveSplitPane
public void saveSplitPane(String key,
JSplitPane splitPane)
saveWindow
public void saveWindow(String key,
Window window)
saveTable
public void saveTable(String key,
TableLayout tableLayout)
restoreSplitPane
public void restoreSplitPane(String key,
int defaultDividerLocation,
JSplitPane splitPane)
restoreWindow
public void restoreWindow(String key,
int defaultX,
int defaultY,
int defaultWidth,
int defaultHeight,
Window window)
restoreTable
public void restoreTable(String key,
String[] defaultColumns,
TableLayout tableLayout)
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.