Examples of Dimension


Examples of main.Dimension

     * @param newNameRoom El nombre del mapa.
     * @param data El conjunto de puertas.
     * @param data2 El conjunto de ventanas.    
     */
    public Map(int dimX, int dimY, int newIdRoom, String newNameRoom, int[][] data, int[][] data2){             
        this.dimensionMap = new Dimension(dimX, dimY);
        this.idRoom = newIdRoom;
        this.nameRoom = newNameRoom;
        this.doors = data;
        this.windows = data2;
    }
View Full Code Here

Examples of mondrian.olap.Dimension

    while (member.getParentMember() != null) {
      memberValue = Util.quoteMdxIdentifier(member.getParentMember().getName()) + "." + memberValue;
      member = member.getParentMember();
    }
    final Hierarchy hierarchy = member.getHierarchy();
    final Dimension dimension = hierarchy.getDimension();
    if (hierarchy.getName().equals(dimension.getName())) {
      return Util.quoteMdxIdentifier(hierarchy.getName()) + "." + memberValue;
    } else {
      return Util.quoteMdxIdentifier(dimension.getName()) + "." + Util.quoteMdxIdentifier(hierarchy.getName()) + "." +
      memberValue;
    }
  }
View Full Code Here

Examples of oracle.AWXML.Dimension

     */
    myBuild.setTrackStatus(false);
    myBuild.setMaxJobQueues(0);
//    myBuild.setId(MyUUIDGen.getUUID());
   
    Dimension time = new Dimension();
    Dimension media = new Dimension();
    Dimension department = new Dimension();
    time.setId("MYTIME.DIMENSION");
    media.setId("MEDIA.DIMENSION");
    department.setId("DEPARTMENT.DIMENSION");
   
    Cube ems = new Cube();
    ems.setId("EMS.CUBE");

//    myBuild.addBuildList(time);
View Full Code Here

Examples of org.apache.myfaces.tobago.layout.Dimension

   * E. g. <code>width="#{tobagoContext.pageDimension.width.pixel - 100}"</code>
   */
  public Dimension getPageDimension() {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    AbstractUIPage page = ComponentUtils.findPage(facesContext);
    return new Dimension(page.getWidth(), page.getHeight());
  }
View Full Code Here

Examples of org.bigbluebutton.deskshare.common.Dimension

    int h = computeTileHeight(row);   
    int x = computeTileXLocation(col);
    int y = computeTileYLocation(row);
    int pos = computeTilePosition(row, col);
   
    Block t = new Block(new Dimension(w, h), pos, new Point(x,y), useSVC2);

    return t;
    }
View Full Code Here

Examples of org.eclipse.draw2d.geometry.Dimension

      Text text = (Text) celleditor.getControl();
      Rectangle rect = getWrapLabel().getTextBounds().getCopy();
      getWrapLabel().translateToAbsolute(rect);
      if (getWrapLabel().isTextWrapOn()
          && getWrapLabel().getText().length() > 0) {
        rect.setSize(new Dimension(text.computeSize(rect.width,
            SWT.DEFAULT)));
      } else {
        int avr = FigureUtilities.getFontMetrics(text.getFont())
            .getAverageCharWidth();
        rect.setSize(new Dimension(text.computeSize(SWT.DEFAULT,
            SWT.DEFAULT)).expand(avr * 2, 0));
      }
      if (!rect.equals(new Rectangle(text.getBounds()))) {
        text.setBounds(rect.x, rect.y, rect.width, rect.height);
      }
View Full Code Here

Examples of org.eclipse.papyrus.sysml.blocks.Dimension

   *            : the new Dimension (an InstanceSpecification stereotyped with a Dimension).
   */
  public void setDimensionForPrimitiveType(Element pt, InstanceSpecification is) {
    if (is != null && pt != null) {
      final Stereotype valueType = pt.getAppliedStereotype("SysML::Blocks::ValueType");
      final Dimension newDimension = (Dimension)is.getStereotypeApplication(is
          .getAppliedStereotype("SysML::Blocks::Dimension"));
      pt.setValue(valueType, "dimension", newDimension);
    }
  }
View Full Code Here

Examples of org.eclipse.test.performance.Dimension

                if (commentKind == Performance.EXPLAINS_DEGRADATION_COMMENT && comment != null)
                    commentId= fSQL.getCommentId(commentKind, comment);
               
                Dimension[] summaryDimensions= sample.getSummaryDimensions();
                for (int i= 0; i < summaryDimensions.length; i++) {
                    Dimension dimension= summaryDimensions[i];
                    if (dimension instanceof Dim)
                        fSQL.createSummaryEntry(variation_id, scenario_id, ((Dim)dimension).getId(), isGlobal, commentId);
                }
                String shortName= sample.getShortname();
                if (shortName != null)
View Full Code Here

Examples of org.eclipse.wb.draw2d.geometry.Dimension

  /**
   * If there are components that span multiple columns/rows, and no other "real" components in
   * these columns/rows, then removes these excess columns/rows.
   */
  public void command_normalizeSpanning() throws Exception {
    Dimension gridSize = getWidgetsGridSize();
    boolean[] filledColumns = new boolean[gridSize.width];
    boolean[] filledRows = new boolean[gridSize.height];
    for (WidgetInfo widget : getContainer().getChildrenWidgets()) {
      if (!isFiller(widget)) {
        TableLayoutDataInfo tableData = getTableData(widget);
View Full Code Here

Examples of org.gwt.mosaic.core.client.Dimension

        signalWindowPanel = new WidgetWindowPanel(
                "Signal process",
                layout, false
        );
        signalWindowPanel.setSize(new Dimension(500, 400));

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