Package com.reportmill.panels
Class Scene3DTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.Scene3DTool
- All Implemented Interfaces:
RMArchiver.Archiving,Cloneable
Tool for editing RMScene3D in Swing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn inner class to provide inspector manipulation of a Scene3D's 3D orientation.Nested classes/interfaces inherited from class com.reportmill.panels.Tool
Tool.RMShapeHandle -
Field Summary
Fields inherited from class com.reportmill.panels.Tool
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class that this tool is responsible for.getUI()Returns the Swing UI panel.Returns the name of this tool for the inspector window.booleanisInstance(Object anObj) Returns whether an object can be edited by this tool.voidmouseDragged(RMShape aShape, MouseEvent anEvent) Event handler for editing.voidmousePressed(RMShape aShape, MouseEvent anEvent) Event handler for editing.voidmouseReleased(RMShape aShape, MouseEvent anEvent) Event handler for editing.voidUpdates the Swing GUI from the given scene.voidresetUI()Updates Swing UI panel from currently selected scene3d.voidUpdates currently selected scene 3d from Swing UI panel controls.voidUpdates the given scene 3d from Swing UI panel controls.Methods inherited from class com.reportmill.panels.Tool
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, willLoseSuperSelectionInEditorMethods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
Scene3DTool
public Scene3DTool()
-
-
Method Details
-
getUI
Returns the Swing UI panel. -
resetUI
public void resetUI()Updates Swing UI panel from currently selected scene3d. -
reset
Updates the Swing GUI from the given scene. -
respondUI
Updates currently selected scene 3d from Swing UI panel controls. -
respondUI
Updates the given scene 3d from Swing UI panel controls. -
getShapeClass
Returns the class that this tool is responsible for.- Overrides:
getShapeClassin classTool
-
isInstance
Returns whether an object can be edited by this tool.- Overrides:
isInstancein classTool
-
getWindowTitle
Returns the name of this tool for the inspector window.- Overrides:
getWindowTitlein classTool
-
mousePressed
Event handler for editing.- Overrides:
mousePressedin classTool
-
mouseDragged
Event handler for editing.- Overrides:
mouseDraggedin classTool
-
mouseReleased
Event handler for editing.- Overrides:
mouseReleasedin classTool
-