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,java.lang.Cloneable
public class GraphBarLabelTool extends Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classGraphBarLabelTool.SwitchVersionCellRendererAn inner class to draw versions list.protected classGraphBarLabelTool.SwitchVersionListModelAn 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 Constructor Description GraphBarLabelTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.ImageIcongetImageIcon()Returns the image icon for bar labels (uses SwitchShapeTool icon).java.lang.ClassgetShapeClass()Returns the shape class for this tool (RMGraph.BarLabel).RJPanelgetUI()Returns the Swing UI panel.java.lang.StringgetWindowTitle()Returns the display name for this tool's inspector.voidmouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for shape editing (BarLabels).voidmousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for shape editing (BarLabels).voidmouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)Event handler for shape editing (BarLabels).voidresetUI()Resets the Swing UI panel from currently selected bar label.voidrespondUI(java.lang.Object anObj)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
-
-
-
-
Method Detail
-
resetUI
public void resetUI()
Resets the Swing UI panel from currently selected bar label.
-
respondUI
public void respondUI(java.lang.Object anObj)
Resets currently selected bar label from Swing UI panel controls.
-
getShapeClass
public java.lang.Class getShapeClass()
Returns the shape class for this tool (RMGraph.BarLabel).- Overrides:
getShapeClassin classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the display name for this tool's inspector.- Overrides:
getWindowTitlein classTool
-
getImageIcon
public javax.swing.ImageIcon getImageIcon()
Returns the image icon for bar labels (uses SwitchShapeTool icon).- Overrides:
getImageIconin classTool
-
mousePressed
public void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).- Overrides:
mousePressedin classTool
-
mouseDragged
public void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).- Overrides:
mouseDraggedin classTool
-
mouseReleased
public void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).- Overrides:
mouseReleasedin classTool
-
-