1 \section{\class{wxPropertyValidatorRegistry
}}\label{wxpropertyvalidatorregistry
}
3 The
{\bf wxPropertyValidatorRegistry
} class is used for storing validators,
4 indexed by the `role name' of the property, by which groups of property
5 can be identified for the purpose of validation and editing.
7 \latexignore{\rtfignore{\wxheading{Members
}}}
9 \membersection{wxPropertyValidatorRegistry::wxPropertyValidatorRegistry
}
11 \func{void
}{wxPropertyValidatorRegistry
}{\void}
15 \membersection{wxPropertyValidatorRegistry::
\destruct{wxPropertyValidatorRegistry
}}
17 \func{void
}{\destruct{wxPropertyValidatorRegistry
}}{\void}
21 \membersection{wxPropertyValidatorRegistry::Clear
}
23 \func{void
}{ClearRegistry
}{\void}
25 Clears the registry, deleting the validators.
27 \membersection{wxPropertyValidatorRegistry::GetValidator
}
29 \func{wxPropertyValidator *
}{GetValidator
}{\param{wxString\&
}{roleName
}}
31 Retrieve a validator by the property role name.
33 \membersection{wxPropertyValidatorRegistry::RegisterValidator
}\label{wxpropertyvalidatorregistervalidator
}
35 \func{void
}{RegisterValidator
}{\param{wxString\&
}{roleName
},
\param{wxPropertyValidator *
}{validator
}}
37 Register a validator with the registry.
{\it roleName
} is a name indicating the
38 role of the property, such as ``filename''. Later, when a validator is chosen for
39 editing a property, this role name is matched against the class names of the property,
40 if the property does not already have a validator explicitly associated with it.