Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.Frame


                tabbedPanel.add( constants.UserPermissionMappings(),
                                 new PermissionViewer() );
                break;
            case 6 :
                // TODO: Not a manager -Rikkola-
                Frame aboutInfoFrame = new Frame( "../AboutInfo.html" ); // NON-NLS

                FormStylePopup aboutPop = new FormStylePopup();
                aboutPop.setWidth( 600 + "px" );
                aboutPop.setTitle( constants.About() );
                String hhurl = GWT.getModuleBaseURL()
View Full Code Here


            // TODO multiple opens with the same target will in practice just
            // open the last one - should we fix that somehow?
            final String parsedUri = client.translateVaadinUri(childUidl
                    .getStringAttribute("src"));
            if (!childUidl.hasAttribute("name")) {
                final Frame frame = new Frame();
                DOM.setStyleAttribute(frame.getElement(), "width", "100%");
                DOM.setStyleAttribute(frame.getElement(), "height", "100%");
                DOM.setStyleAttribute(frame.getElement(), "border", "0px");
                frame.setUrl(parsedUri);
                contentPanel.setWidget(frame);
                showingUrl = true;
            } else {
                final String target = childUidl.getStringAttribute("name");
                Window.open(parsedUri, target, "");
View Full Code Here

     */

    public FramePopup(String title, String url) {

        super(title);
        m_frame = new Frame();
        add(m_frame);
        m_frame.setUrl(url);
    }
View Full Code Here

   *
   * @param url the url
   * @return the frame widget
   */
  public Frame setUrl(String url) {
    Frame f = new Frame(url);
    f.getElement().setPropertyInt("frameBorder", 0);
    f.setSize("100%", "100%");
    setLayout(new FlowLayout());
    removeAll();
    add(f);
    layout();
    return f;
View Full Code Here

   *
   * @param url the url
   * @return the new frame instance
   */
  public Frame setUrl(String url) {
    Frame f = new Frame(url);
    f.getElement().setPropertyInt("frameBorder", 0);
    f.setSize("100%", "100%");
    setLayout(new FlowLayout());
    removeAll();
    add(f);
    layout();
    return f;
View Full Code Here

   *
   * @param url the url
   * @return the frame widget
   */
  public Frame setUrl(String url) {
    Frame f = new Frame(url);
    fly(f.getElement()).setStyleAttribute("frameBorder", "0");
    f.setSize("100%", "100%");
    removeAll();
    add(new WidgetComponent(f));
    return f;
  }
View Full Code Here

                tabbedPanel.add(constants.UserPermissionMappings(),
                        new PermissionViewer());
                break;
            case 6:
                // TODO: Not a manager -Rikkola-
                Frame aboutInfoFrame = new Frame("../AboutInfo.html"); // NON-NLS

                FormStylePopup aboutPop = new FormStylePopup();
                aboutPop.setWidth(600 + "px");
                aboutPop.setTitle(constants.About());
                String hhurl = GWT.getModuleBaseURL()
View Full Code Here

            // TODO multiple opens with the same target will in practice just
            // open the last one - should we fix that somehow?
            final String parsedUri = client.translateVaadinUri(childUidl
                    .getStringAttribute("src"));
            if (!childUidl.hasAttribute("name")) {
                final Frame frame = new Frame();
                DOM.setStyleAttribute(frame.getElement(), "width", "100%");
                DOM.setStyleAttribute(frame.getElement(), "height", "100%");
                DOM.setStyleAttribute(frame.getElement(), "border", "0px");
                frame.setUrl(parsedUri);
                contentPanel.setWidget(frame);
                showingUrl = true;
            } else {
                final String target = childUidl.getStringAttribute("name");
                Window.open(parsedUri, target, "");
View Full Code Here

      public void onClick(ClickEvent event) {
        //Window.open("/gaficaidl.gidl.pdf", "_blank", null);
        RootPanel.get("indices").clear();
        vertical.clear();
        RootPanel.get("indices").add(vertical);
        Frame frame =new Frame("./graficaidl.idlpdf");
        frame.setSize("700px", "500px");
       
        vertical.add(frame);
       
      }
    });
   
    graficarIGR.addClickHandler(new ClickHandler() {
     
      @Override
      public void onClick(ClickEvent event) {
        //Window.open("/gaficaigr.gigr.pdf", "_blank", null);
        RootPanel.get("indices").clear();
        vertical.clear();
        RootPanel.get("indices").add(vertical);
        Frame frame =new Frame("./graficaigr.igrpdf");
        frame.setSize("700px", "500px");
       
        vertical.add(frame);
      }
    });
   
View Full Code Here

          // TODO Auto-generated method stub
          FormIDLAnalizar1.this.hide();
        }
      });
     
      Frame frame = new Frame("./idlgraficos.idldepartamentos?id="+dto.getId());
      frame.setSize("600px", "380px");
      Grid aux=new Grid(2,1);
      aux.setWidget(0, 0, grid);
      aux.setWidget(1, 0, frame);
      gridAux.setWidget(0, 0, aux);
      gridAux.setWidget(0, 1, deptos);
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.Frame

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.