public class JToggleButtonTool extends JButtonTool
Tool.RMShapeHandle
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
Constructor and Description |
---|
JToggleButtonTool()
Creates a new toggle button shape inspector.
|
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 for the inspector window title.
|
void |
resetSelectionAndGroup(javax.swing.AbstractButton button,
AbstractButtonHpr buttonHelper)
Resets the selected state button and button group combobox
|
void |
resetUI()
Updates the Swing UI from the currently selected toggle button shape.
|
void |
respondSelectionAndGroup(java.lang.Object anObj,
JToggleButtonShape buttonShape)
Resets the selected state button and button group combobox
|
void |
respondUI(java.lang.Object anObj)
Updates the currently selected toggle button shape from the Swing UI.
|
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 JToggleButtonTool()
public java.lang.Class getShapeClass()
getShapeClass
in class JButtonTool
public java.lang.String getWindowTitle()
getWindowTitle
in class JButtonTool
public void resetUI()
resetUI
in class JButtonTool
public void respondUI(java.lang.Object anObj)
respondUI
in class JButtonTool
public void resetSelectionAndGroup(javax.swing.AbstractButton button, AbstractButtonHpr buttonHelper)
public void respondSelectionAndGroup(java.lang.Object anObj, JToggleButtonShape buttonShape)