public class CoolMapState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static CoolMapState |
createFromStateConfig(java.lang.String operationName,
CoolMapObject object,
CoolMapState stateWithConfig)
create a coolmapstate from a coolmapobject, jusing parameters from
another state
|
static CoolMapState |
createState(java.lang.String operationName,
CoolMapObject object,
org.json.JSONObject config)
create a state that stores rows, columns and selections,
|
CoolMapState |
duplicate() |
java.util.ArrayList<VNode> |
getColumnBaseNodes() |
java.util.ArrayList<VNode> |
getColumnTreeNodes() |
org.json.JSONObject |
getConfig() |
java.lang.String |
getCoolMapObjectID() |
java.lang.String |
getDumpString() |
java.awt.Point |
getMapAnchor() |
java.lang.String |
getOperationName()
returns the name of this operation
|
java.util.ArrayList<VNode> |
getRowBaseNodes() |
java.util.ArrayList<VNode> |
getRowTreeNodes() |
java.util.Set<java.awt.Rectangle> |
getSelections() |
java.util.List<com.google.common.collect.Range<java.lang.Integer>> |
getSelectionsColumn() |
java.util.List<com.google.common.collect.Range<java.lang.Integer>> |
getSelectionsRow() |
boolean |
loggedColumns() |
boolean |
loggedRows() |
boolean |
loggedSelections() |
void |
setOperationName(java.lang.String newName) |
java.lang.String |
toString() |
java.lang.String |
toSynopsis() |
public java.awt.Point getMapAnchor()
public java.lang.String getCoolMapObjectID()
public boolean loggedRows()
public boolean loggedColumns()
public boolean loggedSelections()
public org.json.JSONObject getConfig()
public static CoolMapState createState(java.lang.String operationName, CoolMapObject object, org.json.JSONObject config)
operationName
- object
- config
- public CoolMapState duplicate()
public static CoolMapState createFromStateConfig(java.lang.String operationName, CoolMapObject object, CoolMapState stateWithConfig)
operationName
- object
- stateWithConfig
- public java.util.List<com.google.common.collect.Range<java.lang.Integer>> getSelectionsRow()
public java.util.List<com.google.common.collect.Range<java.lang.Integer>> getSelectionsColumn()
public java.util.Set<java.awt.Rectangle> getSelections()
public java.util.ArrayList<VNode> getRowTreeNodes()
public java.util.ArrayList<VNode> getRowBaseNodes()
public java.util.ArrayList<VNode> getColumnTreeNodes()
public java.util.ArrayList<VNode> getColumnBaseNodes()
public java.lang.String getDumpString()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toSynopsis()
public java.lang.String getOperationName()
public void setOperationName(java.lang.String newName)