Class GeneralDataView2D
- java.lang.Object
- 
- jadex.extension.envsupport.dataview.GeneralDataView2D
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleandirtyFlag whether the view needs updatingprotected java.lang.ObjectmonitorInternal lockprotected java.lang.Object[]objectsThe current objectsprotected Space2DspaceThe space the view is connected to- 
Fields inherited from interface jadex.extension.envsupport.dataview.IDataViewSIMPLE_VIEW_2D
 
- 
 - 
Constructor SummaryConstructors Constructor Description GeneralDataView2D()Creates a general 2D view that presents all Objects in a Space2D to the observer.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getObjects()Returns a list of objects in this viewjava.lang.StringgetType()Returns the type of the view.voidinit(IEnvironmentSpace space, java.util.Map props)Init the space.voidupdate(IEnvironmentSpace space)Updates the view.
 
- 
- 
- 
Field Detail- 
spaceprotected Space2D space The space the view is connected to
 - 
objectsprotected java.lang.Object[] objects The current objects
 - 
dirtyprotected boolean dirty Flag whether the view needs updating
 - 
monitorprotected java.lang.Object monitor Internal lock
 
- 
 - 
Method Detail- 
initpublic void init(IEnvironmentSpace space, java.util.Map props) Init the space.
 - 
getTypepublic java.lang.String getType() Returns the type of the view.
 - 
getObjectspublic java.lang.Object[] getObjects() Returns a list of objects in this view- Specified by:
- getObjectsin interface- IDataView
- Returns:
- list of objects
 
 - 
updatepublic void update(IEnvironmentSpace space) Updates the view.
 
- 
 
-