Vlaxicon
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

ChoiceTool Class Reference

Inheritance diagram for ChoiceTool:
ObjectBase

List of all members.

Public Member Functions

 ChoiceTool (wxWindow *parent, ObjectBaseShape *parentShape)
wxArrayString GetToolItems ()
void SetToolItems (wxArrayString sItems)
void SetToolSelection (wxString sSelection)
void SendCommand ()

Protected Types

enum  { ID_CHOICE = wxID_HIGHEST + 1 }

Protected Member Functions

void OnChoiceClick (wxCommandEvent &event)

Protected Attributes

wxChoice * m_choice

Constructor & Destructor Documentation

ChoiceTool::ChoiceTool ( wxWindow *  parent,
ObjectBaseShape parentShape 
)

constructor of ChoiceTool control

Parameters:
parentparent window
parentShapeparent shape

Member Function Documentation

wxArrayString ChoiceTool::GetToolItems ( )

returns items of choice

Returns:
choice items
void ChoiceTool::OnChoiceClick ( wxCommandEvent &  event) [protected]

event handler on change choice value

void ChoiceTool::SendCommand ( )

send command to execute

void ChoiceTool::SetToolItems ( wxArrayString  sItems)

sets choice items

Parameters:
sItemschoice items
void ChoiceTool::SetToolSelection ( wxString  sSelection)

sets selected item

Parameters:
sSelectionitem name

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