#include <connectbar.h>
Public Member Functions | |
ConnectBar () | |
ConnectBar Constructor. This generates the initial layout of the window by calling _Layout(). | |
os::String | GetServerType () |
Get Server Type. This retreives the type of server selected by the user. | |
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::DropdownMenu * | m_pcConnectionTypeDropdown |
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 |
os::HLayoutNode* ConnectBar::m_pcRoot [private] |
Root layout node.
os::DropdownMenu* ConnectBar::m_pcConnectionTypeDropdown [private] |
The drop down containing the connection type (eg. ftp)
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.