AxFolderMenuActivator Class Reference
[Basic AxTk UI classes]

Handles activation of a folder or other command. More...

#include <ax/ax_menu_folder.h>

Inheritance diagram for AxFolderMenuActivator:

AxActivator

List of all members.

Public Types

enum  AxFolderCommand {
  AxFolderCommandUnknown, AxFolderCommandFolder, AxFolderCommandFile, AxFolderCommandSelectThis,
  AxFolderCommandNewFolder, AxFolderCommandCancel
}

Public Member Functions

 AxFolderMenuActivator ()
 AxFolderMenuActivator (AxFolderCommand command, AxModalFolderMenu *menu, const wxString &folderPath=wxEmptyString, const wxString &folderName=wxEmptyString)
 AxFolderMenuActivator (const AxFolderMenuActivator &activator)
void Init ()
void Copy (const AxFolderMenuActivator &activator)
virtual AxActivatorClone () const
virtual AxMenuActivate (AxMenuController *controller, AxMenuItem *item)
 Called when the user activates a menu item by pressing return or double-clicking.
AxModalFolderMenuGetModalFolderMenu () const
void SetModalFolderMenu (AxModalFolderMenu *menu)
void SetFolderPath (const wxString &path)
const wxString & GetFolderPath () const
void SetFolderName (const wxString &name)
const wxString & GetFolderName () const
AxFolderCommand GetCommand () const

Protected Attributes

AxModalFolderMenum_folderMenu
AxFolderCommand m_command
wxString m_folderPath
wxString m_folderName


Detailed Description

Handles activation of a folder or other command.

Member Enumeration Documentation

Enumerator:
AxFolderCommandUnknown 
AxFolderCommandFolder 
AxFolderCommandFile 
AxFolderCommandSelectThis 
AxFolderCommandNewFolder 
AxFolderCommandCancel 


Constructor & Destructor Documentation

AxFolderMenuActivator::AxFolderMenuActivator (  )  [inline]

AxFolderMenuActivator::AxFolderMenuActivator ( AxFolderCommand  command,
AxModalFolderMenu menu,
const wxString &  folderPath = wxEmptyString,
const wxString &  folderName = wxEmptyString 
) [inline]

AxFolderMenuActivator::AxFolderMenuActivator ( const AxFolderMenuActivator activator  )  [inline]


Member Function Documentation

AxMenu * AxFolderMenuActivator::Activate ( AxMenuController controller,
AxMenuItem item 
) [virtual]

Called when the user activates a menu item by pressing return or double-clicking.

Implements AxActivator.

virtual AxActivator* AxFolderMenuActivator::Clone (  )  const [inline, virtual]

Implements AxActivator.

void AxFolderMenuActivator::Copy ( const AxFolderMenuActivator activator  ) 

AxFolderCommand AxFolderMenuActivator::GetCommand (  )  const [inline]

const wxString& AxFolderMenuActivator::GetFolderName (  )  const [inline]

const wxString& AxFolderMenuActivator::GetFolderPath (  )  const [inline]

AxModalFolderMenu* AxFolderMenuActivator::GetModalFolderMenu (  )  const [inline]

void AxFolderMenuActivator::Init (  )  [inline]

Reimplemented from AxActivator.

void AxFolderMenuActivator::SetFolderName ( const wxString &  name  )  [inline]

void AxFolderMenuActivator::SetFolderPath ( const wxString &  path  )  [inline]

void AxFolderMenuActivator::SetModalFolderMenu ( AxModalFolderMenu menu  )  [inline]


Member Data Documentation


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

Generated on Wed May 6 19:22:07 2009 for AxTk by  doxygen 1.5.8