public static class GraphTool.GraphContentTool extends Tool
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
GraphContentTool() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getShapeClass()
Returns the class this tool edits.
|
RJPanel |
getUI()
Returns the inspector UI.
|
java.lang.String |
getWindowTitle()
Returns the display name for the inspector.
|
void |
mouseDragged(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
mousePressed(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
mouseReleased(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for editing.
|
void |
resetUI()
Called by Ribs to reset inspector UI.
|
void |
respondUI(java.lang.Object anObj)
Called by Ribs to respond to inspector UI.
|
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditorclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic java.lang.Class getShapeClass()
getShapeClass in class Toolpublic java.lang.String getWindowTitle()
getWindowTitle in class Toolpublic void resetUI()
public void respondUI(java.lang.Object anObj)
public void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
mousePressed in class Toolpublic void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseDragged in class Toolpublic void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseReleased in class Tool