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 classAn inner class to draw versions list.protected classAn 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.voidmouseDragged(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).voidmousePressed(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).voidmouseReleased(RMShape aShape, MouseEvent anEvent) Event handler for shape editing (BarLabels).voidresetUI()Resets the Swing UI panel from currently selected bar label.voidResets 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, willLoseSuperSelectionInEditorMethods 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:
getShapeClassin classTool
-
getWindowTitle
Returns the display name for this tool's inspector.- Overrides:
getWindowTitlein classTool
-
getImageIcon
Returns the image icon for bar labels (uses SwitchShapeTool icon).- Overrides:
getImageIconin classTool
-
mousePressed
Event handler for shape editing (BarLabels).- Overrides:
mousePressedin classTool
-
mouseDragged
Event handler for shape editing (BarLabels).- Overrides:
mouseDraggedin classTool
-
mouseReleased
Event handler for shape editing (BarLabels).- Overrides:
mouseReleasedin classTool
-