Package com.ribsapp.shapes
Class RBTextTool
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.Tool
-
- com.reportmill.panels.TextTool
-
- com.ribsapp.shapes.RBTextTool
-
- All Implemented Interfaces:
RMArchiver.Archiving
,java.lang.Cloneable
public class RBTextTool extends TextTool
-
-
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 RBTextTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.ImageIcon
getImageIcon()
Returns the image icon used to represent shapes that this tool represents.java.lang.Class
getShapeClass()
Returns the shape class that this tool edits.RJPanel
getUI()
Returns the Swing UI for this inspector.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.TextTool
activateTool, convertToText, didBecomeSuperSelectedShapeInEditor, flushChanges, getHandleCount, getHandleRect, getWindowTitle, isInstance, mouseDragged, mouseDragged, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, paintSelectedShape, paintSuperSelectedShape, paintTextLinkIndicator, willLoseSuperSelectionInEditor
-
Methods inherited from class com.reportmill.panels.Tool
deactivateTool, editor, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isSelected, isSuperSelected, mouseMoved, moveShapeHandle, newInstance, paintTool, processKeyEvent, reactivateTool
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Returns the shape class that this tool edits.- Overrides:
getShapeClass
in classTextTool
-
getUI
public RJPanel getUI()
Returns the Swing UI for this inspector.
-
resetUI
public void resetUI()
Refreshes Swing GUI controls from currently selected text shape (usually called by Ribs).
-
respondUI
public void respondUI(java.lang.Object anObj)
Handles changes from Swing GUI panel controls.
-
getImageIcon
public javax.swing.ImageIcon getImageIcon()
Returns the image icon used to represent shapes that this tool represents.- Overrides:
getImageIcon
in classTool
-
-