Package com.gwtext.client.core

Examples of com.gwtext.client.core.ExtElement


    PanelProxy proxy = new PanelProxy(source.getProxy().getJsObj());
    proxy.getProxy().remove();
    final Panel proxyPanel = proxy.getPanel();

    Element parentNode = proxy.getPanel().getEl().getParentNode();
    new ExtElement(parentNode).removeChild(proxy.getPanel().getElement());
    if (pos != -1) {
      lastPosC.insert(pos, proxy.getPanel());
    } else {
      lastPosC.add(proxy.getPanel());
    }
View Full Code Here



  protected void afterRender() {
    DeferredCommand.addCommand(new Command() {
      public void execute() {
        ExtElement body = getBody();
        if (body != null) {
          mapJS = doRenderMap(body.getDOM());
          mapRendered = true;
          DeferredCommand.addCommand(new Command() {
            public void execute() {
              fireEvent(MAP_RENDERED_EVENT);
            }
View Full Code Here

      doResize();
    }
  }

  public void doResize() {
    ExtElement body = getBody();
    resizeTo(body.getWidth(), body.getHeight());
  }
View Full Code Here

                public void execute() {
                    hide();
                }
            });
        } else {
            ExtElement elem = getEl().up(".x-form-item");
            if(elem != null) elem.setDisplayed(false);
        }
    }
View Full Code Here

                public void execute() {
                    show();
                }
            });
        } else {
            ExtElement elem = getEl().up(".x-form-item");
            if(elem != null) elem.setDisplayed(true);
        }
    }
View Full Code Here

    public ExtElement getEl() {
        if(jsObj == null || getElement() == null) {
      return   null;
    } else {
       return new ExtElement(getElement());
    }
    }
View Full Code Here

    public void setJsObj(JavaScriptObject jsObj) {
        this.jsObj = jsObj;
    }

    public ExtElement getEl() {
        return jsObj == null ? null : new ExtElement(getElement());
    }
View Full Code Here

});
$wnd.Ext.reg('gwtwidget', $wnd.Ext.ux.WidgetComponent);
    }-*/;

    public WidgetComponent(Widget widget) {
        ExtElement hiddenDiv = Ext.get(hiddenDivID);
        if (hiddenDiv == null) {
            DomConfig domConfig = new DomConfig("div", hiddenDivID, null);
            domConfig.setStyle("display:none;");
            DomHelper.append(RootPanel.getBodyElement(), domConfig);
        }
View Full Code Here

   *
   * @param el the element
     * @throws IllegalStateException this property cannot be changed after the Component has been rendered
   */
  public void setEl(Element el) throws IllegalStateException {
    setAttribute("el", new ExtElement(el).getJsObj(), false);
  }
View Full Code Here

        hp.add(moveDown);
        hp.add(moveUp);



        final ExtElement e = new ExtElement(hp.getElement());
        e.setOpacity(0.1f, false);

        FocusPanel actionPanel = new FocusPanel(hp);

        MouseListenerAdapter mouseListenerAdapter = new MouseListenerAdapter() {

            @Override
            public void onMouseEnter(Widget sender) {
                e.setOpacity(1, false);
            }

            @Override
            public void onMouseLeave(Widget sender) {
                e.setOpacity(0.1f, false);
            }
        };


        actionPanel.addMouseListener(mouseListenerAdapter);
View Full Code Here

TOP

Related Classes of com.gwtext.client.core.ExtElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.