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

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


        topWidget.setHTML(i, j, i + ":" + j);
      }
    }

    // Create a frame for the bottom of the split panel
    Frame bottomWidget = new Frame("http://www.google.com");
    bottomWidget.setSize("100%", "100%");

    // Create the split panel
    VerticalSplitPanel splitPanel = new VerticalSplitPanel();
    splitPanel.getElement().getStyle().setProperty("marginTop", "100px");
    splitPanel.getElement().getStyle().setProperty("marginLeft", "200px");
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

        scheduleParameterPanel.remove( parametersFrame );
        parametersFrame = null;
      }
    } else {
      if ( parametersFrame == null ) {
        parametersFrame = new Frame();
        scheduleParameterPanel.add( parametersFrame );
        parametersFrame.setHeight( "100%" ); //$NON-NLS-1$

        //DOM.setElementAttribute(parametersFrame.getElement(), "onload", "schedulerParamsLoadedCallback('" + scheduledFilePath + "')"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        addOnLoad( parametersFrame.getElement(), scheduledFilePath );
View Full Code Here

  public void popupClosed( PopupPanel panel ) {
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    FrameUtils.setEmbedVisibility( currentFrame, true );
  }
View Full Code Here

  public void popupOpened( PopupPanel panel ) {
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    if ( ElementUtils.elementsOverlap( panel.getElement(), currentFrame.getElement() ) ) {
      FrameUtils.setEmbedVisibility( currentFrame, false );
    }
  }
View Full Code Here

                            tabFolder.setSelection(rt);
                            return;
                          }
                        }
                       
                        Frame frame = new Frame();
                        frame.setHeight("100%");
                        frame.setWidth("100%");
                        WidgetComponent component = new WidgetComponent(frame);
                        frame.setUrl(url);
                        ReportTab tab = new ReportTab(url + report.getName(), report.getName());
                        tab.setClosable(true);
                        tab.add(component);
                        tabFolder.add(tab);
                        tabFolder.setSelection(tab);
View Full Code Here

      public void onClose( CloseEvent<PopupPanel> event ) {
        IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
        if ( iframeTab == null || iframeTab.getFrame() == null ) {
          return;
        }
        Frame currentFrame = iframeTab.getFrame();
        FrameUtils.setEmbedVisibility( currentFrame, true );
      }
    } );

    DOM.setElementAttribute( getElement(), "oncontextmenu", "return false;" ); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    FrameUtils.setEmbedVisibility( currentFrame, true );
  }
View Full Code Here

    super.show();
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    if ( ElementUtils.elementsOverlap( this.getElement(), currentFrame.getElement() ) ) {
      FrameUtils.setEmbedVisibility( currentFrame, false );
    }
  }
View Full Code Here

 
  TemplateEditorTab() {
    super("Template");
    setText("Template");
    setClosable(false);
    frame = new Frame();
    frame.setHeight("100%");
    frame.setWidth("100%");
    WidgetComponent component = new WidgetComponent(frame);
    add(component);
  }
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.