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