public class GraphBarLabelTool extends Tool
| Modifier and Type | Class and Description |
|---|---|
protected class |
GraphBarLabelTool.SwitchVersionCellRenderer
An inner class to draw versions list.
|
protected class |
GraphBarLabelTool.SwitchVersionListModel
An inner class to manage versions list.
|
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
GraphBarLabelTool() |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.ImageIcon |
getImageIcon()
Returns the image icon for bar labels (uses SwitchShapeTool icon).
|
java.lang.Class |
getShapeClass()
Returns the shape class for this tool (RMGraph.BarLabel).
|
RJPanel |
getUI()
Returns the Swing UI panel.
|
java.lang.String |
getWindowTitle()
Returns the display name for this tool's inspector.
|
void |
mouseDragged(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).
|
void |
mousePressed(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).
|
void |
mouseReleased(RMShape aShape,
java.awt.event.MouseEvent anEvent)
Event handler for shape editing (BarLabels).
|
void |
resetUI()
Resets the Swing UI panel from currently selected bar label.
|
void |
respondUI(java.lang.Object anObj)
Resets currently selected bar label from Swing UI panel controls.
|
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, getHandlePoint, getHandleRect, 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 void resetUI()
public void respondUI(java.lang.Object anObj)
public java.lang.Class getShapeClass()
getShapeClass in class Toolpublic java.lang.String getWindowTitle()
getWindowTitle in class Toolpublic javax.swing.ImageIcon getImageIcon()
getImageIcon in class Toolpublic 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