Package com.reportmill.panels
Class GraphBarLabelTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.GraphBarLabelTool
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
An inner class to draw versions list.protected class
An inner class to manage versions list.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 TypeMethodDescriptionReturns the image icon for bar labels (uses SwitchShapeTool icon).Returns the shape class for this tool (RMGraph.BarLabel).getUI()
Returns the Swing UI panel.Returns the display name for this tool's inspector.void
mouseDragged
(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).void
mousePressed
(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).void
mouseReleased
(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).void
resetUI()
Resets the Swing UI panel from currently selected bar label.void
Resets currently selected bar label from Swing UI panel controls.Methods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, 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
-
Constructor Details
-
GraphBarLabelTool
public GraphBarLabelTool()
-
-
Method Details
-
getUI
Returns the Swing UI panel. -
resetUI
public void resetUI()Resets the Swing UI panel from currently selected bar label. -
respondUI
Resets currently selected bar label from Swing UI panel controls. -
getShapeClass
Returns the shape class for this tool (RMGraph.BarLabel).- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Returns the display name for this tool's inspector.- Overrides:
getWindowTitle
in classTool
-
getImageIcon
Returns the image icon for bar labels (uses SwitchShapeTool icon).- Overrides:
getImageIcon
in classTool
-
mousePressed
Event handler for shape editing (BarLabels).- Overrides:
mousePressed
in classTool
-
mouseDragged
Event handler for shape editing (BarLabels).- Overrides:
mouseDragged
in classTool
-
mouseReleased
Event handler for shape editing (BarLabels).- Overrides:
mouseReleased
in classTool
-