Examples of Size


Examples of org.hibernate.metamodel.relational.Size

    return null;
  }

  @Override
  public Size getSize() {
    return new Size(
        columnValues.getPrecision(),
        columnValues.getScale(),
        columnValues.getLength(),
        Size.LobMultiplier.NONE
    );
View Full Code Here

Examples of org.hibernate.validator.Size

        if (field.getAnnotation(NotEmpty.class) != null) {
            formField.setRequired(true);
            formField.setMin(1);
        }
        if (field.getAnnotation(Size.class) != null) {
            Size size = field.getAnnotation(Size.class);
            formField.setMin(size.min());
            formField.setMax(size.max());
        }
        if (field.getAnnotation(Length.class) != null) {
            Length length = field.getAnnotation(Length.class);
            formField.setMin(length.min());
            formField.setMax(length.max());
View Full Code Here

Examples of org.jclouds.digitalocean.domain.Size

      // Resize requires the droplet to be powered off
      int powerOffEvent = api.getDropletApi().powerOff(droplet.getId());
      assertTrue(powerOffEvent > 0, "The event id should be > 0");
      waitForEvent(powerOffEvent);

      Size newSize = sizes.get(1);
      int resizeEvent = api.getDropletApi().resize(droplet.getId(), newSize.getId());
      assertTrue(resizeEvent > 0, "The event id should be > 0");
      waitForEvent(resizeEvent);
   }
View Full Code Here

Examples of org.jitterbit.integration.uidelegate.entity.EntityIcons.Size

        }

        private Icon getIconForEntity(Object nodeObject) {
            IntegrationEntity entity = (IntegrationEntity) nodeObject;
            EntityType type;
            Size size;
            if (entity instanceof RootFolder) {
                size = Size.MEDIUM;
                type = ((RootFolder) entity).getItemType();
            } else {
                size = Size.SMALL;
View Full Code Here

Examples of org.opencv.core.Size

        String[] sizes_str = n_getSupportedPreviewSizes(nativeObj).split(",");
        List<Size> sizes = new LinkedList<Size>();

        for (String str : sizes_str) {
            String[] wh = str.split("x");
            sizes.add(new Size(Double.parseDouble(wh[0]), Double.parseDouble(wh[1])));
        }

        return sizes;
    }
View Full Code Here

Examples of org.rometools.feed.module.base.types.Size

        } else if((pd.getPropertyType() == GenderEnumeration.class)||(pd.getPropertyType().getComponentType() == GenderEnumeration.class)) {
            tagValue = GenderEnumeration.findByValue(tag.getText().trim());
        } else if((pd.getPropertyType() == YearType.class)||(pd.getPropertyType().getComponentType() == YearType.class)) {
            tagValue = new YearType(tag.getText().trim());
        } else if((pd.getPropertyType() == Size.class)||(pd.getPropertyType().getComponentType() == Size.class)) {
            tagValue = new Size(tag.getText().trim());
        }

        if(!pd.getPropertyType().isArray()) {
            pd.getWriteMethod().invoke(module,new Object[] {tagValue});
        } else {
View Full Code Here

Examples of org.rstudio.core.client.Size

      EditDialog editDialog = new EditDialog("Provide Feedback",
                                             "Submit",
                                             "",
                                             false,
                                             true,
                                             new Size(450,300),
                     new ProgressOperationWithInput<String>() {
         @Override
         public void execute(String input, ProgressIndicator indicator)
         {
            if (input == null)
View Full Code Here

Examples of org.rstudio.core.client.Size

      this("Edit",
           "Save",
           text,
           isRCode,
           lineWrapping,
           new Size(0,0),
           operation);
   }
View Full Code Here

Examples of org.rstudio.core.client.Size

   @Override
   protected Widget createMainWidget()
   {
      // create widget and set size
      Widget editWidget = editor_.getWidget();
      Size size = DomMetrics.adjustedCodeElementSize(sourceText_, 25, 100);
      if (!minimumSize_.isEmpty())
      {
         size = new Size(Math.max(size.width, minimumSize_.width),
                         Math.max(size.height, minimumSize_.height));
      }
      editWidget.setSize(size.width + "px", size.height + "px");

      editor_.setCode(sourceText_, false);
View Full Code Here

Examples of org.rstudio.core.client.Size

   }
  
   @Override
   public Size getViewerFrameSize()
   {
      return new Size(frame_.getOffsetWidth(), frame_.getOffsetHeight());
   }
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.