public interface IPerspective extends ITypedPropertyObject
Modifier and Type | Method and Description |
---|---|
void |
addVisual(java.lang.Object id,
java.lang.Object visual)
Adds a new visual object.
|
java.lang.String |
getName()
Returns the name of the perspective
|
IObserverCenter |
getObserverCenter()
Get the ObserverCenter.
|
boolean |
getOpenGl()
Gets whether to try to use OpenGL.
|
java.lang.Object |
getSelectedObject()
Returns the currently selected object.
|
java.awt.Component |
getView()
Gets the view component of the perspective.
|
void |
refresh()
Refreshes the perspective.
|
void |
removeVisual(java.lang.Object id)
Removes a new visual object.
|
void |
reset()
Resets position and flushes render info
|
void |
resetZoomAndPosition()
Resets position of the perspective.
|
void |
setName(java.lang.String name)
Sets the name of the perspective
|
void |
setObserverCenter(IObserverCenter obscenter)
Sets the ObserverCenter.
|
boolean |
setOpenGl(boolean opengl)
Sets whether to try to use OpenGL.
|
void |
setSelectedObject(java.lang.Object obj)
Sets the selected object.
|
getMetaData, getMetaDatas
getProperty, getPropertyNames, hasProperty, setProperty
java.lang.String getName()
void setName(java.lang.String name)
name
- name of the perspectivejava.lang.Object getSelectedObject()
void setSelectedObject(java.lang.Object obj)
obj
- selected objectvoid setObserverCenter(IObserverCenter obscenter)
obscenter
- the ObserverCenterIObserverCenter getObserverCenter()
void addVisual(java.lang.Object id, java.lang.Object visual)
id
- identifier of the objectvisual
- the visual objectvoid removeVisual(java.lang.Object id)
id
- identifier of the objectjava.awt.Component getView()
void refresh()
boolean getOpenGl()
void resetZoomAndPosition()
void reset()
boolean setOpenGl(boolean opengl)
opengl
- true, if attempt should be made to use OpenGL