Examples of state()


Examples of com.leapmotion.leap.KeyTapGesture.state()

        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());
        break;
      default:
        System.out.println("Unknown gesture type.");
        break;
View Full Code Here

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

        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());
        break;
      case TYPE_KEY_TAP:
        KeyTapGesture keyTap = new KeyTapGesture(gesture);
        System.out.println("Key Tap id: " + keyTap.id() + ", " + keyTap.state() + ", position: "
View Full Code Here

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

            + circle.progress() + ", radius: " + circle.radius() + ", angle: "
            + 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()
View Full Code Here

Examples of com.pointcliki.dizgruntled.logic.Grunt.state()

 
  protected boolean passable(GridCoordinate tile) {
    TreeSet<String> traits = fScene.mapManager().map().traits(tile);
    if (traits.contains("nogo") || traits.contains("solid") || traits.contains("water")) return false;
    Grunt g = fScene.gridManager().getFirstEntityOfTypeAt(tile, Grunt.class);
    if (g != null && g.state() != GruntState.MOVING) return false;
    return true;
  }
 
  protected boolean diagMove(GridCoordinate tile, GridCoordinate diagDir) {
    GridCoordinate a = tile.add(new GridCoordinate(diagDir.x(), 0));
View Full Code Here

Examples of com.spotify.docker.client.messages.ContainerInfo.state()

  private String createAndStartContainer()
      throws DockerException, InterruptedException {

    // Check if the container is already running
    final ContainerInfo info = getContainerInfo(existingContainerId);
    if (info != null && info.state().running()) {
      return existingContainerId;
    }

    // Ensure we have the image
    final String image = config.containerImage();
View Full Code Here

Examples of com.sun.enterprise.admin.jmx.remote.internal.Shifter.state()

  private MBeanServerRequestMessage removeVersion(MBeanServerRequestMessage from) {
    final int id = from.getMethodId();
    final Subject s = from.getDelegationSubject();
    final Shifter sh = new Shifter(from.getParams());
    sh.shiftLeft();
    final Object[] np = sh.state();
    return ( new MBeanServerRequestMessage(id, np, s) );
  }
  private boolean isCompatible(Version cv) {
    return ( matcher.match(cv, sv) );
  }
View Full Code Here

Examples of com.sun.tools.corba.se.idl.InterfaceEntry.state()

    if (entry.container () instanceof StructEntry || entry.container () instanceof UnionEntry)
      inStruct = true;
    else if (entry.container () instanceof InterfaceEntry)
    {
      InterfaceEntry i = (InterfaceEntry)entry.container ();
      if (i.state () != null)
      {
        Enumeration e = i.state ().elements ();
        while (e.hasMoreElements ())
          if (((InterfaceState)e.nextElement ()).entry == entry)
          {
View Full Code Here

Examples of com.sun.tools.corba.se.idl.ValueBoxEntry.state()

    else if (entry instanceof ValueEntry && entry.name ().equals ("ValueBase"))
        name = "java.io.Serializable";
    else if (entry instanceof ValueBoxEntry)
    {
      ValueBoxEntry v = (ValueBoxEntry) entry;
      TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry;
      SymtabEntry mType = member.type ();
      if (mType instanceof PrimitiveEntry)
      {
         name = containerFullName (entry.container ());
         if (!name.equals (""))
View Full Code Here

Examples of com.sun.tools.corba.se.idl.ValueEntry.state()

  // From JavaGenerator

  public int helperType (int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream)
  {
    ValueEntry vt = (ValueEntry) entry;
    Vector state = vt.state ();
    int noOfMembers = state == null ? 0 : state.size ();
    String members = "_members" + index++;
    String tcOfMembers = "_tcOf" + members;

    stream.println (indent + "org.omg.CORBA.ValueMember[] "
View Full Code Here

Examples of com.tacitknowledge.flip.model.FeatureState.state()

        }

        if (isFeatureHasParent(name))
        {
            final FeatureState parentResult = getFeatureState(getParentFeatureName(name));
            result = FeatureState.getByState(parentResult.state() && result.state());
        }

        return result;
    }
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.