Examples of Label


Examples of org.joshy.gfx.node.control.Label

public class PencilTool extends PixelTool {
    private FlexBox panel;
    public PencilTool(PixelDocContext pixelDocContext) {
        super(pixelDocContext);
        panel = new HFlexBox().setBoxAlign(HFlexBox.Align.Baseline);
        panel.add(new Label("Pencil"));

    }
View Full Code Here

Examples of org.jruby.compiler.ir.operands.Label

                lastInstr = instrs[ipc];
               
                if (debug) System.out.println("EXEC'ing: " + lastInstr);
               
                try {
                    Label jumpTarget = lastInstr.interpret(interp, self);
                    ipc = (jumpTarget == null) ? ipc + 1 : jumpTarget.getTargetPC();
                }
                // SSS FIXME: This only catches Ruby exceptions
                // What about Java exceptions?
                catch (org.jruby.exceptions.RaiseException re) {
                    ipc = cfg.getRescuerPC(lastInstr);
View Full Code Here

Examples of org.jruby.ir.operands.Label

                entryBB.addInstr(new PushBindingInstr(scope));

                // Allocate GEB if necessary for popping binding
                if (geb == null && (scopeHasLocalVarStores || scopeHasUnrescuedExceptions)) {
                    Variable exc = scope.getNewTemporaryVariable();
                    geb = new BasicBlock(cfg, new Label("_GLOBAL_ENSURE_BLOCK"));
                    geb.addInstr(new ReceiveExceptionInstr(exc, false)); // No need to check type since it is not used before rethrowing
                    geb.addInstr(new ThrowExceptionInstr(exc));
                    cfg.addGlobalEnsureBB(geb);
                }
View Full Code Here

Examples of org.jsurveylib.model.Label

                Element elementNode = (Element) elementNodes.item(i);
                if (elementNode.getTagName().equals("question")) {
                    Question question = buildQuestion(elementNode);
                    page.addQuestion(question);
                } else {
                    Label label = new Label(elementNode.getTextContent());
                    page.addLabel(label);
                }
            }
        }
View Full Code Here

Examples of org.kite9.diagram.primitives.Label

  public static NounFormat asContext(final boolean border,
      final Layout d, final Label l) {
    return new NounFormat() {
      public Connected returnElement(Container c, SimpleNoun to,
          InsertionInterface ii) {
        Label toUse = (l == null) ? (to.getLabel() == null ? null
            : new TextLine(to.getLabel())) : l;
        DiagramElement de = ii.returnContext(c, to, border ? toUse
            : null, border, d);
        if (de instanceof Connected) {
          return (Connected) de;
View Full Code Here

Examples of org.libreplan.business.labels.entities.Label

    public List<Label> getAllLabels() {
        return workingArrangementsPerOrderModel.getAllLabels();
    }

    public void onSelectLabel() {
        Label label = (Label) bdLabels.getSelectedElement();
        if (label == null) {
            throw new WrongValueException(bdLabels, _("please, select a label"));
        }
        boolean result = workingArrangementsPerOrderModel
                .addSelectedLabel(label);
View Full Code Here

Examples of org.mapstruct.ap.test.nestedsourceproperties.source.Label

        Studio studio = new Studio();
        studio.setName( "Abbey Road" );
        studio.setCity( "London" );

        Label label = new Label();
        label.setStudio( studio );
        label.setName( "EMY" );

        Artist artist = new Artist();
        artist.setName( "The Beatles" );
        artist.setLabel( label );
View Full Code Here

Examples of org.mockito.asm.Label

            }
            public CodeEmitter beginMethod(ClassEmitter ce, MethodInfo method) {
                CodeEmitter e = EmitUtils.begin_method(ce, method);
                if (!interceptDuringConstruction &&
                    !TypeUtils.isAbstract(method.getModifiers())) {
                    Label constructed = e.make_label();
                    e.load_this();
                    e.getfield(CONSTRUCTED_FIELD);
                    e.if_jump(e.NE, constructed);
                    e.load_this();
                    e.load_args();
View Full Code Here

Examples of org.modeshape.common.annotation.Label

                description = localizedString(desc.i18n(), desc.value());
                inferred = false;
            }
        }
        if (label == null) {
            Label labelAnnotation = getAnnotation(Label.class, field, getters, setters);
            if (labelAnnotation != null) {
                label = localizedString(labelAnnotation.i18n(), labelAnnotation.value());
                inferred = false;
            }
        }
        if (category == null) {
            Category cat = getAnnotation(Category.class, field, getters, setters);
View Full Code Here

Examples of org.mokai.ui.annotation.Label

    Field[] classFields = clazz.getDeclaredFields();
    for (Field classField : classFields) {
      String name = classField.getName();
      String label = name;

      Label labelAnnotation = classField.getAnnotation(Label.class);
      if (labelAnnotation != null) {
        label = labelAnnotation.value();
      }

      boolean fieldCreated = false;

      // SelectValuesField
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.