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
,java.lang.Cloneable
public class TextToolAdvanced extends Tool
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 Constructor Description TextToolAdvanced(TextTool aTextTool)
Creates a new text tool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getShapeClass()
Returns the shape class that this tool edits.RJPanel
getUI()
Returns the Swing GUI panel for this tool.java.lang.String
getWindowTitle()
Returns the name to be presented to user.boolean
isInstance(java.lang.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
respondUI(java.lang.Object anObj)
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 Detail
-
TextToolAdvanced
public TextToolAdvanced(TextTool aTextTool)
Creates a new text tool.
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Returns the shape class that this tool edits.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the name to be presented to user.- Overrides:
getWindowTitle
in classTool
-
isInstance
public boolean isInstance(java.lang.Object anObj)
Returns whether the given object can be edited by this tool.- Overrides:
isInstance
in classTool
-
getUI
public RJPanel 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).
-
-