public class UiXmlLoader
extends java.lang.Object
| Constructor and Description |
|---|
UiXmlLoader(FileHandleResolver fileHandleResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTagHandler(java.lang.String tagName,
UiElementFactory factory,
UiElementPopulator... populators)
Add a new tag handler for a XML tag
|
<T extends UiElement> |
load(java.lang.String filename) |
public UiXmlLoader(FileHandleResolver fileHandleResolver)
public void addTagHandler(java.lang.String tagName,
UiElementFactory factory,
UiElementPopulator... populators)
tagName - - the XML tag namefactory - - the factory the creates a new instance of the UI elementpopulators - - a collection of populators to populate the properties on the UI elementpublic <T extends UiElement> T load(java.lang.String filename)