Package com.reportmill.panels
Class CellTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.TextTool
com.reportmill.panels.CellTool
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
Provides Swing UI editing for RMCell shapes.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.reportmill.panels.ToolTool.RMShapeHandle
- 
Field SummaryFields inherited from class com.reportmill.panels.ToolHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetHandleCount(RMShape aShape) Overrides tool method to indicate that cells have no handles.Returns the image icon for bar labels (uses SwitchShapeTool icon).voidmouseDragged(RMShape aShape, MouseEvent anEvent) Event handling - overrides text tool to pass handling to table tool if user really wants to select cells.voidmousePressed(RMShape aShape, MouseEvent anEvent) Event handling - overrides text tool to pass handling to table tool if user really wants to select cells.voidmouseReleased(RMShape aShape, MouseEvent anEvent) Event handling - overrides text to in case cell tool needs to forward events to table tool.voidHighlights the selected cells or dividers.Methods inherited from class com.reportmill.panels.TextToolactivateTool, convertToText, didBecomeSuperSelectedShapeInEditor, flushChanges, getHandleRect, getShapeClass, getUI, getWindowTitle, isInstance, mouseDragged, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, paintSelectedShape, paintSuperSelectedShape, paintTextLinkIndicator, resetUI, respondUI, willLoseSuperSelectionInEditorMethods inherited from class com.reportmill.panels.TooldeactivateTool, editor, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isSelected, isSuperSelected, mouseMoved, moveShapeHandle, newInstance, processKeyEvent, reactivateToolMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
CellToolpublic CellTool()
 
- 
- 
Method Details- 
mousePressedEvent handling - overrides text tool to pass handling to table tool if user really wants to select cells.- Overrides:
- mousePressedin class- TextTool
 
- 
mouseDraggedEvent handling - overrides text tool to pass handling to table tool if user really wants to select cells.- Overrides:
- mouseDraggedin class- TextTool
 
- 
mouseReleasedEvent handling - overrides text to in case cell tool needs to forward events to table tool.- Overrides:
- mouseReleasedin class- TextTool
 
- 
getHandleCountOverrides tool method to indicate that cells have no handles.- Overrides:
- getHandleCountin class- TextTool
 
- 
paintToolHighlights the selected cells or dividers.
- 
getImageIconReturns the image icon for bar labels (uses SwitchShapeTool icon).- Overrides:
- getImageIconin class- Tool
 
 
-