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,- java.lang.Cloneable
 
 public class GraphTool extends Tool This class provides RMEditor inspector support for RMGraph.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGraphTool.GraphContentToolThis class provides RMEditor inspector support for RMGraph.- 
Nested classes/interfaces inherited from class com.reportmill.panels.ToolTool.RMShapeHandle
 
- 
 - 
Field Summary- 
Fields inherited from class com.reportmill.panels.ToolHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
 
- 
 - 
Constructor SummaryConstructors Constructor Description GraphTool()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddGraph(RMEditor anEditor, java.lang.String aKeyPath)Adds a new graph instance to the given editor with the given list key.static RMGraphcreateSampleGraph()Creates a new sample graph instance.RMScene3DgetGraphScene()pulls out the scene3d subclass if the selected graph has one.RMGraphgetSelectedGraph()Returns the selected graph.java.lang.ClassgetShapeClass()Returns the class this tool edits.RJPanelgetUI()Returns the JPanel inspector UI used for this tool.java.lang.StringgetWindowTitle()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.voidrespondUI(java.lang.Object anObj)Update 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, willLoseSuperSelectionInEditor
 - 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
getSelectedGraphpublic RMGraph getSelectedGraph() Returns the selected graph.
 - 
getGraphScenepublic RMScene3D getGraphScene() pulls out the scene3d subclass if the selected graph has one.
 - 
getUIpublic RJPanel getUI() Returns the JPanel inspector UI used for this tool.
 - 
resetUIpublic void resetUI() Reset Swing UI panel from currently selected graph.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Update currently selected graph from Swing UI panel.
 - 
getShapeClasspublic java.lang.Class getShapeClass() Returns the class this tool edits.- Overrides:
- getShapeClassin class- Tool
 
 - 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name of the graph inspector.- Overrides:
- getWindowTitlein class- Tool
 
 - 
moveSortpublic void moveSort(int index1, int index2)Sorting table popup menu method implementation.
 - 
addGraphpublic static void addGraph(RMEditor anEditor, java.lang.String aKeyPath) Adds a new graph instance to the given editor with the given list key.
 - 
createSampleGraphpublic static RMGraph createSampleGraph() Creates a new sample graph instance.
 
- 
 
-