public class Scene3DTool extends Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
Scene3DTool.Scene3DControl
An inner class to provide inspector manipulation of a Scene3D's 3D orientation.
|
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
Scene3DTool() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getShapeClass()
Returns the class that this tool is responsible for.
|
RJPanel |
getUI()
Returns the Swing UI panel.
|
java.lang.String |
getWindowTitle()
Returns the name of this tool for the inspector window.
|
boolean |
isInstance(java.lang.Object anObj)
Returns whether an object can be edited by this tool.
|
void |
mouseDragged(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
mousePressed(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
mouseReleased(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
reset(RMScene3D aScene)
Updates the Swing GUI from the given scene.
|
void |
resetUI()
Updates Swing UI panel from currently selected scene3d.
|
void |
respondUI(java.lang.Object anObj)
Updates currently selected scene 3d from Swing UI panel controls.
|
void |
respondUI(java.lang.Object anObj,
RMScene3D aScene)
Updates the given scene 3d from Swing UI panel controls.
|
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isSelected, isSuperSelected, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditorclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic void resetUI()
public void reset(RMScene3D aScene)
public void respondUI(java.lang.Object anObj)
public void respondUI(java.lang.Object anObj,
RMScene3D aScene)
public java.lang.Class getShapeClass()
getShapeClass in class Toolpublic boolean isInstance(java.lang.Object anObj)
isInstance in class Toolpublic java.lang.String getWindowTitle()
getWindowTitle in class Toolpublic void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
mousePressed in class Toolpublic void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseDragged in class Toolpublic void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseReleased in class Tool