Package com.reportmill.panels
Class LabelTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.reportmill.panels.LabelTool
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
-
Nested Class Summary
Nested ClassesNested 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 TypeMethodDescriptionint
getHandleCount
(RMShape aShape) Overrides tool method to declare that labels have no handles.Returns the shape class that this tool handles.getUI()
Returns the Swing UI panel for this tool.Returns the string to be used for the inspector window title.void
resetUI()
Resets the UI associated with this tool.void
Responder callback for the UI associated with this tool.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
-
LabelTool
public LabelTool()
-
-
Method Details
-
getShapeClass
Description copied from class:Tool
Returns the shape class that this tool handles.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Description copied from class:Tool
Returns the string to be used for the inspector window title.- Overrides:
getWindowTitle
in classTool
-
getUI
Description copied from class:Tool
Returns the Swing UI panel for this tool. -
resetUI
public void resetUI()Description copied from class:Tool
Resets the UI associated with this tool. -
respondUI
Description copied from class:Tool
Responder callback for the UI associated with this tool. -
getHandleCount
Overrides tool method to declare that labels have no handles.- Overrides:
getHandleCount
in classTool
-