Examples of hidden()


Examples of org.exoplatform.services.html.NodeConfig.hidden()

      while (tokens.hasNext())
      {
         NodeConfig config = temp.getConfig();

         if (config.hidden())
            setter.add(creator.getLast(), temp);

         else if (temp.getType() == TypeToken.CLOSE)
            closer.close(config);
View Full Code Here

Examples of org.nlogo.api.Link.hidden()

      return !riding_agent && !turtle.hidden()
        && (turtle.alpha() > 0.0 || turtle.hasLabel());
    } else if (agent instanceof Link) {
      Link link = (Link) agent;
      return !link.hidden() && (link.alpha() > 0.0 || link.hasLabel());
    } else if (agent instanceof Patch3D) {
      // Patch3D supports the alpha variable, so check Patch3D
      // before checking the regular Patch.

      Patch3D patch = (Patch3D) agent;
View Full Code Here

Examples of org.nlogo.api.Link.hidden()

  // detects which turtle(s) a pick-ray intersects with
  void pickLinks(List<Agent> agents, double[][] ray) {
    // detect any turtles in the pick-ray
    for (Agent a : world.links().agents()) {
      Link link = (Link) a;
      if (!link.hidden()) {
        double[] end1 = getTurtleCoords(link.end1(), 0);
        double[] end2 = getTurtleCoords(link.end2(), 0);

        double dist = Picker.distanceFromRayToSegment(ray, end1, end2);
View Full Code Here

Examples of org.nlogo.api.Turtle.hidden()

      Turtle turtle = (Turtle) agent;

      boolean riding_agent = (world.observer().perspective() == PerspectiveJ.RIDE())
          && (world.observer().targetAgent() == turtle);

      return !riding_agent && !turtle.hidden()
        && (turtle.alpha() > 0.0 || turtle.hasLabel());
    } else if (agent instanceof Link) {
      Link link = (Link) agent;
      return !link.hidden() && (link.alpha() > 0.0 || link.hasLabel());
    } else if (agent instanceof Patch3D) {
View Full Code Here

Examples of org.nlogo.api.Turtle.hidden()

  // detects which turtle(s) a pick-ray intersects with
  void pickTurtles(List<Agent> agents, double[][] ray) {
    // detect any turtles in the pick-ray
    for (Agent a : world.turtles().agents()) {
      Turtle turtle = (Turtle) a;
      if (!turtle.hidden()) {
        double size = turtle.size();

        double[] coord = getTurtleCoords(turtle, size);

        // determining distance to pick ray
View Full Code Here

Examples of org.persvr.data.ObjectId.hidden()

        messages.add(message);
      }

      public boolean shouldSerialize(Persistable obj) {
        ObjectId objId = obj.getId();
        if (objId.source == requestedSource || requestedSource == null || objId.subObjectId == null || objId.source == null || objId.hidden()){
          int level = obj.getAccessLevel();
          String id = idString(obj.getId());
          List<String> sameLevel =accessLevels[level];
          if (sameLevel == null)
            sameLevel = accessLevels[level] = new ArrayList<String>();
View Full Code Here

Examples of org.persvr.data.ObjectId.hidden()

    Set<String> alreadyFulfilled = new HashSet<String>(100);

    public Request request;
    String getDisplayId(Persistable obj){
      ObjectId objId = obj.getId();
      if(objId.source == null || !objId.hidden())
        return request.idString(obj.getId());
      Persistable parent = obj.getParent();
      if (parent != null) {
       
        if(parent instanceof List){
View Full Code Here

Examples of org.vietspider.html.NodeConfig.hidden()

        continue;
      }
     
      NodeConfig config = temp.getConfig();
     
      if(config.hidden()) {
        setter.add(creator.getLast(), temp);
      } else if(temp.getType() == TypeToken.CLOSE) {
        closer.close(config);
      } else if(temp.getType() == TypeToken.TAG) {
        setter.add(temp);     
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.