|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.sf.japi.swing.prefs.AbstractPrefs
net.sf.japi.swing.prefs.keys.KeyStrokePrefs
public class KeyStrokePrefs
Prefs implementation for configuring keystrokes of one or more ActionFactories.
TODO
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| 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 | |
|---|---|
KeyStrokePrefs(ActionFactory... actionFactories)
Create KeyStrokePrefs for a list of ActionFactories. |
|
KeyStrokePrefs(String... factoryNames)
Create KeyStrokePrefs for a list of named ActionFactories. |
|
| Method Summary | |
|---|---|
void |
apply()
Apply the changes in the UI to get into effect / be stored. |
void |
defaults()
Revert the preferences to the default values. |
boolean |
isChanged()
Check whether there are unsaved changes. |
void |
revert()
Revert the preferences to the previously stored settings. |
void |
valueChanged(ListSelectionEvent e)
Called whenever the value of the selection changes. |
| Methods inherited from class net.sf.japi.swing.prefs.AbstractPrefs |
|---|
getEditComponent, getHelpText, getHelpURL, getLabelText, getListLabelIcon, getListLabelText, setHelpText, setHelpURL, setLabelText, setListLabelIcon, setListLabelText |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyStrokePrefs(ActionFactory... actionFactories)
actionFactories - ActionFactoriespublic KeyStrokePrefs(String... factoryNames)
factoryNames - names of ActionFactories| Method Detail |
|---|
public boolean isChanged()
isChanged in interface Prefstrue if there are unsaved changes, otherwise falsepublic void defaults()
defaults in interface Prefspublic void revert()
revert in interface Prefspublic void apply()
apply in interface Prefspublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenere - the event that characterizes the change.
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||