Crazy Eddie's GUI System
0.8.1
|
Handler class used to parse the GUILayout XML files using SAX2. More...
Public Member Functions | |
GUILayout_xmlHandler (PropertyCallback *callback=0, void *userdata=0) | |
Constructor for GUILayout_xmlHandler objects. | |
virtual | ~GUILayout_xmlHandler (void) |
Destructor for GUILayout_xmlHandler objects. | |
virtual const String & | getSchemaName () const |
Retrieves the schema file name to use with resources handled by this handler. | |
virtual const String & | getDefaultResourceGroup () const |
Retrieves the default resource group to be used when handling files. | |
virtual void | elementStart (const String &element, const XMLAttributes &attributes) |
document processing (only care about elements, schema validates format) | |
virtual void | elementEnd (const String &element) |
Method called to notify the handler at the end of each XML element encountered. More... | |
virtual void | text (const String &text) |
Method called to notify text node, several successiv text node are agregated. More... | |
void | cleanupLoadedWindows (void) |
Destroy all windows created so far. | |
Window * | getLayoutRootWindow (void) const |
Return a pointer to the 'root' window created. | |
Public Member Functions inherited from CEGUI::XMLHandler | |
XMLHandler (void) | |
XMLHandler base class constructor. | |
virtual | ~XMLHandler (void) |
XMLHandler base class destructor. | |
void | handleContainer (const RawDataContainer &source) |
Takes given RawDataContainer containing XML and handles it. More... | |
void | handleFile (const String &fileName, const String &resourceGroup) |
Takes given file containing XML and handles it. More... | |
void | handleString (const String &source) |
Takes given string containing XML source and handles it. More... | |
Static Public Attributes | |
static const String | NativeVersion |
The only version that we will allow to load. | |
static const String | GUILayoutElement |
Tag name for GUILayout elements. | |
static const String | LayoutImportElement |
Tag name for LayoutImport elements. | |
static const String | EventElement |
Tag name for Event elements. | |
static const String | LayoutImportFilenameAttribute |
Attribute name that stores the file name of the layout to import. | |
static const String | LayoutImportResourceGroupAttribute |
Attribute name that stores the resource group identifier used when loading imported file. | |
static const String | EventNameAttribute |
Attribute name that stores the event name to be subscribed. | |
static const String | EventFunctionAttribute |
Attribute name that stores the name of the scripted function to be bound. | |
static const String | GUILayoutVersionAttribute |
Attribute name that stores the xml file version. | |
Handler class used to parse the GUILayout XML files using SAX2.
|
virtual |
Method called to notify the handler at the end of each XML element encountered.
element | String object holding the name of the element that is ending. |
Reimplemented from CEGUI::XMLHandler.
|
virtual |
Method called to notify text node, several successiv text node are agregated.
text | String object holding the content of the text node. |
Reimplemented from CEGUI::XMLHandler.