#include <ax/ax_menu_range.h>
Public Member Functions | |
AxRangeMenuItem (const AxRangeMenuItem &item) | |
AxRangeMenuItem () | |
AxRangeMenuItem (const wxString &label, const wxString &description, const wxString &id, int minValue, int maxValue, int value) | |
bool | Create (const wxString &label, const wxString &description, const wxString &id, int minValue, int maxValue, int value) |
void | Copy (const AxRangeMenuItem &item) |
virtual AxMenuItem * | Clone () |
void | SetValue (int value) |
int | GetValue () const |
void | SetMinValue (int minValue) |
int | GetMinValue () const |
void | SetMaxValue (int maxValue) |
int | GetMaxValue () const |
wxString | CreateString (const wxString &spec, bool isLabel) |
void | SendRangeUpdate (int value) |
Protected Attributes | |
int | m_minValue |
int | m_maxValue |
int | m_value |
When the value is changed, a wxEVT_COMMAND_SPINCTRL_UPDATED
event is generated.
AxRangeMenuItem::AxRangeMenuItem | ( | const AxRangeMenuItem & | item | ) | [inline] |
AxRangeMenuItem::AxRangeMenuItem | ( | ) | [inline] |
AxRangeMenuItem::AxRangeMenuItem | ( | const wxString & | label, | |
const wxString & | description, | |||
const wxString & | id, | |||
int | minValue, | |||
int | maxValue, | |||
int | value | |||
) |
AxRangeMenuItem implementation.
virtual AxMenuItem* AxRangeMenuItem::Clone | ( | ) | [inline, virtual] |
void AxRangeMenuItem::Copy | ( | const AxRangeMenuItem & | item | ) |
bool AxRangeMenuItem::Create | ( | const wxString & | label, | |
const wxString & | description, | |||
const wxString & | id, | |||
int | minValue, | |||
int | maxValue, | |||
int | value | |||
) |
wxString AxRangeMenuItem::CreateString | ( | const wxString & | spec, | |
bool | isLabel | |||
) |
int AxRangeMenuItem::GetMaxValue | ( | ) | const [inline] |
int AxRangeMenuItem::GetMinValue | ( | ) | const [inline] |
int AxRangeMenuItem::GetValue | ( | ) | const [inline] |
void AxRangeMenuItem::SendRangeUpdate | ( | int | value | ) |
void AxRangeMenuItem::SetMaxValue | ( | int | maxValue | ) | [inline] |
void AxRangeMenuItem::SetMinValue | ( | int | minValue | ) | [inline] |
void AxRangeMenuItem::SetValue | ( | int | value | ) |
int AxRangeMenuItem::m_maxValue [protected] |
int AxRangeMenuItem::m_minValue [protected] |
int AxRangeMenuItem::m_value [protected] |