Package com.reportmill.panels
Class TextToolAdvanced
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.TextToolAdvanced
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This tool provides inspector functionality for advanced text attributes.
-
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 shape class that this tool edits.getUI()
Returns the Swing GUI panel for this tool.Returns the name to be presented to user.boolean
isInstance
(Object anObj) Returns whether the given object can be edited by this tool.void
resetUI()
Refreshes Swing GUI controls from currently selected text shape (usually called by Ribs).void
Handles changes from Swing GUI panel controls.Methods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, 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
-
TextToolAdvanced
Creates a new text tool.
-
-
Method Details
-
getShapeClass
Returns the shape class that this tool edits.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Returns the name to be presented to user.- Overrides:
getWindowTitle
in classTool
-
isInstance
Returns whether the given object can be edited by this tool.- Overrides:
isInstance
in classTool
-
getUI
Returns the Swing GUI panel for this tool. -
resetUI
public void resetUI()Refreshes Swing GUI controls from currently selected text shape (usually called by Ribs). -
respondUI
Handles changes from Swing GUI panel controls.
-