jadex.application.space.envsupport.dataview
Class LocalDataView2D

java.lang.Object
  extended by jadex.application.space.envsupport.dataview.LocalDataView2D
All Implemented Interfaces:
IDataView

public class LocalDataView2D
extends Object
implements IDataView

A view showing only objects in a local range.


Field Summary
protected  ISpaceObject object
          The space object, which is the center of the view.
protected  Object range
          The range of the view.
protected  Space2D space
          The space.
 
Fields inherited from interface jadex.application.space.envsupport.dataview.IDataView
SIMPLE_VIEW_2D
 
Constructor Summary
LocalDataView2D()
           
 
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)
          Set the space of this view.
 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

space

protected Space2D space
The space.


object

protected ISpaceObject object
The space object, which is the center of the view.


range

protected Object range
The range of the view.

Constructor Detail

LocalDataView2D

public LocalDataView2D()
Method Detail

getType

public String getType()
Returns the type of the view.

Specified by:
getType in interface IDataView
Returns:
type of the view

getObjects

public Object[] getObjects()
Returns a list of objects in this view

Specified by:
getObjects in interface IDataView
Returns:
list of objects

update

public void update(IEnvironmentSpace space)
Updates the view.

Specified by:
update in interface IDataView
Parameters:
space - the space of the view

init

public void init(IEnvironmentSpace space,
                 Map props)
Set the space of this view.

Specified by:
init in interface IDataView


Copyright © 2010. All Rights Reserved.