Package com.reportmill.panels
Class CellTableTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.CellTableTool
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class provides support for UI editing of RMCellTable 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 TypeMethodDescriptionReturns the selected cell.Returns the selected table.Returns the shape class this tool edits (RMTable).getUI()Returns the Swing UI panel for this inspector.Returns the display name for this tool ("Table Inspector").voidmouseDragged(RMShape aShape, MouseEvent anEvent) Handle cell table mouse dragged.voidmouseMoved(RMShape aShape, MouseEvent anEvent) Event handling - overridden to set a custom cursor.voidmousePressed(RMShape aShape, MouseEvent anEvent) Handles Shape MousePressed.voidmouseReleased(RMShape aShape, MouseEvent anEvent) Handle cell table mouse released.voidHighlights the selected cells or dividers.voidprocessKeyEvent(RMShape aShape, KeyEvent anEvent) Key event handler for crosstab editing.voidresetUI()Resets the Swing UI from current selected cell table.voidUpdates currently selected cell table from Swing UI.voidrunContextMenu(MouseEvent anEvent) Runs a context menu for the given event.Methods inherited from class com.reportmill.panels.ToolactivateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, reactivateTool, willLoseSuperSelectionInEditorMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
CellTableToolpublic CellTableTool()Creates a new CellTableTool.
 
- 
- 
Method Details- 
getUIReturns the Swing UI panel for this inspector.
- 
resetUIpublic void resetUI()Resets the Swing UI from current selected cell table.
- 
respondUIUpdates currently selected cell table from Swing UI.
- 
mouseMovedEvent handling - overridden to set a custom cursor.- Overrides:
- mouseMovedin class- Tool
 
- 
mousePressedHandles Shape MousePressed.- Overrides:
- mousePressedin class- Tool
 
- 
mouseDraggedHandle cell table mouse dragged.- Overrides:
- mouseDraggedin class- Tool
 
- 
mouseReleasedHandle cell table mouse released.- Overrides:
- mouseReleasedin class- Tool
 
- 
processKeyEventKey event handler for crosstab editing.- Overrides:
- processKeyEventin class- Tool
 
- 
runContextMenuRuns a context menu for the given event.
- 
paintToolHighlights the selected cells or dividers.
- 
getSelectedTableReturns the selected table.
- 
getSelectedCellReturns the selected cell.
- 
getShapeClassReturns the shape class this tool edits (RMTable).- Overrides:
- getShapeClassin class- Tool
 
- 
getWindowTitleReturns the display name for this tool ("Table Inspector").- Overrides:
- getWindowTitlein class- Tool
 
 
-