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

CheckboxTool Class Reference

Inheritance diagram for CheckboxTool:
ObjectBase

List of all members.

Public Member Functions

 CheckboxTool (wxWindow *parent, ObjectBaseShape *parentShape)
wxString GetToolLabel ()
void SetToolLabel (wxString sLabel)
void SetCheckboxValue (bool check)
void SendCommand ()

Protected Types

enum  { ID_CHECKBOX = wxID_HIGHEST + 1 }

Protected Member Functions

void OnCheckboxClick (wxCommandEvent &event)

Protected Attributes

wxCheckBox * m_checkBox

Constructor & Destructor Documentation

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

constructor of CheckboxTool control

Parameters:
parentparent window
parentShapeparent shape

Member Function Documentation

wxString CheckboxTool::GetToolLabel ( )

returns label of tool

Returns:
tool label
void CheckboxTool::OnCheckboxClick ( wxCommandEvent &  event) [protected]

event handler on change checkbox value

void CheckboxTool::SendCommand ( )

send command to execute

void CheckboxTool::SetCheckboxValue ( bool  check)

sets checbox value

Parameters:
checktrue if check, false if not
void CheckboxTool::SetToolLabel ( wxString  sLabel)

sets tool label

Parameters:
toollabel

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