public abstract class KeyAction
extends javax.swing.AbstractAction
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
protected static int |
SHORTCUT_KEY_MASK
This constant holds the typical key to be used for shortcuts (usually
Event.CTRL_MASK ) |
Constructor and Description |
---|
KeyAction() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.Icon |
getIcon(javax.swing.Icon icon) |
protected java.lang.String |
getMenuPath() |
protected java.lang.String |
getName() |
protected int |
getPriority() |
protected javax.swing.Icon |
getSmallIcon() |
protected java.lang.String |
getTooltip() |
protected boolean |
isSelected() |
protected void |
setAcceleratorKey(javax.swing.KeyStroke keyStroke)
Deprecated.
|
protected void |
setAcceleratorLetter(int letter)
Deprecated.
|
protected void |
setIcon(javax.swing.Icon icon) |
protected javax.swing.Icon |
setLargeIcon() |
protected void |
setLargeIcon(javax.swing.Icon icon) |
protected void |
setMenuPath(java.lang.String path) |
protected void |
setName(java.lang.String name) |
protected void |
setPriority(int priority) |
protected void |
setSelected(java.lang.Boolean b) |
protected void |
setSmallIcon(javax.swing.Icon icon) |
protected void |
setTooltip(java.lang.String toolTip) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final long serialVersionUID
protected static final int SHORTCUT_KEY_MASK
Event.CTRL_MASK
)protected java.lang.String getName()
protected void setName(java.lang.String name)
@Deprecated protected void setAcceleratorLetter(int letter)
@Deprecated protected void setAcceleratorKey(javax.swing.KeyStroke keyStroke)
protected java.lang.String getTooltip()
protected void setTooltip(java.lang.String toolTip)
protected void setIcon(javax.swing.Icon icon)
protected void setLargeIcon(javax.swing.Icon icon)
protected javax.swing.Icon getIcon(javax.swing.Icon icon)
protected javax.swing.Icon getSmallIcon()
protected void setSmallIcon(javax.swing.Icon icon)
protected javax.swing.Icon setLargeIcon()
protected boolean isSelected()
protected void setSelected(java.lang.Boolean b)
protected java.lang.String getMenuPath()
protected void setMenuPath(java.lang.String path)
protected int getPriority()
protected void setPriority(int priority)