Package com.reportmill.panels
Class GraphTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.GraphTool
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class provides RMEditor inspector support for RMGraph.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class provides RMEditor inspector support for RMGraph.Nested classes/interfaces inherited from class com.reportmill.panels.ToolTool.RMShapeHandle
- 
Field SummaryFields inherited from class com.reportmill.panels.ToolHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidAdds a new graph instance to the given editor with the given list key.static RMGraphCreates a new sample graph instance.pulls out the scene3d subclass if the selected graph has one.Returns the selected graph.Returns the class this tool edits.getUI()Returns the JPanel inspector UI used for this tool.Returns the name of the graph inspector.voidmoveSort(int index1, int index2) Sorting table popup menu method implementation.voidresetUI()Reset Swing UI panel from currently selected graph.voidUpdate currently selected graph from Swing UI panel.Methods inherited from class com.reportmill.panels.ToolactivateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditorMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
GraphToolpublic GraphTool()
 
- 
- 
Method Details- 
getSelectedGraphReturns the selected graph.
- 
getGraphScenepulls out the scene3d subclass if the selected graph has one.
- 
getUIReturns the JPanel inspector UI used for this tool.
- 
resetUIpublic void resetUI()Reset Swing UI panel from currently selected graph.
- 
respondUIUpdate currently selected graph from Swing UI panel.
- 
getShapeClassReturns the class this tool edits.- Overrides:
- getShapeClassin class- Tool
 
- 
getWindowTitleReturns the name of the graph inspector.- Overrides:
- getWindowTitlein class- Tool
 
- 
moveSortpublic void moveSort(int index1, int index2) Sorting table popup menu method implementation.
- 
addGraphAdds a new graph instance to the given editor with the given list key.
- 
createSampleGraphCreates a new sample graph instance.
 
-