public class TextButtonFactory extends java.lang.Object implements UiElementFactory<TextButton>
| Constructor and Description |
|---|
TextButtonFactory() |
| Modifier and Type | Method and Description |
|---|---|
TextButton |
build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
Simply instantiate an instance of the UiElement
|
public TextButton build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
UiElementFactoryThis is intended to help handle scenarios where there is NO default constructor for an UiElement
build in interface UiElementFactory<TextButton>xmlTag - - the tag that triggered this element to be created