Interface IPerspective
- 
- All Superinterfaces:
- IPropertyObject,- ITypedPropertyObject
 - All Known Implementing Classes:
- Perspective2D,- Perspective3D
 
 public interface IPerspective extends ITypedPropertyObject A perspective responsible for displaying information gathered using a view.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddVisual(java.lang.Object id, java.lang.Object visual)Adds a new visual object.java.lang.StringgetName()Returns the name of the perspectiveIObserverCentergetObserverCenter()Get the ObserverCenter.booleangetOpenGl()Gets whether to try to use OpenGL.java.lang.ObjectgetSelectedObject()Returns the currently selected object.java.awt.ComponentgetView()Gets the view component of the perspective.voidrefresh()Refreshes the perspective.voidremoveVisual(java.lang.Object id)Removes a new visual object.voidreset()Resets position and flushes render infovoidresetZoomAndPosition()Resets position of the perspective.voidsetName(java.lang.String name)Sets the name of the perspectivevoidsetObserverCenter(IObserverCenter obscenter)Sets the ObserverCenter.booleansetOpenGl(boolean opengl)Sets whether to try to use OpenGL.voidsetSelectedObject(java.lang.Object obj)Sets the selected object.- 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 - 
Methods inherited from interface jadex.commons.meta.ITypedPropertyObjectgetMetaData, getMetaDatas
 
- 
 
- 
- 
- 
Method Detail- 
getNamejava.lang.String getName() Returns the name of the perspective- Returns:
- name of the perspective
 
 - 
setNamevoid setName(java.lang.String name) Sets the name of the perspective- Parameters:
- name- name of the perspective
 
 - 
getSelectedObjectjava.lang.Object getSelectedObject() Returns the currently selected object.- Returns:
- currently selected object
 
 - 
setSelectedObjectvoid setSelectedObject(java.lang.Object obj) Sets the selected object.- Parameters:
- obj- selected object
 
 - 
setObserverCentervoid setObserverCenter(IObserverCenter obscenter) Sets the ObserverCenter.- Parameters:
- obscenter- the ObserverCenter
 
 - 
getObserverCenterIObserverCenter getObserverCenter() Get the ObserverCenter.- Returns:
- The observer center.
 
 - 
addVisualvoid addVisual(java.lang.Object id, java.lang.Object visual)Adds a new visual object.- Parameters:
- id- identifier of the object
- visual- the visual object
 
 - 
removeVisualvoid removeVisual(java.lang.Object id) Removes a new visual object.- Parameters:
- id- identifier of the object
 
 - 
getViewjava.awt.Component getView() Gets the view component of the perspective.- Returns:
- the view component
 
 - 
refreshvoid refresh() Refreshes the perspective.
 - 
getOpenGlboolean getOpenGl() Gets whether to try to use OpenGL.- Returns:
- true, if attempt should be made to use OpenGL
 
 - 
resetZoomAndPositionvoid resetZoomAndPosition() Resets position of the perspective.
 - 
resetvoid reset() Resets position and flushes render info
 - 
setOpenGlboolean setOpenGl(boolean opengl) Sets whether to try to use OpenGL.- Parameters:
- opengl- true, if attempt should be made to use OpenGL
 
 
- 
 
-