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