|
GWT
UFace supports a number of different GWT widget sets such as GwtExt and MyGwt. This document focusses on using the default GWT widgets with UFace. UICompositeTo be able to create widgets with UFace you need to get a UIComposite to represent the Panel you are gonna add widgets to. You can see this in action in the org.ufacekit.ui.gwt.example. You can create a UIComposite as follows in your EntryPoint. public class MyApp implements EntryPoint {
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
UIComposite root = new GwtComposite(rootPanel);
// now I can create some UI components
UIFactory factory = root.getFactory();
factory.createTable(root, ...);
}
}
|
Sign in to add a comment