pleyo.com

OWBAL::FileChooser Class Reference

Inheritance diagram for OWBAL::FileChooser:

OWBALBase

List of all members.

Public Member Functions

 ~FileChooser ()
 Destructor for FileChooser.
void disconnectClient ()
 Disconnect client from FileChooser.
bool disconnected ()
 Check FileChooserClient connection status.
void openFileChooser (Document *)
 Open a file chooser i.e.
const Stringfilename () const
 Get a file name.
String basenameForWidth (const Font &, int width) const
 basenameForWidth.
Iconicon () const
 Get an icon for the current FileChooser.
void clear ()
 Clear the FileChooser member.
void chooseFile (const String &filename)
 Choose a file.

Static Public Member Functions

static PassRefPtr< FileChoosercreate (FileChooserClient *, const String &initialFilename)
 Create a FileChooser from a FileChooserClient and an initial filename.


Constructor & Destructor Documentation

OWBAL::FileChooser::~FileChooser (  ) 

Destructor for FileChooser.


Member Function Documentation

static PassRefPtr<FileChooser> OWBAL::FileChooser::create ( FileChooserClient ,
const String initialFilename 
) [static]

Create a FileChooser from a FileChooserClient and an initial filename.

Parameters:
[in] : a pointer to a FileChooserClient.
[in] : a file name.
[out] : a PassRefPtr to a FileChooser.

void OWBAL::FileChooser::disconnectClient (  ) 

Disconnect client from FileChooser.

bool OWBAL::FileChooser::disconnected (  ) 

Check FileChooserClient connection status.

Parameters:
[out] : return true when no client are connected.

void OWBAL::FileChooser::openFileChooser ( Document *   ) 

Open a file chooser i.e.

a widget allowing to choose a file.

Parameters:
[in] : a pointer to the Document.

const String& OWBAL::FileChooser::filename (  )  const

Get a file name.

Parameters:
[out] : a file name.

String OWBAL::FileChooser::basenameForWidth ( const Font &  ,
int  width 
) const

basenameForWidth.

Parameters:
[in] : a reference to a Font.
[in] : a width.
[out] : a string.

Icon* OWBAL::FileChooser::icon (  )  const

Get an icon for the current FileChooser.

Parameters:
[out] : a pointer to an Icon.

void OWBAL::FileChooser::clear (  ) 

Clear the FileChooser member.

void OWBAL::FileChooser::chooseFile ( const String filename  ) 

Choose a file.

Parameters:
[in] : a file name.


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

Generated on Mon Jun 30 16:22:05 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com