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.Class
getShapeClass()
Returns the class this tool edits.RJPanel
getUI()
Returns the inspector UI.java.lang.String
getWindowTitle()
Returns the display name for the inspector.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
resetUI()
Called by Ribs to reset inspector UI.void
respondUI(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:
getShapeClass
in classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the display name for the inspector.- Overrides:
getWindowTitle
in 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:
mousePressed
in classTool
-
mouseDragged
public void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for editing.- Overrides:
mouseDragged
in classTool
-
mouseReleased
public void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for editing.- Overrides:
mouseReleased
in classTool
-
-