|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.gui.ViewportsEventHandler
Field Summary | |
static int |
IDLE
Indicates that the handler is in idle state, when picking is enabled and no manipulation of objects can be performed. |
static int |
TRANSFORMING
Indicates that the handler is in transforming state, when picking is disabled and the currently selected object can be manipulated. |
Constructor Summary | |
ViewportsEventHandler()
|
|
ViewportsEventHandler(GUIControl guiControl)
|
Method Summary | |
void |
addViewportFrame(ViewportFrame vpFrame)
|
ViewportsEventHandler |
getViewportEventsHandler(GUIControl guiControl)
Desperate singleton |
void |
selectionChanged(SelectionChangedEvent event)
Informs this object of changes made to the list of selected objects. |
void |
setSelectedManipulationAction(TransformType type)
|
void |
setSelectedManipulationMode(TransformMode mode)
|
void |
setSelectedManipulationScope(TransformScope scope)
|
void |
setViewportWindowManager(ViewportWindowManager manager)
Needed to disable/enable picking of objects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TRANSFORMING
public static final int IDLE
Constructor Detail |
public ViewportsEventHandler(GUIControl guiControl)
public ViewportsEventHandler()
Method Detail |
public ViewportsEventHandler getViewportEventsHandler(GUIControl guiControl)
public void addViewportFrame(ViewportFrame vpFrame)
public void setSelectedManipulationAction(TransformType type)
public void setSelectedManipulationScope(TransformScope scope)
public void setSelectedManipulationMode(TransformMode mode)
public void setViewportWindowManager(ViewportWindowManager manager)
public void selectionChanged(SelectionChangedEvent event)
selectionChanged
in interface SelectionChangeListener
event
- Contains information about the change in selection.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |