Examples of Label


Examples of org.geotools.geometry.iso.topograph2D.Label

    // fast lookup
    Edge existingEdge = edgeList.findEqualEdge(e);

    // If an identical edge already exists, simply update its label
    if (existingEdge != null) {
      Label existingLabel = existingEdge.getLabel();

      Label labelToMerge = e.getLabel();
      // check if new edge is in reverse direction to existing edge
      // if so, must flip the label before merging it
      if (!existingEdge.isPointwiseEqual(e)) {
        labelToMerge = new Label(e.getLabel());
        labelToMerge.flip();
      }
      Depth depth = existingEdge.getDepth();
      // if this is the first duplicate found for this edge, initialize
      // the depths
      // /*
 
View Full Code Here

Examples of org.getspout.spoutapi.gui.Label

        player.sendMessage(ChatColor.RED + "Unexpected behavior may occur.");
        player.sendMessage(ChatColor.RED + "We recommend using /stop and restarting.");
        player.sendMessage(ChatColor.RED + "Or you can use /spout reload to reload the config.");
        player.sendMessage(ChatColor.RED + "If you want to use /reload anyway, use the command again.");
      } else {
        Label warning = new DecayingLabel(200, ChatColor.RED + "Spout does not support the /reload command." + "\n" + ChatColor.RED + "Unexpected behavior may occur." + "\n" + ChatColor.RED + "We recommend using /stop and restarting." + " \n" + ChatColor.RED + "Or you can use /spout reload to reload the config." + "\n" + ChatColor.RED + "If you want to use /reload anyway, use the command again.");
        warning.setX(100).setY(100).setPriority(RenderPriority.Lowest);
        player.getMainScreen().attachWidget(Spout.getInstance(), warning);
      }
      return;
    }
    super.a(packet);
View Full Code Here

Examples of org.glassfish.hk2.external.org.objectweb.asm.Label

    @Override
    public void visitTypeInsn(final int opcode, final String type) {
        if (opcode == Opcodes.NEW) {
            if (labels == null) {
                Label l = new Label();
                labels = new ArrayList<Label>(3);
                labels.add(l);
                if (mv != null) {
                    mv.visitLabel(l);
                }
View Full Code Here

Examples of org.gwt.mosaic.ui.client.Label

   *
   * @param textWithMnemonic the label's text - may mark a mnemonic
   * @return the added label
   */
  public Label append(String textWithMnemonic) {
    Label label = getComponentFactory().createLabel(textWithMnemonic);
    DOM.setStyleAttribute(label.getElement(), "overflow", "hidden");
    append(label);
    return label;
  }
View Full Code Here

Examples of org.hibernate.ogm.backendtck.id.Label

  }

  protected List<Label> labels(String... names) {
    final List<Label> labels = new ArrayList<Label>();
    for ( String name : names ) {
      labels.add( new Label( name ) );
    }
    return labels;
  }
View Full Code Here

Examples of org.jboss.errai.codegen.control.branch.Label

   * @param name  the name of the label.
   * @return the {@link LabelReference} found, can not be null.
   * @throws OutOfScopeException  if label with the given name can not be found.
   */
  public LabelReference getLabel(String name) {
    Label found = null;
    Context ctx = this;
    do {
      if (ctx.labels != null) {
        found = ctx.labels.get(name);
      }
    }
    while (found == null && (ctx = ctx.parent) != null);

    if (found == null)
      throw new OutOfScopeException("Label not found: " + name);

    return found.getReference();
  }
View Full Code Here

Examples of org.jboss.errai.codegen.framework.control.branch.Label

    return found.getReference();
  }

  public LabelReference getLabel(String name) {
    Label found = null;
    Context ctx = this;
    do {
      if (ctx.labels != null) {
        found = ctx.labels.get(name);
      }
    }
    while (found == null && (ctx = ctx.parent) != null);

    if (found == null)
      throw new OutOfScopeException("Label not found: " + name);

    return found.getReference();
  }
View Full Code Here

Examples of org.jboss.errai.ioc.rebind.ioc.codegen.control.branch.Label

    return found.getReference();
  }

  public LabelReference getLabel(String name) {
    Label found = null;
    Context ctx = this;
    do {
      if (ctx.labels != null) {
        found = ctx.labels.get(name);
      }
    }
    while (found == null && (ctx = ctx.parent) != null);

    if (found == null)
      throw new OutOfScopeException("Label not found: " + name);

    return found.getReference();
  }
View Full Code Here

Examples of org.jitterbit.ui.widget.Label

            label.setIcon(CommonIcons.REFRESH_16);
        }
    };

    public static void decorate(JButton button, LabelDecorator decorator) {
        Label label = ButtonUtils.asLabel(button);
        decorator.decorate(label);
    }
View Full Code Here

Examples of org.jnode.assembler.Label

            if (countConstOps) {
                counters.getCounter("TODOcheckbounds-indexIsConst").inc();
            }
        }

        final Label curInstrLabel = getCurInstrLabel();
        final Label test = new Label(curInstrLabel + "$$cbtest");
        final Label failed = new Label(curInstrLabel + "$$cbfailed");

        assertCondition(ref.isGPR(), "ref must be in a register");
        final GPR refr = ref.getRegister();

        os.writeJMP(test);
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.