| Modifier and Type | Class and Description |
|---|---|
class |
JSplitPaneState
State for JSplit
FIXME add listener for divider move action
|
class |
JTabbedPaneState
State for the JTabbedPane
|
class |
JTableState
State for JTable.
|
class |
JXTableSwingSessionState |
class |
WindowState
State for Window
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class,State> |
SwingSession.stateManager
State object registered to get and set State.
|
protected Map<String,State> |
SwingSession.states
state of all component added with add method.
|
| Modifier and Type | Method and Description |
|---|---|
State |
JTableState.getState(Object o) |
State |
WindowState.getState(Object o) |
State |
JTabbedPaneState.getState(Object o) |
State |
State.getState(Object o) |
State |
JXTableSwingSessionState.getState(Object o) |
State |
JSplitPaneState.getState(Object o) |
State |
SwingSession.getStateManager(Class clazz) |
State |
SwingSession.getStates(String path) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,State> |
SwingSession.loadStates(File file)
Loads the states from the file
|
| Modifier and Type | Method and Description |
|---|---|
void |
SwingSession.addToStateManager(Class component,
State state) |
void |
JTableState.setState(Object o,
State state) |
void |
WindowState.setState(Object o,
State state) |
void |
JTabbedPaneState.setState(Object o,
State state) |
void |
State.setState(Object o,
State state) |
void |
JXTableSwingSessionState.setState(Object o,
State state) |
void |
JSplitPaneState.setState(Object o,
State state) |
void |
SwingSession.setStates(String path,
State state) |
| Modifier and Type | Method and Description |
|---|---|
static SwingSession |
SwingSession.newSession(File file,
boolean autoSave,
Map<Class,State> additionalStates)
Deprecated.
since 2.10, the default behaviour is now to safely load the incoming file
|
| Constructor and Description |
|---|
SwingSession(File file,
boolean autoSave,
Map<Class,State> additionalStates) |
Copyright © 2008–2018 Ultreia.io. All rights reserved.