AddressField Class Reference

Address Field Class. Object for storing the path of an address and for generating. More...

#include <address_field.h>

List of all members.

Public Member Functions

 AddressField (os::String path, os::Message *msg)
 AddressField Constructor. Initializes the private class for drawing the buttons and creates the other widgets. It also initializes the handler and looper to NULL.
 ~AddressField ()
 Deconstructor. Deletes the message that was sent to the AddressField object and deletes the _Private object being used for drawing.
virtual os::Point GetPreferredSize (bool bLargest) const
 Return the preferred size of the object.
status_t SetTarget (const os::Handler *pcHandler, const os::Looper *pcLooper=NULL)
 Set the Target for the button. This sets the Handler and Looper objects for the buttons and then sets the target for all of the buttons.
void SetPath (os::String path)
 Set Path of AddressField. Sets the file path that the address path corresponds to.
os::String GetPath ()
 Return the path of the AddressField.

Private Attributes

_Privatem

Classes

class  _Private
 Private class used by AddressField. This class is used to generate the different buttons for each level of the path. It also stores all of the handler and looper information for the buttons. More...


Detailed Description

Address Field Class. Object for storing the path of an address and for generating.


Constructor & Destructor Documentation

AddressField::AddressField ( os::String  path,
os::Message *  msg 
)

AddressField Constructor. Initializes the private class for drawing the buttons and creates the other widgets. It also initializes the handler and looper to NULL.

Parameters:
path The path of the address field.
msg Message to send to the AddressField objects.


Member Function Documentation

Point AddressField::GetPreferredSize ( bool  bLargest  )  const [virtual]

Return the preferred size of the object.

Parameters:
bLargest If bLargest is set it gives the largest possible size, otherwise it sets it to max x and 35 for y.

status_t AddressField::SetTarget ( const os::Handler *  pcHandler,
const os::Looper *  pcLooper = NULL 
)

Set the Target for the button. This sets the Handler and Looper objects for the buttons and then sets the target for all of the buttons.

Parameters:
pcHandler Handler object for the address buttons.
pcLooper The looper for the address buttons.

void AddressField::SetPath ( os::String  path  ) 

Set Path of AddressField. Sets the file path that the address path corresponds to.

Parameters:
path Path using the unix-style directory path format.


Member Data Documentation

_Private* AddressField::m [private]

Private object containing all of the AddressFieldButton objects.


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