- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UDocumentFactory Class Reference

#include <udocumentfactory.hpp>

Inheritance diagram for ufo::UDocumentFactory:

ufo::UObject ufo::UCollectable List of all members.

Static Public Member Functions

UDocumentcreateMimeDocument (const std::string &typeA)
UDocumentcreatePlainDocument ()
UDocumentcreateDigitDocument ()
UDocumentcreateSpecialCharDocument (const std::string &allowedCharatersA)

Detailed Description

A factory for some commonly used documents like "Only-Numbers"-documents, ..
Author:
johannes


Member Function Documentation

UDocument* ufo::UDocumentFactory::createDigitDocument  )  [static]
 

Returns a document which allows digits as input. The returned document is suitable for text fields (
filtering).

UDocument* ufo::UDocumentFactory::createMimeDocument const std::string &  typeA  )  [static]
 

Returns a document for the given mime type. So far, only "text/plain" is supported. Returns Null for undefined document types.

UDocument* ufo::UDocumentFactory::createPlainDocument  )  [static]
 

Returns a plain text document. The returned document is suitable for text fields (
filtering).

UDocument* ufo::UDocumentFactory::createSpecialCharDocument const std::string &  allowedCharatersA  )  [static]
 

Returns a document which only allows characters which are within the allowedCharatersA string. The returned document is suitable for text fields (
filtering).


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt