|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.options.OptionsPaneManager
Manages the main options window that displays the various options windows.
This class also stores all of the main options panels to access all of them regardless of how many there are or what their specific type is.
Constructor Summary | |
OptionsPaneManager()
The constructor sets the layout and adds all of the OptionPane instances. |
Method Summary | |
void |
addPane(OptionsPane pane)
Adds the speficied window to the CardLayout based on its title. |
void |
applyOptions()
Applies the current settings in the options windows, storing them to disk. |
java.awt.Component |
getComponent()
Returns the main Component for this class. |
void |
initOptions()
Sets the options for each OptionPane instance in the ArrayList of OptionPanes when the window is shown. |
void |
show(java.lang.String name)
Shows the window speficied by its title. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OptionsPaneManager()
Method Detail |
public final void show(java.lang.String name)
name
- the name of the Component
to showpublic void initOptions()
public final void applyOptions() throws java.io.IOException
java.io.IOException
- if the options could not be fully appliedpublic final java.awt.Component getComponent()
Component
for this class.
Component
instance that is the main component
for this class.public final void addPane(OptionsPane pane)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |