Example usage for com.google.gwt.user.client.ui Widget setLayoutData

List of usage examples for com.google.gwt.user.client.ui Widget setLayoutData

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui Widget setLayoutData.

Prototype

public void setLayoutData(Object layoutData) 

Source Link

Document

Sets the panel-defined layout data associated with this widget.

Usage

From source file:ru.fly.client.ui.panel.HLayout.java

License:Apache License

public void add(Widget w, VHLayoutData data) {
    w.setLayoutData(data);
    super.add(w);
}

From source file:ru.fly.client.ui.panel.SingleLayout.java

License:Apache License

public void add(Widget w, Margin m) {
    w.setLayoutData(m);
    add(w);
}

From source file:ru.fly.client.ui.panel.VLayout.java

License:Apache License

public void insert(Widget w, int idx, VHLayoutData data) {
    w.setLayoutData(data);
    super.insert(w, idx);
}