|
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 javax.swing.JOptionPane net.sf.japi.swing.prefs.PreferencesPane
public final class PreferencesPane
Panel to display preferences.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JOptionPane |
---|
JOptionPane.AccessibleJOptionPane |
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 |
Method Summary | |
---|---|
void |
apply()
Action method for apply. |
void |
cancel()
Action method for cancel. |
void |
defaults()
Action method for defaults. |
void |
help()
Action method for help. |
void |
ok()
Action method for ok. |
void |
revert()
Action method for revert. |
void |
setValue(Object newValue)
Sets the value the user has chosen. |
static void |
showPreferencesDialog(Component parentComponent,
PreferencesGroup prefs,
boolean modal)
Show Preferences. |
void |
valueChanged(ListSelectionEvent e)
Called whenever the value of the selection changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static void showPreferencesDialog(Component parentComponent, PreferencesGroup prefs, boolean modal)
parentComponent
- determines the Frame in which the dialog is displayed; if null
, or if the parentComponent
has
no Frame
, a default Frame
is usedprefs
- PreferencesGroup to be displayedmodal
- true
if the displayed dialog should be modal, otherwise false
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
e
- the event that characterizes the change.public void cancel()
public void setValue(Object newValue)
setValue
in class JOptionPane
newValue
- the chosen valueJOptionPane.getValue()
public void defaults()
public void help()
public void ok()
public void apply()
public void revert()
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |