alma::acs::logging::dialogs::LoadURLDlg Class Reference

Inheritance diagram for alma::acs::logging::dialogs::LoadURLDlg:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::dialogs::LoadURLDlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoadURLDlg (String initialValue, LoggingClient client)
URL getURL ()
void actionPerformed (ActionEvent e)

Private Member Functions

void initGUI ()

Private Attributes

JTextField urlTF = new JTextField(40)
LoadSwitchesPanel guiSwitches
JButton loadBtn = new JButton("Load URL")
JButton cancelBtn = new JButton("Cancel")
URL url = null
LoggingClient loggingClient = null

Detailed Description

The dialog to get the URL to load

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::dialogs::LoadURLDlg::LoadURLDlg ( String  initialValue,
LoggingClient  client 
) [inline]

Constructor

Parameters:
initialValue The initial value of the URL

References initGUI(), loggingClient, and urlTF.


Member Function Documentation

void alma::acs::logging::dialogs::LoadURLDlg::actionPerformed ( ActionEvent  e  )  [inline]
See also:
ActionListener
Parameters:
e 

References cancelBtn, loadBtn, url, and urlTF.

URL alma::acs::logging::dialogs::LoadURLDlg::getURL (  )  [inline]

Return the URL inserted by the user

Returns:
the URL inserted by the user if the user pressed the load button null if the user pressed cancel

References url.

Referenced by alma::acs::logging::table::LogTableDataModel::loadFromURL().

void alma::acs::logging::dialogs::LoadURLDlg::initGUI (  )  [inline, private]

Setup the GUI

References cancelBtn, guiSwitches, loadBtn, loggingClient, and urlTF.

Referenced by LoadURLDlg().


Member Data Documentation

JButton alma::acs::logging::dialogs::LoadURLDlg::cancelBtn = new JButton("Cancel") [private]

Referenced by actionPerformed(), and initGUI().

Referenced by initGUI().

JButton alma::acs::logging::dialogs::LoadURLDlg::loadBtn = new JButton("Load URL") [private]

Referenced by actionPerformed(), and initGUI().

Referenced by initGUI(), and LoadURLDlg().

Referenced by actionPerformed(), and getURL().

JTextField alma::acs::logging::dialogs::LoadURLDlg::urlTF = new JTextField(40) [private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2