jadex.extension.envsupport.dataview.IDataView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-extension-envsupport Show documentation
Show all versions of jadex-kernel-extension-envsupport Show documentation
The Jadex kernel extension envsupport allows for using 2D spaces in concert with components.
package jadex.extension.envsupport.dataview;
import java.util.Map;
import jadex.extension.envsupport.environment.IEnvironmentSpace;
/**
* View used by an observer to display part of the environment
*/
public interface IDataView
{
// view types
public static final String SIMPLE_VIEW_2D = "Simple 2D View";
//-------- methods --------
/**
* Initialize the view.
*/
// todo: other form of initialization?
public void init(IEnvironmentSpace space, Map properties);
/**
* Returns the type of the view.
* @return type of the view
*/
public String getType();
/**
* Returns a list of objects in this view
* @return list of objects
*/
public Object[] getObjects();
/**
* Updates the view.
*
* @param space the space of the view
*/
public void update(IEnvironmentSpace space);
}