|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.options.OptionsConstructor
This class constructs all of the elements of the options window. To add a new option, this class should be used. This class allows for options to be added to already existing panes as well as for options to be added to new panes that you can also add here. To add a new top-level pane, create a new OptionsPaneImpl and call the addOption method. To add option items to that pane, add subclasses of AbstractPaneItem.
Constructor Summary | |
OptionsConstructor(com.limegroup.gnutella.gui.options.OptionsTreeManager treeManager,
OptionsPaneManager paneManager)
The constructor create all of the options windows and their components. |
Method Summary | |
boolean |
isOptionsVisible()
Returns if the Options Box is visible. |
void |
setOptionsVisible(boolean visible)
Makes the options window either visible or not visible depending on the boolean argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OptionsConstructor(com.limegroup.gnutella.gui.options.OptionsTreeManager treeManager, OptionsPaneManager paneManager)
treeManager
- the OptionsTreeManager instance to
use for constructing the main panels and
adding elementspaneManager
- the OptionsPaneManager instance to
use for constructing the main panels and
adding elementsMethod Detail |
public final void setOptionsVisible(boolean visible)
visible
- boolean value specifying whether the options
window should be made visible or not visiblepublic final boolean isOptionsVisible()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |