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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class provides RMEditor inspector support for RMGraph.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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds a new graph instance to the given editor with the given list key.static RMGraph
Creates 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.void
moveSort
(int index1, int index2) Sorting table popup menu method implementation.void
resetUI()
Reset Swing UI panel from currently selected graph.void
Update currently selected graph from Swing UI panel.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, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, 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
-
Constructor Details
-
GraphTool
public GraphTool()
-
-
Method Details
-
getSelectedGraph
Returns the selected graph. -
getGraphScene
pulls out the scene3d subclass if the selected graph has one. -
getUI
Returns the JPanel inspector UI used for this tool. -
resetUI
public void resetUI()Reset Swing UI panel from currently selected graph. -
respondUI
Update currently selected graph from Swing UI panel. -
getShapeClass
Returns the class this tool edits.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Returns the name of the graph inspector.- Overrides:
getWindowTitle
in classTool
-
moveSort
public void moveSort(int index1, int index2) Sorting table popup menu method implementation. -
addGraph
Adds a new graph instance to the given editor with the given list key. -
createSampleGraph
Creates a new sample graph instance.
-