#include <wxCryst.h>
Inheritance diagram for ObjCryst::WXField::
Public Methods | |
WXField (wxWindow *parent, const string &label, const int field_id) | |
Constructor, specifying the label of the field. | |
bool | Layout () |
Redo the layout of the field. | |
void | SetLabel (const string &) |
Change the field's label. | |
virtual void | Revert ()=0 |
After a user entry, this allows to go back to the last value, if for some reason the entry was rejected (because the object is currently busy, ...). | |
virtual bool | SetForegroundColour (const wxColour &colour) |
Change the colour of the field's title. Can be used (with parcimony) to clarify the interface. | |
Protected Attributes | |
wxBoxSizer * | mpSizer |
The horizontal sizer in which the title, button, fields, are put. | |
wxStaticText * | mpLabel |
The label. | |
const int | mId |
The Id of this field. |
All WXField have a title and an entry field.