public class LabelTool extends Tool
Modifier and Type | Class and Description |
---|---|
class |
LabelTool.LabelToolUI |
Tool.RMShapeHandle
HandleMaxXMaxY, 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, willLoseSuperSelectionInEditor
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public java.lang.Class getShapeClass()
Tool
getShapeClass
in class Tool
public java.lang.String getWindowTitle()
Tool
getWindowTitle
in class Tool
public RJPanel getUI()
Tool
public void resetUI()
Tool
public void respondUI(java.lang.Object anObj)
Tool
public int getHandleCount(RMShape aShape)
getHandleCount
in class Tool