Examples of Position


Examples of de.gamobi.jkariam.simpletypes.Position

    Document doc = builder.build(this.cityFile);
    Element city = doc.getRootElement();
   
    this.id = this.cityFile.getName().split(" ")[0];
    this.name = city.getAttributeValue("name");
    this.position = new Position(city.getAttributeValue("position"));
    this.resource = city.getAttributeValue("resource");
   
    this.totalPopulation = Integer.valueOf(city.getChild("population").getAttributeValue("total"));
    this.worker = Integer.valueOf(city.getChild("population").getAttributeValue("worker"));
    this.miner = Integer.valueOf(city.getChild("population").getAttributeValue("miner"));
View Full Code Here

Examples of ds.moteur.geometrie.Position

  public String getNom() {
    return nom;
  }
 
  public void init(PointEntree entree){
    this.position = new Position(entree);
    this.position.getCourbeCourante().getAbonnes().add(this);
    this.choisirUneCourbe(position.getCourbeCourante().getSortie());
    position.recupererPosition(positionAvant, angle);
   
    this.carrosserie.add(new Point(-longueur/2, largeur/2));
View Full Code Here

Examples of echiquier.outils.Position

    @Override
  public Position next(Position pi, Position pf, Couleur c) {
      int deltaY = pf.getY() - pi.getY();
    if (Math.abs(deltaY) == 2) {
      return new Position(pi.getX(), pi.getY() + deltaY/2);     
    }
    return pf;
  }
View Full Code Here

Examples of game_model.position

       
        owner = g;

        for(int i=0;i<owner.getDeck().size();i++){
            try {
              position puff = new position("hand");
              puff.setOwner(owner);
              puff.setOwn(owner.getDeck().get(i));
        hand.add(new card_view("hand",puff));
        this.add(hand.get(i));
      } catch (IOException e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of geom.Position

    // Paint the border.
    g2D.setColor(this.colourScheme.getBorderColour()); // edge
    g2D.drawRoundRect(x, y, (int) innerRectangle.width, (int) innerRectangle.height, 10, 10);

    Position contentTL = new Position(x+2, y+2);
    content.paint(g2D, contentTL, this.colourScheme);
  }
View Full Code Here

Examples of gov.nasa.worldwind.geom.Position

            return;
         }
        
         if (lyr instanceof GfrRlrObjTloRndSngPntAbs)
         {
            Position posNew = ((GfrRlrObjTloRndSngPntAbs) lyr).getPositionRenderableObject();
            Point2D.Double dou = new Point2D.Double();
            dou.x = posNew.longitude.degrees;
            dou.y = posNew.latitude.degrees;
        
            // beg ecl
View Full Code Here

Examples of gt.geolocation.w3c.Position

          x = stTok.nextToken().substring(1);
          x = x.substring(0, x.length()-1);
          double longitude = Double.parseDouble(x);
         
          Coordinates coords = new Coordinates(latitude, longitude, new Double(0), 0, new Double(0), null, new Double(0));
          Position pos = new Position(coords, -1);
          return pos;
        } else {
          return null;
        }
      } else {
View Full Code Here

Examples of info.fluxprojects.fluxant.core.Position

        int correctedCol = col % getCols(array);
        return correctedCol < 0 ? correctedCol + getCols(array) : correctedCol;
    }

    public static Position getPosition(Position position, Direction direction, int cols, int rows) {
        return new Position(
                getCorrectedCol(position.getCol() + direction.getColDelta(), cols),
                getCorrectedRow(position.getRow() + direction.getRowDelta(), rows)
        );
    }
View Full Code Here

Examples of it.stefanobertini.zebra.beans.Position

public class RssTest {

    @Test
    public void test1() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.RSS_14, "1234567890123", "1234567890");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 1 1234567890123|1234567890");

  assertCommand(output, command);
View Full Code Here

Examples of jadx.gui.utils.Position

    Object obj = tree.getLastSelectedPathComponent();
    if (obj instanceof JNode) {
      JNode node = (JNode) obj;
      JClass cls = node.getRootClass();
      if (cls != null) {
        tabbedPane.showCode(new Position(cls, node.getLine()));
      }
    }
  }
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.