public class WidgetUserGroup extends Widget implements DataStorageListener
Widget.WidgetGroup
L_DATAPORT, L_LEFTBOTTOM, L_LEFTTOP, L_VIEWPORT, W_DATA, W_MODULE, W_VIEWPORT
Constructor and Description |
---|
WidgetUserGroup() |
Modifier and Type | Method and Description |
---|---|
void |
baseMatrixAdded(CoolMapMatrix newMatrix) |
void |
baseMatrixToBeRemoved(CoolMapMatrix matrixToBeRemoved) |
void |
coolMapObjectAdded(CoolMapObject newObject) |
void |
coolMapObjectToBeDestroyed(CoolMapObject objectToBeDestroyed) |
void |
coolMapViewAdded(CoolMapObject object) |
void |
coolMapViewDestroyed(CoolMapObject viewDestroyedCoolMapObject) |
org.json.JSONObject |
getCurrentState()
state and be persisted using JSON
|
void |
ontologyAdded(CoolMapOntologyImpl ontology) |
void |
ontologyToBeDestroyed(CoolMapOntologyImpl ontology) |
boolean |
restoreState(org.json.JSONObject savedState)
state can be restored from JSON
|
getContentPane, getDockable, getName, getPreferredLocation, getWidgetGroup, setPreferredLocation, setTitle
public boolean restoreState(org.json.JSONObject savedState)
StateSavable
restoreState
in interface StateSavable
restoreState
in class Widget
public org.json.JSONObject getCurrentState()
StateSavable
getCurrentState
in interface StateSavable
getCurrentState
in class Widget
public void coolMapObjectAdded(CoolMapObject newObject)
coolMapObjectAdded
in interface DataStorageListener
public void coolMapObjectToBeDestroyed(CoolMapObject objectToBeDestroyed)
coolMapObjectToBeDestroyed
in interface DataStorageListener
public void baseMatrixAdded(CoolMapMatrix newMatrix)
baseMatrixAdded
in interface DataStorageListener
public void baseMatrixToBeRemoved(CoolMapMatrix matrixToBeRemoved)
baseMatrixToBeRemoved
in interface DataStorageListener
public void ontologyAdded(CoolMapOntologyImpl ontology)
ontologyAdded
in interface DataStorageListener
public void ontologyToBeDestroyed(CoolMapOntologyImpl ontology)
ontologyToBeDestroyed
in interface DataStorageListener
public void coolMapViewDestroyed(CoolMapObject viewDestroyedCoolMapObject)
coolMapViewDestroyed
in interface DataStorageListener
public void coolMapViewAdded(CoolMapObject object)
coolMapViewAdded
in interface DataStorageListener