/** The Component to resize. */ public void setTarget(Component el) { JsoHelper.setAttribute(jsObj, "target", el.getOrCreateJsObj()); }
public static NumberField cast(Component component) { return new NumberField(component.getOrCreateJsObj()); }
/** * Creates a new PanelHeader from the given component * * @param component , the component to cast from * @return, a new PanelHeader from the component */ public static PanelHeader cast(Component component) { return new PanelHeader(component.getOrCreateJsObj()); }
/** * Creates a new TableView from the given component * * @param component , the component to cast from * @return, a new TableView from the component */ public static TreeView cast(Component component) { return new TreeView(component.getOrCreateJsObj()); }
public static Window cast(Component component) { return new Window(component.getOrCreateJsObj()); }
/** * Component from which the window should animate while opening. * * <p>Defaults to: null */ public void setAnimateTarget(Component component) { setAnimateTarget(component.getEl()); }
/** Specifies a Component to receive focus when this Window is focused. */ public void setDefaultFocus(Component value) { setAttribute("defaultFocus", value.getOrCreateJsObj(), true); }