javax.swing.ButtonModel, java.awt.ItemSelectableActionRepeatableButtonModel, ActionToggleButtonModelpublic interface ActionButtonModel
extends javax.swing.ButtonModel
AbstractCommandButton component.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isFireActionOnPress() |
Returns indication whether the associated actions should be fired on
mouse press instead of mouse release.
|
void |
setFireActionOnPress(boolean toFireActionOnPress) |
Sets indication whether the associated actions should be fired on mouse
press instead of mouse release.
|
addActionListener, addChangeListener, addItemListener, getActionCommand, getMnemonic, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setRollover, setSelectedvoid setFireActionOnPress(boolean toFireActionOnPress)
toFireActionOnPress - if true, the associated actions will be fired on
mouse press, otherwise the associated actions will be fired on
mouse release.boolean isFireActionOnPress()
true if the associated actions are fired on mouse
press, false if the associated actions are fired on
mouse release.