public class LabelTool extends Tool
| Modifier and Type | Class and Description |
|---|---|
class |
LabelTool.LabelToolUI |
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
LabelTool() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHandleCount(RMShape aShape)
Overrides tool method to declare that labels have no handles.
|
java.lang.Class |
getShapeClass()
Returns the shape class that this tool handles.
|
RJPanel |
getUI()
Returns the Swing UI panel for this tool.
|
java.lang.String |
getWindowTitle()
Returns the string to be used for the inspector window title.
|
void |
resetUI()
Resets the UI associated with this tool.
|
void |
respondUI(java.lang.Object anObj)
Responder callback for the UI associated with this 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, willLoseSuperSelectionInEditorclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic java.lang.Class getShapeClass()
ToolgetShapeClass in class Toolpublic java.lang.String getWindowTitle()
ToolgetWindowTitle in class Toolpublic RJPanel getUI()
Toolpublic void resetUI()
Toolpublic void respondUI(java.lang.Object anObj)
Toolpublic int getHandleCount(RMShape aShape)
getHandleCount in class Tool