Package com.reportmill.panels
Class GraphTool.GraphContentTool
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.Tool
-
- com.reportmill.panels.GraphTool.GraphContentTool
-
- All Implemented Interfaces:
RMArchiver.Archiving,java.lang.Cloneable
- Enclosing class:
- GraphTool
public static class GraphTool.GraphContentTool extends Tool
This class provides RMEditor inspector support for RMGraph.
-
-
Nested Class Summary
-
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 Constructor Description GraphContentTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetShapeClass()Returns the class this tool edits.RJPanelgetUI()Returns the inspector UI.java.lang.StringgetWindowTitle()Returns the display name for the inspector.voidmouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for editing.voidmousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for editing.voidmouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for editing.voidresetUI()Called by Ribs to reset inspector UI.voidrespondUI(java.lang.Object anObj)Called by Ribs to respond to inspector UI.-
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, isInstance, isSelected, isSuperSelected, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditor
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Returns the class this tool edits.- Overrides:
getShapeClassin classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the display name for the inspector.- Overrides:
getWindowTitlein classTool
-
resetUI
public void resetUI()
Called by Ribs to reset inspector UI.
-
respondUI
public void respondUI(java.lang.Object anObj)
Called by Ribs to respond to inspector UI.
-
mousePressed
public void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for editing.- Overrides:
mousePressedin classTool
-
mouseDragged
public void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for editing.- Overrides:
mouseDraggedin classTool
-
mouseReleased
public void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for editing.- Overrides:
mouseReleasedin classTool
-
-