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