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,java.lang.Cloneable
public class LabelTool extends Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLabelTool.LabelToolUI-
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 LabelTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHandleCount(RMShape aShape)Overrides tool method to declare that labels have no handles.java.lang.ClassgetShapeClass()Returns the shape class that this tool handles.RJPanelgetUI()Returns the Swing UI panel for this tool.java.lang.StringgetWindowTitle()Returns the string to be used for the inspector window title.voidresetUI()Resets the UI associated with this tool.voidrespondUI(java.lang.Object anObj)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
-
-
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Description copied from class:ToolReturns the shape class that this tool handles.- Overrides:
getShapeClassin classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Description copied from class:ToolReturns the string to be used for the inspector window title.- Overrides:
getWindowTitlein classTool
-
getUI
public RJPanel getUI()
Description copied from class:ToolReturns the Swing UI panel for this tool.
-
resetUI
public void resetUI()
Description copied from class:ToolResets the UI associated with this tool.
-
respondUI
public void respondUI(java.lang.Object anObj)
Description copied from class:ToolResponder callback for the UI associated with this tool.
-
getHandleCount
public int getHandleCount(RMShape aShape)
Overrides tool method to declare that labels have no handles.- Overrides:
getHandleCountin classTool
-
-