wx.GridCtrl.Editors.GridCellEditor Class Reference

Inheritance diagram for wx.GridCtrl.Editors.GridCellEditor:

wx.GridCtrl.GridCellWorker wx.Object wx.GridCtrl.Editors.GridCellBoolEditor wx.GridCtrl.Editors.GridCellChoiceEditor wx.GridCtrl.Editors.GridCellDateTimeEditor wx.GridCtrl.Editors.GridCellDrawingPointEditor wx.GridCtrl.Editors.GridCellDrawingSizeEditor wx.GridCtrl.Editors.GridCellTextEditor wx.GridCtrl.Editors.GridCellEnumEditor wx.GridCtrl.Editors.GridCellAutoWrapStringEditor wx.GridCtrl.Editors.GridCellFloatEditor wx.GridCtrl.Editors.GridCellNumberEditor

List of all members.

Public Member Functions

abstract void BeginEdit (int row, int col, Grid grid)
abstract GridCellEditor Clone ()
abstract void Create (Window parent, int id, EvtHandler evtHandler)
virtual void Destroy ()
abstract bool EndEdit (int row, int col, Grid grid)
Control GetControl ()
virtual string GetValue ()
 GridCellEditor ()
 GridCellEditor (IntPtr wxObject)
static IntPtr GridCellEnumEditor_GetWxClassInfo ()
virtual void HandleReturn (KeyEvent evt)
virtual bool IsAcceptedKey (KeyEvent evt)
virtual void PaintBackground (Rectangle rectCell, GridCellAttr attr)
abstract void Reset ()
void SetControl (Control control)
virtual void SetSize (Rectangle rectArg)
virtual void Show (bool show, GridCellAttr attr)
virtual void StartingClick ()
virtual void StartingKey (KeyEvent evt)

Protected Member Functions

override void CallDTor ()
override void DeregisterWrapper ()

Properties

bool IsCreated [get]


Detailed Description

Inherit from this class to implement you won grid cell editor.

Constructor & Destructor Documentation

wx.GridCtrl.Editors.GridCellEditor.GridCellEditor ( IntPtr  wxObject  ) 

wx.GridCtrl.Editors.GridCellEditor.GridCellEditor (  ) 


Member Function Documentation

abstract void wx.GridCtrl.Editors.GridCellEditor.BeginEdit ( int  row,
int  col,
Grid  grid 
) [pure virtual]

Implemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellBoolEditor, wx.GridCtrl.Editors.GridCellChoiceEditor, wx.GridCtrl.Editors.GridCellEnumEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.

override void wx.GridCtrl.Editors.GridCellEditor.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Object.

Reimplemented in wx.GridCtrl.Editors.GridCellEnumEditor, and wx.GridCtrl.Editors.GridCellAutoWrapStringEditor.

abstract GridCellEditor wx.GridCtrl.Editors.GridCellEditor.Clone (  )  [pure virtual]

Implemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellBoolEditor, wx.GridCtrl.Editors.GridCellChoiceEditor, wx.GridCtrl.Editors.GridCellEnumEditor, wx.GridCtrl.Editors.GridCellAutoWrapStringEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.

abstract void wx.GridCtrl.Editors.GridCellEditor.Create ( Window  parent,
int  id,
EvtHandler  evtHandler 
) [pure virtual]

Do not forget to set the generated control (SetControl())

Implemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellBoolEditor, wx.GridCtrl.Editors.GridCellChoiceEditor, wx.GridCtrl.Editors.GridCellAutoWrapStringEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.

override void wx.GridCtrl.Editors.GridCellEditor.DeregisterWrapper (  )  [protected, virtual]

This will deregister the wrapper. This is necessary if natice instance live longer than their wrappers.

Reimplemented from wx.Object.

virtual void wx.GridCtrl.Editors.GridCellEditor.Destroy (  )  [virtual]

abstract bool wx.GridCtrl.Editors.GridCellEditor.EndEdit ( int  row,
int  col,
Grid  grid 
) [pure virtual]

Implemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellBoolEditor, wx.GridCtrl.Editors.GridCellChoiceEditor, wx.GridCtrl.Editors.GridCellEnumEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.

Control wx.GridCtrl.Editors.GridCellEditor.GetControl (  ) 

Gets the control that is used for editing cells. Note: This only works if the control has been generated from the wx.net side. If this editor is a native implementation like for instance GridCellTextEditor, this method returns null.

virtual string wx.GridCtrl.Editors.GridCellEditor.GetValue (  )  [virtual]

static IntPtr wx.GridCtrl.Editors.GridCellEditor.GridCellEnumEditor_GetWxClassInfo (  ) 

Reimplemented in wx.GridCtrl.Editors.GridCellEnumEditor.

virtual void wx.GridCtrl.Editors.GridCellEditor.HandleReturn ( KeyEvent  evt  )  [virtual]

virtual bool wx.GridCtrl.Editors.GridCellEditor.IsAcceptedKey ( KeyEvent  evt  )  [virtual]

Reimplemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, and wx.GridCtrl.Editors.GridCellBoolEditor.

virtual void wx.GridCtrl.Editors.GridCellEditor.PaintBackground ( Rectangle  rectCell,
GridCellAttr  attr 
) [virtual]

Reimplemented in wx.GridCtrl.Editors.GridCellTextEditor, and wx.GridCtrl.Editors.GridCellChoiceEditor.

abstract void wx.GridCtrl.Editors.GridCellEditor.Reset (  )  [pure virtual]

Implemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellBoolEditor, wx.GridCtrl.Editors.GridCellChoiceEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.

void wx.GridCtrl.Editors.GridCellEditor.SetControl ( Control  control  ) 

Sets the control to be raised on edit a cell. Setting this is a prerequisite for several methods and shall be done in Create().

virtual void wx.GridCtrl.Editors.GridCellEditor.SetSize ( Rectangle  rectArg  )  [virtual]

Reimplemented in wx.GridCtrl.Editors.GridCellTextEditor, and wx.GridCtrl.Editors.GridCellBoolEditor.

virtual void wx.GridCtrl.Editors.GridCellEditor.Show ( bool  show,
GridCellAttr  attr 
) [virtual]

virtual void wx.GridCtrl.Editors.GridCellEditor.StartingClick (  )  [virtual]

Reimplemented in wx.GridCtrl.Editors.GridCellBoolEditor.

virtual void wx.GridCtrl.Editors.GridCellEditor.StartingKey ( KeyEvent  evt  )  [virtual]

Reimplemented in wx.GridCtrl.Editors.GridCellTextEditor, wx.GridCtrl.Editors.GridCellNumberEditor, wx.GridCtrl.Editors.GridCellFloatEditor, wx.GridCtrl.Editors.GridCellDrawingPointEditor, wx.GridCtrl.Editors.GridCellDrawingSizeEditor, and wx.GridCtrl.Editors.GridCellDateTimeEditor.


Property Documentation

bool wx.GridCtrl.Editors.GridCellEditor.IsCreated [get]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads