Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::DirectoryView Class Reference

Directory view suitable for file-requesters and other file browsers. More...

#include <directoryview.h>

Inheritance diagram for os::DirectoryView:

os::ListView os::View os::Invoker os::Handler List of all members.

Public Methods

 DirectoryView (const Rect &cFrame, const std::string &cPath, uint32 nModeFlags=F_MULTI_SELECT|F_RENDER_BORDER, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nViewFlags=WID_WILL_DRAW|WID_FULL_UPDATE_ON_RESIZE)
 ~DirectoryView ()
void ReRead ()
void SetPath (const std::string &cPath)
std::string GetPath () const
FileRowGetFile (int nRow) const
void SetDirChangeMsg (Message *pcMsg)
virtual void DirChanged (const std::string &cNewPath)
virtual void Invoked (int nFirstRow, int nLastRow)
virtual bool DragSelection (const Point &cPos)
virtual void HandleMessage (Message *pcMessage)
virtual void AttachedToWindow ()
virtual void DetachedFromWindow ()
virtual void MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData)
virtual void MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData)
virtual void KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers)

Detailed Description

Directory view suitable for file-requesters and other file browsers.

Description:
See also:
os::FileRequester
Author(s):
Kurt Skauen (kurt@atheos.cx)


Constructor & Destructor Documentation

DirectoryView::DirectoryView ( const Rect & cFrame,
const std::string & cPath,
uint32 nModeFlags = F_MULTI_SELECT | F_RENDER_BORDER,
uint32 nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP,
uint32 nViewFlags = WID_WILL_DRAW | WID_FULL_UPDATE_ON_RESIZE )
 

DirectoryView::~DirectoryView ( )
 


Member Function Documentation

void DirectoryView::AttachedToWindow ( void ) [virtual]
 

Reimplemented from os::View.

void DirectoryView::DetachedFromWindow ( void ) [virtual]
 

Reimplemented from os::View.

void DirectoryView::DirChanged ( const std::string & cNewPath ) [virtual]
 

bool DirectoryView::DragSelection ( const Point & cPos ) [virtual]
 

Reimplemented from os::ListView.

FileRow * os::DirectoryView::GetFile ( int nRow ) const [inline]
 

std::string DirectoryView::GetPath ( ) const
 

void DirectoryView::HandleMessage ( Message * pcMessage ) [virtual]
 

Reimplemented from os::Handler.

void DirectoryView::Invoked ( int nFirstRow,
int nLastRow ) [virtual]
 

Reimplemented from os::ListView.

void DirectoryView::KeyDown ( const char * pzString,
const char * pzRawString,
uint32 nQualifiers ) [virtual]
 

Reimplemented from os::ListView.

void DirectoryView::MouseMove ( const Point & cNewPos,
int nCode,
uint32 nButtons,
Message * pcData ) [virtual]
 

Reimplemented from os::View.

void DirectoryView::MouseUp ( const Point & cPosition,
uint32 nButtons,
Message * pcData ) [virtual]
 

Reimplemented from os::View.

void DirectoryView::ReRead ( )
 

void DirectoryView::SetDirChangeMsg ( Message * pcMsg )
 

void DirectoryView::SetPath ( const std::string & cPath )
 


The documentation for this class was generated from the following files:
Generated at Sat Apr 7 16:11:33 2001 for AtheOS higlevel API by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001