Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TFileInputLine Class Reference

Allows the input and editing of file names, including optional paths and wild cards. More...

#include <stddlg.h>

Inheritance diagram for TFileInputLine::

TInputLine TView TObject TStreamable List of all members.

Public Methods

 TFileInputLine (const TRect &bounds, short aMaxLen)
virtual void handleEvent (TEvent &event)

Static Public Methods

TStreamablebuild ()

Static Public Attributes

const char* const name

Protected Methods

 TFileInputLine (StreamableInit)

Detailed Description

TFileInputLine implements a specialized TInputLine allowing the input and editing of file names, including optional paths and wild cards.

A TFileInputLine object is associated with a file dialog box.

Definition at line 124 of file stddlg.h.


Constructor & Destructor Documentation

TFileInputLine::TFileInputLine ( const TRect & bounds,
short aMaxLen )
 

Calls TInputLine constructor TInputLine(bounds, aMaxLen) to create a file input line with the given bounds and maximum length `aMaxLen'.

evBroadcast flag is set in the eventMask.

TFileInputLine::TFileInputLine ( StreamableInit ) [protected]
 

Undocumented.


Member Function Documentation

TStreamable * TFileInputLine::build ( ) [static]
 

Called to create an object in certain stream-reading situations.

Reimplemented from TInputLine.

void TFileInputLine::handleEvent ( TEvent & event ) [virtual]
 

Calls TInputLine::handleEvent(), then handles broadcast cmFileFocused events by copying the entered file name into the input line's TInputLine::data member and redrawing the view.

If the edited name is a directory, the current file name in the owning TFileDialog object is appended first.

Reimplemented from TInputLine.


Member Data Documentation

const char *const TFileInputLine::name [static]
 

Undocumented.

Reimplemented from TInputLine.

Definition at line 155 of file stddlg.h.


The documentation for this class was generated from the following file:
Generated at Sat Sep 22 20:19:25 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001