com.limegroup.gnutella.gui.init
Class SetupManager

java.lang.Object
  extended bycom.limegroup.gnutella.gui.init.SetupManager

public class SetupManager
extends java.lang.Object

This class manages the setup wizard. It constructs all of the primary classes and acts as the mediator between the various objects in the setup windows.


Constructor Summary
SetupManager()
          The constructor creates the main JDialog instance and creates all of the setup window classes, buttons, etc.
 
Method Summary
 void cancelSetup()
          Cancels the setup.
 void finishSetup()
          Completes the setup.
 java.lang.String[] getScannedPaths()
          Returns the array of potential directory paths to share based on the hard drive scan.
 void goToCancelButtons()
          Mediator method for changing the buttons in the setup button class to show the cancel button.
 void goToFinishButtons()
          Mediator method for changing the buttons in the setup button class to show the finish button.
 void goToStandardButtons()
          Mediator method for changing the buttons in the setup button class to show its standard buttons
 void next()
          Displays the next window in the setup sequence.
 void previous()
          Displays the previous window in the setup sequence.
 void scan()
          Sets the array of scanned path names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupManager

public SetupManager()
The constructor creates the main JDialog instance and creates all of the setup window classes, buttons, etc.

Method Detail

next

public void next()
Displays the next window in the setup sequence.


previous

public void previous()
Displays the previous window in the setup sequence.


scan

public void scan()
Sets the array of scanned path names.


getScannedPaths

public java.lang.String[] getScannedPaths()
Returns the array of potential directory paths to share based on the hard drive scan.

Returns:
the array of scanned directory paths containing potential files to share

cancelSetup

public void cancelSetup()
Cancels the setup.


finishSetup

public void finishSetup()
Completes the setup.


goToFinishButtons

public void goToFinishButtons()
Mediator method for changing the buttons in the setup button class to show the finish button.


goToCancelButtons

public void goToCancelButtons()
Mediator method for changing the buttons in the setup button class to show the cancel button.


goToStandardButtons

public void goToStandardButtons()
Mediator method for changing the buttons in the setup button class to show its standard buttons