Académique Documents
Professionnel Documents
Culture Documents
Cheat Sheet
Website: vaadin.com Developer site: dev.vaadin.com Forum: vaadin.com/forum Manual: vaadin.com/book
setTheme/Locale/LogoutURL()
ComponentPosition
TwinColSelect DefaultFieldFactory
Layout AbstractLayout AbsoluteLayout v-twincolselect
v-absolutelayout
setMargin() getPosition()
OptionGroup TableFieldFactory
CustomLayout SplitPanel GridLayout CssLayout v-optiongroup createField()
v-customlayout v-splitpanel-... v-gridlayout v-csslayout 1
ColumnGenerator setTableFieldFactory()
new CustomLayout("template") setSplitPosition/Locked() addComponent(c)
/(c, col, row)/(c, c1, r1, c2, r2) Table Container.Ordered
v-table Container.Sortable
CellStyleGenerator
FormLayout AbstractOrderedLayout
v-formlayout
Tree Container.Hierarchical
v-tree
ItemStyleGenerator
HorizontalLayout VerticalLayout The Class Diagram presents all user interface component classes
v-horizontallayout v-verticallayout
2010 IT Mill Ltd
and the most important interfaces, relationships, and methods.
Cheat Sheet For Vaadin 6.4
GWT: code.google.com/webtoolkit/
Widget SomeWidget
Paintable VMyWidget*
updateFromUIDL()
ApplicationConnection
updateVariable()
Makes XMLHttpRequest
Use a custom theme by setting it in the main window object: Hello, World!
mainWindow.setTheme("mytheme"); public class MyApp extends com.vaadin.Application {
public void init() {
Use images included in a team as a ThemeResource: Window main = new Window("Hello Window");
Button button = new Button("Button with Icon"); setMainWindow(main);
button.setIcon(new ThemeResource("img/myimage.png")); main.setTheme("mytheme"); // Optional
Use a HTML template having <div location="hello"/> location tags Label label = new Label("Hello, World!");
with the CustomLayout component. Add components by their location tag: main.addComponent(label);
}
CustomLayout layout = new CustomLayout("mylayout"); }
layout.addComponent(new Button("Hello"), "hello");