]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/propforv.tex
changed wxCondition API to take a reference, not pointer, to wxMutex
[wxWidgets.git] / docs / latex / wx / propforv.tex
CommitLineData
200fed6c
VS
1\section{\class{wxPropertyFormValidator}}\label{wxpropertyformvalidator}
2
200fed6c
VS
3The {\bf wxPropertyFormValidator} class defines a base class for form validators. By overriding virtual functions,
4the programmer can create custom behaviour for kinds of property.
5
fa482912
JS
6\wxheading{See also}
7
8\helpref{wxPropertyFormValidator overview}{wxpropertyformvalidatoroverview}
9
10\latexignore{\rtfignore{\wxheading{Members}}}
11
200fed6c
VS
12\membersection{wxPropertyFormValidator::wxPropertyFormValidator}
13
14\func{void}{wxPropertyFormValidator}{\param{long}{ flags = 0}}
15
16Constructor.
17
18\membersection{wxPropertyFormValidator::\destruct{wxPropertyFormValidator}}
19
20\func{void}{\destruct{wxPropertyFormValidator}}{\void}
21
22Destructor.
23
24\membersection{wxPropertyFormValidator::OnCommand}
25
fa482912 26\func{bool}{OnCommand}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
200fed6c
VS
27 \param{wxWindow *}{parentWindow}, \param{wxCommandEvent\& }{event}}
28
29Called when the control corresponding to the property receives a command (if not intercepted
30by a callback associated with the actual control).
31
32\membersection{wxPropertyFormValidator::OnCheckValue}
33
fa482912 34\func{bool}{OnCheckValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
200fed6c
VS
35 \param{wxWindow *}{parentWindow}}
36
37Called when the view checks the property value. The value checked by this validator should be taken from the
38panel item corresponding to the property.
39
40\membersection{wxPropertyFormValidator::OnDisplayValue}
41
fa482912 42\func{bool}{OnDisplayValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
200fed6c
VS
43 \param{wxWindow *}{parentWindow}}
44
45Should display the property value in the appropriate control.
46
47\membersection{wxPropertyFormValidator::OnDoubleClick}
48
fa482912 49\func{bool}{OnDoubleClick}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
200fed6c
VS
50 \param{wxWindow *}{parentWindow}}
51
52Called when the control corresponding to the property is double clicked (listboxes only).
53
54\membersection{wxPropertyFormValidator::OnRetrieveValue}
55
fa482912 56\func{bool}{OnRetrieveValue}{\param{wxProperty *}{property}, \param{wxPropertyFormView *}{view},
200fed6c
VS
57 \param{wxWindow *}{parentWindow}}
58
59Should do the transfer from the property editing area to the property itself.
60