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

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


    }

    private static Frame getFrame() {
        /* Frame for stream resource handling */
        if (frame == null) {
            frame = new Frame();

            frame.setWidth("0px");
            frame.setHeight("0px");
            frame.getElement().getStyle().setProperty("visibility", "hidden");
            frame.getElement().getStyle().setProperty("position", "fixed");
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

        name = "/" + ApplicationPreferences.getFormBuilderContext() + "/embed?uuid=" +
                modelUUID + "&profile=" + ApplicationPreferences.getFormBuilderProfile();
        if (username[0] != null) {
            name += "&username=" + username[0];
        }
        frame = new Frame(name);
        frame.getElement().setAttribute("domain", Document.get().getDomain());
        frame.setWidth("100%");
        frame.setHeight("580px");
        initWidget(frame);
        setWidth("100%");
View Full Code Here

        initWidgets();
    }

    private void initWidgets() {
        String name = "/"+ApplicationPreferences.getDesignerContext()+"/editor/?uuid=" + modelUUID + "&profile="+ApplicationPreferences.getDesignerProfile();
        frame = new Frame( name );
        frame.getElement().setAttribute( "domain",
                                         Document.get().getDomain() );
        frame.setWidth( "100%" );
        frame.setHeight( "580px" );
        initWidget( frame );
View Full Code Here

            centertabbedPanel.addTab(constants.UserPermissionMappings(),
                true, new PermissionViewer(),
                "securityPermissions");
          break;
        case 6:
          Frame aboutFrame = new Frame("version.txt")//NON-NLS

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

        add(tp);

    }

    private Widget openEmbedded(String url) {
        return new Frame(url);
    }
View Full Code Here

        add(tp);

    }

    private Widget openEmbedded(String url) {
        return new Frame(url);
    }
View Full Code Here

    }
   
    protected void initWidgets() {
        String name = "/designer/editor";
        name += "?uuid=" + modelUUID;
        frame = new Frame(name);
        frame.getElement().setAttribute("domain", Document.get().getDomain());
        frame.setWidth("100%");
        frame.setHeight("100%");
        initWidget(frame);
        setWidth("100%");
View Full Code Here

    return browse;
  }

  private Widget getBrowse() {
    //Frame fm = new Frame("http://jon04.qa.atl.jboss.com:27080/Login.do");
    Frame fm = new Frame("rhq/JON.html");
    fm.setWidth("100%");
    fm.setHeight("100%");
    return fm;
  }
View Full Code Here

            centertabbedPanel.addTab(constants.UserPermissionMappings(),
                true, new PermissionViewer(),
                "securityPermissions");
          break;
        case 6:
          Frame aboutFrame = new Frame("version.txt")//NON-NLS

          FormStylePopup aboutPop = new FormStylePopup();
                    aboutPop.setWidth(600);
          aboutPop.setTitle(constants.About());
          String hhurl = GWT.getModuleBaseURL() + "webdav";
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.