#include <propgrid.h>
Public Member Functions | |
virtual wxPGProperty * | GenerateProperty (const wxString &label, const wxString &name) const=0 |
virtual wxVariant | GenerateVariant (wxPGVariant value, const wxString &name) const=0 |
virtual const wxChar * | GetCustomTypeName () const |
virtual wxPGVariant | GetDefaultValue () const=0 |
const wxChar * | GetType () const |
virtual const wxChar * | GetTypeName () const=0 |
virtual void | SetValueFromVariant (wxPGProperty *property, wxVariant &value) const=0 |
|
Creates new property instance with "proper" class. Initial value is set to default. |
|
Creates wxVariant with supplied value and name.
|
|
Returns custom type name. If this is base for a type, should not be overridden, as the default implementation already does good thing and calls GetTypeName. Otherwise, should be an unique string, such as the class name etc. |
|
Returns default value.
|
|
Returns type that can be passed to CreatePropertyByType.
|
|
Returns type name. If there is wxVariantData for this type, then name should be the same that the class uses (otherwise wxT("void*")). |
|
Sets property value from wxVariant.
|