public class JButtonTool extends RJButtonOrLabelTool
Tool.RMShapeHandle
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
Constructor and Description |
---|
JButtonTool()
Creates a new button tool.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getShapeClass()
Returns the class that this tool is responsible for.
|
java.lang.String |
getWindowTitle()
Returns the name to be used for this tool in inspector window title.
|
void |
resetUI()
Updates the Swing GUI panel controls from the currently selected button shape.
|
void |
respondUI(java.lang.Object anObj)
Updates the currently selected button shape from the Swing GUI panel controls.
|
getUI
didBecomeSuperSelectedShapeInEditor, willLoseSuperSelectionInEditor
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getHandleCount, getToolRB, SyncComponentsFromShapes, syncComponentsFromShapes
activateTool, deactivateTool, 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
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()
resetUI
in class RJButtonOrLabelTool
public void respondUI(java.lang.Object anObj)
respondUI
in class RJButtonOrLabelTool