ConnectBar Class Reference

Connection Bar. This is the connection bar that is displayed in the window. It is used to get the host, user, password and port information and to pass this information to the various Server objects. More...

#include <connectbar.h>

List of all members.

Public Member Functions

 ConnectBar ()
 ConnectBar Constructor. This generates the initial layout of the window by calling _Layout().
os::String GetHost ()
 Get Host Address. This retrieves the host address from the host address text box.
void SetHost (os::String zHost)
 Set Host Address. Sets the host address for the connection bar.
os::String GetUser ()
 Get Username. This retrieves the user name from the user name text box.
void SetUser (os::String zUser)
 Set Username. Sets the username for the connection bar.
os::String GetPassword ()
 Get Password. This retrieves the password from the password text box.
void SetPass (os::String zPass)
 Set Password. Sets the password for the connection bar.
int GetPort ()
 Get Port. This retrieves the port number string from the port text box.
void SetPort (os::String zPort)
 Set Port. Sets the port for the connection bar.

Private Member Functions

void _Layout ()
 Layout Generator. This generates the layout of the connectbar. Elements include: Host Name, User Name, Password, and Port.
os::Point GetPreferredSize (bool) const
 Overloads the virtual GetPreferredSize(bool) method. Simply returns the prefered size of the root layout bar.
void AllAttached ()
 AllAttached Overloaded Function. This attaches the looper that the button should send messages to.

Private Attributes

os::HLayoutNode * m_pcRoot
os::StringView * m_pcHostString
os::TextView * m_pcHostText
os::StringView * m_pcUserString
os::TextView * m_pcUserText
os::StringView * m_pcPassString
os::TextView * m_pcPassText
os::StringView * m_pcPortString
os::TextView * m_pcPortText
os::Button * m_pcButton


Detailed Description

Connection Bar. This is the connection bar that is displayed in the window. It is used to get the host, user, password and port information and to pass this information to the various Server objects.


Member Function Documentation

void ConnectBar::_Layout (  )  [private]

Layout Generator. This generates the layout of the connectbar. Elements include: Host Name, User Name, Password, and Port.

Todo:
Should add a drop down box or something to determine the transfer protocol if this is going to be a general purpose file transfer tool.


Member Data Documentation

os::HLayoutNode* ConnectBar::m_pcRoot [private]

Root layout node.

os::StringView* ConnectBar::m_pcHostString [private]

Host text label.

os::TextView* ConnectBar::m_pcHostText [private]

Host string entry text box.

os::StringView* ConnectBar::m_pcUserString [private]

Username text label.

os::TextView* ConnectBar::m_pcUserText [private]

Username string entry text box.

os::StringView* ConnectBar::m_pcPassString [private]

Password text label.

os::TextView* ConnectBar::m_pcPassText [private]

Password string entry text box.

os::StringView* ConnectBar::m_pcPortString [private]

Port text label.

os::TextView* ConnectBar::m_pcPortText [private]

Port string entry text box.

os::Button* ConnectBar::m_pcButton [private]

Connect button.


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 21:16:34 2008 for Transferrer by  doxygen 1.5.1