Package com.ribsapp.shapes
Class RBDocumentTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.ribsapp.shapes.RBTool
com.ribsapp.shapes.RBDocumentTool
- All Implemented Interfaces:
RMArchiver.Archiving,Cloneable,EventListener,TreeModelListener
An inner class to act as RMDocument's Tool.
-
Nested Class Summary
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 class that this tool is ressponsible for.getUI()Returns the inspector UI for this tool.Returns the name used to represent this tool in the inspector window.voidresetUI()Updates the inpsector UI from currently selected document.voidPropagates changes from inspector UI to currently selected document.voidTreeModelListener method, used to see when the text of a node is typed invoidTreeModelListener method, unusedvoidTreeModelListener method, unusedvoidTreeModelListener method, unusedMethods inherited from class com.ribsapp.shapes.RBTool
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getHandleCount, getToolRB, syncComponentsFromShapes, SyncComponentsFromShapesMethods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, 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
-
RBDocumentTool
public RBDocumentTool()Creates a new RBDocumentTool.
-
-
Method Details
-
getShapeClass
Returns the class that this tool is ressponsible for.- Overrides:
getShapeClassin classTool
-
getWindowTitle
Returns the name used to represent this tool in the inspector window.- Overrides:
getWindowTitlein classTool
-
getUI
Returns the inspector UI for this tool. -
resetUI
public void resetUI()Updates the inpsector UI from currently selected document. -
respondUI
Propagates changes from inspector UI to currently selected document. -
treeNodesChanged
TreeModelListener method, used to see when the text of a node is typed in- Specified by:
treeNodesChangedin interfaceTreeModelListener
-
treeNodesInserted
TreeModelListener method, unused- Specified by:
treeNodesInsertedin interfaceTreeModelListener
-
treeNodesRemoved
TreeModelListener method, unused- Specified by:
treeNodesRemovedin interfaceTreeModelListener
-
treeStructureChanged
TreeModelListener method, unused- Specified by:
treeStructureChangedin interfaceTreeModelListener
-