|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.space.envsupport.dataview.GeneralDataView2D
public class GeneralDataView2D
A general 2D view that presents all Objects in a Space2D to the observer.
| Field Summary | |
|---|---|
protected boolean |
dirty
Flag whether the view needs updating |
protected Object |
monitor
Internal lock |
protected Object[] |
objects
The current objects |
protected Space2D |
space
The space the view is connected to |
| Fields inherited from interface jadex.application.space.envsupport.dataview.IDataView |
|---|
SIMPLE_VIEW_2D |
| Constructor Summary | |
|---|---|
GeneralDataView2D()
Creates a general 2D view that presents all Objects in a Space2D to the observer. |
|
| Method Summary | |
|---|---|
Object[] |
getObjects()
Returns a list of objects in this view |
String |
getType()
Returns the type of the view. |
void |
init(IEnvironmentSpace space,
Map props)
Init the space. |
void |
update(IEnvironmentSpace space)
Updates the view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Space2D space
protected Object[] objects
protected boolean dirty
protected Object monitor
| Constructor Detail |
|---|
public GeneralDataView2D()
| Method Detail |
|---|
public void init(IEnvironmentSpace space,
Map props)
init in interface IDataViewpublic String getType()
getType in interface IDataViewpublic Object[] getObjects()
getObjects in interface IDataViewpublic void update(IEnvironmentSpace space)
update in interface IDataViewspace - the space of the view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||