Class UIFragment.DefaultComponentFactory

java.lang.Object
com.codename1.ui.UIFragment.DefaultComponentFactory
All Implemented Interfaces:
UIFragment.ComponentFactory
Enclosing class:
UIFragment

public static class UIFragment.DefaultComponentFactory extends java.lang.Object implements UIFragment.ComponentFactory

Default component factory that is used in templates. Supports the following tags:

  • y

  • x

  • flow

  • layered

  • border

  • table

  • label

  • button

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new component given its XML description.
    java.lang.Object
    newConstraint(Container parent, Element parentEl, Component child, Element childEl)
    Creates a layout constraint for adding a child component to a parent component.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultComponentFactory

      public DefaultComponentFactory()
  • Method Details