Package org.opends.guitools.controlpanel
Class ControlPanel
- java.lang.Object
-
- org.opends.guitools.controlpanel.ControlPanel
-
public class ControlPanel extends Object
The class that is in charge of creating the main dialog of the ControlPanel and the ControlCenterInfo (the data structure that is used by all the GUI components and that contains information about the server status and server configuration).
-
-
Constructor Summary
Constructors Constructor Description ControlPanel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateAndDisplayGUI()Creates the main Control Panel dialog and displays it.voidinitialize(String[] args)Method that creates the ControlCenterInfo object that will be in all the control panel.static voidmain(String[] args)Main method that is used for testing purposes.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Main method that is used for testing purposes. The control-panel command-line is launched through the ControlPanelLauncher (which displays a splash screen and calls theinitializeandcreateAndDisplayMethods.- Parameters:
args- the arguments that are passed.
-
initialize
public void initialize(String[] args)
Method that creates the ControlCenterInfo object that will be in all the control panel. Nothing is done here: the user must say whether the server is local or remote.- Parameters:
args- the arguments that are passed in the command line. The code assumes that the arguments have been already validated.
-
createAndDisplayGUI
public void createAndDisplayGUI()
Creates the main Control Panel dialog and displays it.
-
-