#include <ax/ax_menu_folder.h>
Public Member Functions | |
AxFolderMenuItem (const AxFolderMenuItem &item) | |
AxFolderMenuItem () | |
AxFolderMenuItem (const wxString &label, const wxString &description, const wxString &id, const wxString &path, const wxString &filter=wxT("*"), int style=axFOLDER_MENU_STYLE_NEW_FOLDER) | |
bool | Create (const wxString &label, const wxString &description, const wxString &id, const wxString &path, const wxString &filter=wxT("*"), int style=axFOLDER_MENU_STYLE_NEW_FOLDER) |
void | Copy (const AxFolderMenuItem &item) |
virtual AxMenuItem * | Clone () const |
Override this function for derived classes. | |
void | SetPath (const wxString &path) |
Set path. | |
const wxString & | GetPath () const |
Get path. | |
void | SetMenuLabel (const wxString &menuLabel) |
const wxString & | GetMenuLabel () const |
void | SetMenuDescription (const wxString &menuDescription) |
const wxString & | GetMenuDescription () const |
void | SetStyle (int style) |
Sets the menu item style. | |
int | GetStyle () const |
Gets the menu item style. | |
void | SetFilter (const wxString &filter) |
const wxString & | GetFilter () const |
wxString | CreateString (const wxString &spec, bool isLabel) |
Protected Attributes | |
wxString | m_path |
wxString | m_menuLabel |
wxString | m_menuDescription |
int | m_style |
wxString | m_filter |
AxFolderMenuItem::AxFolderMenuItem | ( | const AxFolderMenuItem & | item | ) | [inline] |
AxFolderMenuItem::AxFolderMenuItem | ( | ) | [inline] |
AxFolderMenuItem::AxFolderMenuItem | ( | const wxString & | label, | |
const wxString & | description, | |||
const wxString & | id, | |||
const wxString & | path, | |||
const wxString & | filter = wxT("*") , |
|||
int | style = axFOLDER_MENU_STYLE_NEW_FOLDER | |||
) |
virtual AxMenuItem* AxFolderMenuItem::Clone | ( | ) | const [inline, virtual] |
Override this function for derived classes.
Reimplemented from AxMenuItem.
Reimplemented in AxFileMenuItem.
void AxFolderMenuItem::Copy | ( | const AxFolderMenuItem & | item | ) |
bool AxFolderMenuItem::Create | ( | const wxString & | label, | |
const wxString & | description, | |||
const wxString & | id, | |||
const wxString & | path, | |||
const wxString & | filter = wxT("*") , |
|||
int | style = axFOLDER_MENU_STYLE_NEW_FOLDER | |||
) |
wxString AxFolderMenuItem::CreateString | ( | const wxString & | spec, | |
bool | isLabel | |||
) |
const wxString& AxFolderMenuItem::GetFilter | ( | ) | const [inline] |
const wxString& AxFolderMenuItem::GetMenuDescription | ( | ) | const [inline] |
const wxString& AxFolderMenuItem::GetMenuLabel | ( | ) | const [inline] |
const wxString& AxFolderMenuItem::GetPath | ( | ) | const [inline] |
Get path.
int AxFolderMenuItem::GetStyle | ( | ) | const [inline] |
void AxFolderMenuItem::SetFilter | ( | const wxString & | filter | ) | [inline] |
void AxFolderMenuItem::SetMenuDescription | ( | const wxString & | menuDescription | ) | [inline] |
void AxFolderMenuItem::SetMenuLabel | ( | const wxString & | menuLabel | ) | [inline] |
void AxFolderMenuItem::SetPath | ( | const wxString & | path | ) |
Set path.
void AxFolderMenuItem::SetStyle | ( | int | style | ) | [inline] |
Sets the menu item style.
This is a bit list of the following values:
Reimplemented from AxMenuItem.
wxString AxFolderMenuItem::m_filter [protected] |
wxString AxFolderMenuItem::m_menuDescription [protected] |
wxString AxFolderMenuItem::m_menuLabel [protected] |
wxString AxFolderMenuItem::m_path [protected] |
int AxFolderMenuItem::m_style [protected] |
Reimplemented from AxMenuItem.