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.void
resetUI()
Updates the inpsector UI from currently selected document.void
Propagates changes from inspector UI to currently selected document.void
TreeModelListener method, used to see when the text of a node is typed invoid
TreeModelListener method, unusedvoid
TreeModelListener method, unusedvoid
TreeModelListener method, unusedMethods inherited from class com.ribsapp.shapes.RBTool
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getHandleCount, getToolRB, syncComponentsFromShapes, SyncComponentsFromShapes
Methods 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, willLoseSuperSelectionInEditor
Methods 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:
getShapeClass
in classTool
-
getWindowTitle
Returns the name used to represent this tool in the inspector window.- Overrides:
getWindowTitle
in 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:
treeNodesChanged
in interfaceTreeModelListener
-
treeNodesInserted
TreeModelListener method, unused- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
TreeModelListener method, unused- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeStructureChanged
TreeModelListener method, unused- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-