public class SessionState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
SessionState.LayerStateFilename |
Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<java.lang.String> |
LAYER_STATE_FILENAME_COMPARATOR |
protected static java.lang.String |
LAYER_STATE_FILENAME_DELIMITER |
protected static java.lang.String |
LAYER_STATE_PATH |
protected java.lang.String |
sessionKey |
protected static java.lang.String |
VIEW_STATE_PATH |
Constructor and Description |
---|
SessionState(java.lang.String sessionKey) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
composeLayerStateFilename(java.lang.String className,
int index) |
protected Layer |
findLayer(LayerList layers,
java.lang.String layerName) |
protected java.lang.String |
getLayerStatePath() |
java.lang.String |
getSessionKey() |
protected java.lang.String |
getSessionStatePath() |
protected java.lang.String |
getViewStatePath() |
protected boolean |
isLayerRestorable(Layer layer) |
protected static SessionState.LayerStateFilename |
parseLayerStateFilename(java.lang.String filename) |
protected void |
restoreLayerListState(WorldWindow worldWindow) |
protected Layer |
restoreLayerState(java.io.File stateFile) |
void |
restoreSessionState(WorldWindow worldWindow) |
protected void |
restoreViewState(WorldWindow worldWindow) |
protected void |
saveLayerListState(WorldWindow worldWindow) |
protected void |
saveLayerState(Layer layer,
java.io.File stateFile) |
void |
saveSessionState(WorldWindow worldWindow) |
protected void |
saveViewState(WorldWindow worldWindow) |
protected static final java.util.Comparator<java.lang.String> LAYER_STATE_FILENAME_COMPARATOR
protected static final java.lang.String LAYER_STATE_FILENAME_DELIMITER
protected static final java.lang.String LAYER_STATE_PATH
protected java.lang.String sessionKey
protected static final java.lang.String VIEW_STATE_PATH
protected static java.lang.String composeLayerStateFilename(java.lang.String className, int index)
protected java.lang.String getLayerStatePath()
public java.lang.String getSessionKey()
protected java.lang.String getSessionStatePath()
protected java.lang.String getViewStatePath()
protected boolean isLayerRestorable(Layer layer)
protected static SessionState.LayerStateFilename parseLayerStateFilename(java.lang.String filename)
protected void restoreLayerListState(WorldWindow worldWindow)
protected Layer restoreLayerState(java.io.File stateFile)
public void restoreSessionState(WorldWindow worldWindow)
protected void restoreViewState(WorldWindow worldWindow)
protected void saveLayerListState(WorldWindow worldWindow)
protected void saveLayerState(Layer layer, java.io.File stateFile)
public void saveSessionState(WorldWindow worldWindow)
protected void saveViewState(WorldWindow worldWindow)