| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | dirtyFlag whether the view needs updating | 
| protected java.lang.Object | monitorInternal lock | 
| protected java.lang.Object[] | objectsThe current objects | 
| protected Space2D | spaceThe space the view is connected to | 
SIMPLE_VIEW_2D| Constructor and Description | 
|---|
| GeneralDataView2D()Creates a general 2D view that presents all Objects in a Space2D to the observer. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object[] | getObjects()Returns a list of objects in this view | 
| java.lang.String | getType()Returns the type of the view. | 
| void | init(IEnvironmentSpace space,
    java.util.Map props)Init the space. | 
| void | update(IEnvironmentSpace space)Updates the view. | 
protected Space2D space
protected java.lang.Object[] objects
protected boolean dirty
protected java.lang.Object monitor
public GeneralDataView2D()
public void init(IEnvironmentSpace space, java.util.Map props)
public java.lang.String getType()
public java.lang.Object[] getObjects()
getObjects in interface IDataViewpublic void update(IEnvironmentSpace space)