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