Class GraphTool.GraphContentTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.GraphTool.GraphContentTool
- All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
- Enclosing class:
GraphTool
This class provides RMEditor inspector support for RMGraph.
-
Nested Class Summary
Nested classes/interfaces inherited from class Tool
Tool.RMShapeHandle -
Field Summary
Fields inherited from class Tool
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class this tool edits.getUI()Returns the inspector UI.Returns the display name for the inspector.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.voidresetUI()Called by Ribs to reset inspector UI.voidCalled by Ribs to respond to inspector UI.Methods inherited from class Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditorMethods inherited from class RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
GraphContentTool
public GraphContentTool()
-
-
Method Details
-
getShapeClass
Returns the class this tool edits.- Overrides:
getShapeClassin classTool
-
getWindowTitle
Returns the display name for the inspector.- Overrides:
getWindowTitlein classTool
-
getUI
-
resetUI
-
respondUI
-
mousePressed
Event handler for editing.- Overrides:
mousePressedin classTool
-
mouseDragged
Event handler for editing.- Overrides:
mouseDraggedin classTool
-
mouseReleased
Event handler for editing.- Overrides:
mouseReleasedin classTool
-