Examples of Size


Examples of org.rstudio.core.client.Size

                                          items);
     
      // open the window
      satelliteManager_.openSatellite("review_changes",    
                                      params,
                                      new Size(1000,1200));
   }
View Full Code Here

Examples of org.rstudio.core.client.Size

      return plotsParent_;   
   }
  
   public Size getPlotFrameSize()
   {
      return new Size(frame_.getOffsetWidth(), frame_.getOffsetHeight());
   }
View Full Code Here

Examples of org.rstudio.core.client.Size

      // activate the plots tab if requested
      if (plotsState.getActivatePlots())
         view_.bringToFront();
     
      // update plot size
      plotSize_ = new Size(plotsState.getWidth(), plotsState.getHeight());

      // manipulator
      manipulatorManager_.setManipulator(plotsState.getManipulator(),
                                         plotsState.getShowManipulator());
     
View Full Code Here

Examples of org.rstudio.core.client.Size

            @Override
            public void onResponseReceived(String stem)
            {
               indicator.onCompleted();

               Size size = getPlotSize();
               final SavePlotAsPdfOptions currentOptions =
                   SavePlotAsPdfOptions.adaptToSize(
                         uiPrefs_.get().savePlotAsPdfOptions().getValue(),
                         pixelsToInches(size.width),
                         pixelsToInches(size.height));
View Full Code Here

Examples of org.rstudio.core.client.Size

         new Command() {
          @Override
          public void execute()
          {
             // determine the size (re-use the zoom window logic for this)
             final Size size = ZoomUtils.getZoomedSize(view_.getPlotFrameSize(),
                                                       new Size(400, 350),
                                                       new Size(750, 600));
            
             // show the dialog
             RPubsUploadDialog dlg = new RPubsUploadDialog(
                "Plots",
                "",
View Full Code Here

Examples of org.rstudio.core.client.Size

      };
  
  
   void onZoomPlot()
   {
      Size windowSize = ZoomUtils.getZoomWindowSize(
                              view_.getPlotFrameSize(), zoomWindowDefaultSize_);
     
      // determine whether we should scale (see comment in ImageFrame.onLoad
      // for why we wouldn't want to scale)
      int scale = 1;
View Full Code Here

Examples of org.rstudio.core.client.Size

   }
  
   @Override
   public void onPlotsZoomSizeChanged(PlotsZoomSizeChangedEvent event)
   {
      zoomWindowDefaultSize_ = new Size(event.getWidth(), event.getHeight());
   }
View Full Code Here

Examples of org.rstudio.core.client.Size

                                          items);
     
      // open the window
      satelliteManager_.openSatellite("review_changes",    
                                      params,
                                      new Size(1000,1200));
   }
View Full Code Here

Examples of org.rstudio.core.client.Size

   }
  
   @Handler
   public void onViewerZoom()
   {
      Size windowSize = ZoomUtils.getZoomWindowSize(
            display_.getViewerFrameSize(), zoomWindowDefaultSize_);

      // open and activate window
      NewWindowOptions options = new NewWindowOptions();
      options.setName("_rstudio_viewer_zoom");
View Full Code Here

Examples of org.springmodules.validation.bean.conf.loader.annotation.handler.Size

            errMsg = messages.getMessage(annotation.errorCode(), annotation.message());
            min = annotation.min();
            max = annotation.max();
            applyIfValang = valangToJS(annotation.applyIf());
        } else if (a instanceof Size) {
            Size annotation = (Size) a;
            errMsg = messages.getMessage(annotation.errorCode(), annotation.message());
            min = annotation.min();
            max = annotation.max();
            applyIfValang = valangToJS(annotation.applyIf());
        }

        StringBuffer sb = new StringBuffer();
        sb.append(" function() {return this.between(this.lengthOf(this.getPropertyValue(");
        sb.append(wrapAndEscapeJsString(field));// field
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.