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.RMShapeHandle
HandleMaxXMaxY, 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, willLoseSuperSelectionInEditor
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public 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 Tool
public boolean isInstance(java.lang.Object anObj)
isInstance
in class Tool
public java.lang.String getWindowTitle()
getWindowTitle
in class Tool
public void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
mousePressed
in class Tool
public void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseDragged
in class Tool
public void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseReleased
in class Tool