All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.extension.envsupport.dataview.IDataView Maven / Gradle / Ivy

Go to download

The Jadex kernel extension envsupport allows for using 2D spaces in concert with components.

There is a newer version: 3.0.117
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy