Modifier and Type | Field and Description |
---|---|
protected boolean |
dirty
Flag whether the view needs updating
|
protected java.lang.Object |
monitor
Internal lock
|
protected java.lang.Object[] |
objects
The current objects
|
protected Space2D |
space
The space the view is connected to
|
SIMPLE_VIEW_2D
Constructor and Description |
---|
GeneralDataView2D3D()
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 GeneralDataView2D3D()
public void init(IEnvironmentSpace space, java.util.Map props)
public java.lang.String getType()
public java.lang.Object[] getObjects()
getObjects
in interface IDataView
public void update(IEnvironmentSpace space)