Examples of Dimension


Examples of ae.java.awt.Dimension

        compositionWindow.getContentPane().add(this);
        compositionWindow.addWindowListener(new FrameWindowAdapter());
        addInputMethodListener(this);
        compositionWindow.enableInputMethods(false);
        compositionWindow.pack();
        Dimension windowSize = compositionWindow.getSize();
        Dimension screenSize = (getToolkit()).getScreenSize();
        compositionWindow.setLocation(screenSize.width - windowSize.width-20,
                                    screenSize.height - windowSize.height-100);
        compositionWindow.setVisible(false);
    }
View Full Code Here

Examples of anvil.brain.Dimension

  {
    if (parameters.length < 1) {
      throw parametersMissing(context, "create");
    }
    try {
      Dimension dim = _synapse.createDimension(parameters[0].toString());
      return (dim != null) ? new AnyDimension(dim) : UNDEFINED;
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  }
View Full Code Here

Examples of ch.epfl.lbd.database.olap.Dimension

      Hierarchy spaceHier = new MondrianHierarchy("spaceHier",spaceDimension);
      spaceHier.addLevel(environmentLvl);
      spaceHier.addLevel(regionLvl);
      spaceHier.addLevel(areaLvl);
     
      Dimension spaceDim = new MondrianDimension("Space",spaceHier);

     
      //define episode presence measure
     
      String sql = "case when get_trj_space_area_intersections(trdw_episode_facts.geom) > 0 then  ceil(1/get_trj_space_area_intersections(trdw_episode_facts.geom)) else 0 end";
View Full Code Here

Examples of charva.awt.Dimension

  }
    }

    public Dimension minimumSize()
    {
  return new Dimension(this.getWidth(), getHeight());
    }
View Full Code Here

Examples of com.amazonaws.services.cloudwatch.model.Dimension

    request.setNamespace("AWS/SQS");
    request.setMetricName("NumberOfMessagesSent");

    Collection<Dimension> dimensions = new ArrayList<Dimension>();
    Dimension dimension = new Dimension();
    dimension.setName("QueueName");
    dimension.setValue("TasksQueue");
    dimensions.add(dimension);

    request.setDimensions(dimensions);
    request.setUnit(StandardUnit.Count);
    request.setPeriod(new Integer(200 * 3600));
 
View Full Code Here

Examples of com.ardor3d.extension.ui.util.Dimension

        final UIButton button = new UIButton("Button A");
        final Texture tex = TextureManager.load("images/ardor3d_white_256.jpg", Texture.MinificationFilter.Trilinear,
                false);
        button.setIcon(new SubTex(tex));
        button.setIconDimensions(new Dimension(26, 26));
        button.setGap(10);
        button.setLayoutData(BorderLayoutData.NORTH);
        button.setTooltipText("This is a tooltip!");
        panel.add(button);
View Full Code Here

Examples of com.github.sommeri.less4j.core.ast.NumberExpression.Dimension

    if (resultVal.isInfinite()) {
      problemsHandler.divisionByZero(second);
      return new FaultyExpression(second);
    }
   
    Dimension dimension = null;
    String suffix = null;
    if (first.getDimension()!=Dimension.NUMBER) {
      dimension=first.getDimension();
      suffix = first.getSuffix();
    } else {
View Full Code Here

Examples of com.google.code.appengine.awt.Dimension

    protected AbstractVectorGraphicsIO(AbstractVectorGraphicsIO graphics,
            boolean doRestoreOnDispose) {
        super(graphics);
        this.doRestoreOnDispose = doRestoreOnDispose;

        size = new Dimension(graphics.size);

        deviceClip = new Rectangle(graphics.deviceClip);
        userClip = (graphics.userClip != null) ? new Area(graphics.userClip)
                : null;
        currentTransform = new AffineTransform(graphics.currentTransform);
View Full Code Here

Examples of com.google.gdata.data.analytics.Dimension

    for (int entryIndex = 0; entryIndex < numEntries; entryIndex++) {
      DataEntry entry = new DataEntry();

      // Add all dimensions.
      for (int dimensionIndex = 0; dimensionIndex < dimensions.length; dimensionIndex++) {
        Dimension dimension = new Dimension();
        dimension.setValue(dimensions[dimensionIndex][entryIndex]);
        if (dimensionNames != null) {
          dimension.setName(dimensionNames[dimensionIndex]);
        }
        entry.addDimension(dimension);
      }
      // Add all metrics.
      for (int metricIndex = 0; metricIndex < metrics.length; metricIndex++) {
View Full Code Here

Examples of com.google.gwt.query.client.plugins.UiPlugin.Dimension

    this.offsetClick = offsetClick;
  }

  void cacheHelperSize() {
    if (helper != null) {
      setHelperDimension(new Dimension(helper.get(0)));
    }

  }
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.