public class ImageButtonFactory extends java.lang.Object implements UiElementFactory<ImageButton>
| Constructor and Description |
|---|
ImageButtonFactory() |
| Modifier and Type | Method and Description |
|---|---|
ImageButton |
build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
Simply instantiate an instance of the UiElement
|
public ImageButton 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<ImageButton>xmlTag - - the tag that triggered this element to be created