Examples of position()


Examples of com.leapmotion.leap.ScreenTapGesture.position()

            + swipe.position() + ", direction: " + swipe.direction() + ", speed: " + swipe.speed());
        break;
      case TYPE_SCREEN_TAP:
        ScreenTapGesture screenTap = new ScreenTapGesture(gesture);
        System.out.println("Screen Tap id: " + screenTap.id() + ", " + screenTap.state()
            + ", position: " + screenTap.position() + ", direction: " + screenTap.direction());
        break;
      case TYPE_KEY_TAP:
        KeyTapGesture keyTap = new KeyTapGesture(gesture);
        System.out.println("Key Tap id: " + keyTap.id() + ", " + keyTap.state() + ", position: "
            + keyTap.position() + ", direction: " + keyTap.direction());
View Full Code Here

Examples of com.leapmotion.leap.SwipeGesture.position()

            + Math.toDegrees(sweptAngle) + ", " + clockwiseness);
        break;
      case TYPE_SWIPE:
        SwipeGesture swipe = new SwipeGesture(gesture);
        System.out.println("Swipe id: " + swipe.id() + ", " + swipe.state() + ", position: "
            + swipe.position() + ", direction: " + swipe.direction() + ", speed: " + swipe.speed());
        break;
      case TYPE_SCREEN_TAP:
        ScreenTapGesture screenTap = new ScreenTapGesture(gesture);
        System.out.println("Screen Tap id: " + screenTap.id() + ", " + screenTap.state()
            + ", position: " + screenTap.position() + ", direction: " + screenTap.direction());
View Full Code Here

Examples of com.lightcrafts.utils.bytebuffer.LCByteBuffer.position()

    public ImageType getTrueImageTypeOf( ImageInfo imageInfo )
        throws IOException
    {
        final LCByteBuffer buf = imageInfo.getByteBuffer();
        try {
            buf.position( 12 );
            if ( buf.getEquals( "Raw", "ASCII" ) ) {
                final ImageMetadata metadata = imageInfo.getCurrentMetadata();
                MetadataUtil.removePreviewMetadataFrom( metadata );
                MetadataUtil.removeWidthHeightFrom( metadata );
                return PhaseOneTIFFRawImageType.INSTANCE;
View Full Code Here

Examples of com.moesol.geoserver.sync.json.Sha1SyncPositionHash.position()

    int remote_size = m_remote.h == null ? 0 : m_remote.h.size();
    while (i < local_size && j < remote_size) {
      Sha1SyncPositionHash localHashPos = m_local.h.get(i);
      Sha1SyncPositionHash remoteHashPos = m_remote.h.get(j);
     
      int cmp = localHashPos.position().compareTo(remoteHashPos.position());
      if (cmp < 0) {
        remoteMissingPosition(localHashPos.position(), localHashPos);
        i++;
        continue;
      }
View Full Code Here

Examples of com.netflix.zeno.fastblob.record.FastBlobDeserializationRecord.position()

        ByteDataBuffer buf = new ByteDataBuffer();

        rec.writeDataTo(buf);

        FastBlobDeserializationRecord deserializeRec = new FastBlobDeserializationRecord(testSerializer.getFastBlobSchema(), buf.getUnderlyingArray());
        deserializeRec.position(0);

        Boolean deserialized = testSerializer.deserialize(deserializeRec);

        Assert.assertEquals(Boolean.TRUE, deserialized);
    }
View Full Code Here

Examples of com.opengamma.engine.target.resolver.PositionSourceResolver.position()

    _positionSource = positionSource;
    if (positionSource != null) {
      final PositionSourceResolver resolver = new PositionSourceResolver(positionSource);
      addResolver(ComputationTargetType.PORTFOLIO, new LazyResolver.LazyPortfolioResolver(this, resolver.portfolio()));
      addResolver(ComputationTargetType.PORTFOLIO_NODE, new LazyResolver.LazyPortfolioNodeResolver(this, resolver.portfolioNode()));
      addResolver(ComputationTargetType.POSITION, new LazyResolver.LazyPositionResolver(this, resolver.position()));
      addResolver(ComputationTargetType.TRADE, new LazyResolver.LazyTradeResolver(this, resolver.trade()));
    }
    addResolver(ComputationTargetType.CURRENCY);
    addResolver(ComputationTargetType.PRIMITIVE);
    addResolver(ComputationTargetType.UNORDERED_CURRENCY_PAIR);
View Full Code Here

Examples of com.pointcliki.core.TextEntity.position()

    delete.resize(new Vector2f(155, 24));
    delete.position(new Vector2f(0, 26));
    addChild(delete, 3);
   
    TextEntity name = new TextEntity(l.name(), TextEntity.ALIGN_LEFT, EditorScene.LargeFont(), Color.darkGray);
    name.position(new Vector2f(0, 64));
    addChild(name, 4);
   
    int i = 80;
    int n = 100;
    // Add properties
View Full Code Here

Examples of com.pointcliki.text.HyperlinkText.position()

                  downloadBar.cleanup();
                  downloadText.cleanup();
                  showDownloadPage();
                }
              };
              StartScene.this.addChild(cancelText.position(new Vector2f(60, 450)));
             
              fVrzDown.start();
              fRezDown.start();
             
            } catch (Exception e) {
View Full Code Here

Examples of com.pointcliki.ui.Button.position()

        l.cleanup();
        return Minion.CONTINUE;
      }
    }, "delete logic");
    delete.resize(new Vector2f(155, 24));
    delete.position(new Vector2f(0, 26));
    addChild(delete, 3);
   
    TextEntity name = new TextEntity(l.name(), TextEntity.ALIGN_LEFT, EditorScene.LargeFont(), Color.darkGray);
    name.position(new Vector2f(0, 64));
    addChild(name, 4);
View Full Code Here

Examples of com.pointcliki.ui.DropDownMenu.position()

        fSubType = ((DropDownMenu) event.source()).value();
        editLogic(null);
        return Minion.CONTINUE;
      }
    });
    subtype.position(new Vector2f(0, 26));
    try {
      for (String s: JSONObject.getNames(fLogics.getJSONObject(fType))) subtype.add(s);
    } catch (JSONException e) {
      System.err.println("Error parsing the editor preset logics");
      System.err.println(e.getMessage());
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.