public static class GraphTool.GraphContentTool extends Tool
Tool.RMShapeHandle
HandleMaxXMaxY, 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, willLoseSuperSelectionInEditor
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public java.lang.Class getShapeClass()
getShapeClass
in class Tool
public java.lang.String getWindowTitle()
getWindowTitle
in class Tool
public void resetUI()
public void respondUI(java.lang.Object anObj)
public void mousePressed(RMShape aShape, java.awt.event.MouseEvent anEvent)
mousePressed
in class Tool
public void mouseDragged(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseDragged
in class Tool
public void mouseReleased(RMShape aShape, java.awt.event.MouseEvent anEvent)
mouseReleased
in class Tool