|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent net.sf.japi.swing.prefs.keys.ActionKeyDisplay
public class ActionKeyDisplay
A component for displaying the accellerators of an Action.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ActionKeyDisplay()
Create an ActionKeyDisplay. |
Method Summary | |
---|---|
Action |
getAction()
Returns the action that is currently handled. |
void |
keystrokeNone()
Action method for using no keystroke. |
void |
keystrokeStandard()
Action method for using standard keystroke. |
void |
keystrokeUserdefined()
Action method for using a user defined keystroke. |
void |
setAction(Action action)
Sets the action that is currently handled. |
void |
setEnabled(boolean enabled)
Sets whether or not this component is enabled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionKeyDisplay()
Method Detail |
---|
public void setEnabled(boolean enabled)
Note: Disabling a component does not disable it's children.
Note: Disabling a lightweight component does not prevent it from receiving MouseEvents.
setEnabled
in class JComponent
enabled
- true if this component should be enabled, false otherwiseComponent.isEnabled()
,
Component.isLightweight()
public void keystrokeNone()
public void keystrokeStandard()
public void keystrokeUserdefined()
public Action getAction()
public void setAction(@Nullable Action action)
action
- the action that is currently handled
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |