Beispiel #1
0
 /** The Component to resize. */
 public void setTarget(Component el) {
   JsoHelper.setAttribute(jsObj, "target", el.getOrCreateJsObj());
 }
Beispiel #2
0
 public static NumberField cast(Component component) {
   return new NumberField(component.getOrCreateJsObj());
 }
Beispiel #3
0
 /**
  * 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());
 }
Beispiel #4
0
 /**
  * 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());
 }
Beispiel #5
0
 public static Window cast(Component component) {
   return new Window(component.getOrCreateJsObj());
 }
Beispiel #6
0
 /**
  * Component from which the window should animate while opening.
  *
  * <p>Defaults to: null
  */
 public void setAnimateTarget(Component component) {
   setAnimateTarget(component.getEl());
 }
Beispiel #7
0
 /** Specifies a Component to receive focus when this Window is focused. */
 public void setDefaultFocus(Component value) {
   setAttribute("defaultFocus", value.getOrCreateJsObj(), true);
 }