U
- The type of the root object of the generated UI, typically a
subclass of Element
or
UiObject
O
- The type of the object that will own the generated UIpublic interface UiBinder<U,O>
The generated UiBinder implementation will be based on an xml file resource
in the same package as the owner class, with the same name and a "ui.xml"
suffix. For example, a UI owned by class bar.baz.Foo
will be sought
in /bar/baz/Foo.ui.xml
. (To use a different template file, put the
UiTemplate
annotation on your UiBinder interface declaration to point
the code generator at it.)
Modifier and Type | Method and Description |
---|---|
U |
createAndBindUi(O owner)
Creates and returns the root object of the UI, and fills any fields of owner
tagged with
UiField . |
Copyright © 2018. All rights reserved.