Examples of Label


Examples of org.togglz.core.annotation.Label

    private final String label;
    private final Class<? extends Annotation> annotation;

    private AnnotationFeatureGroup(Class<? extends Annotation> groupAnnotation) {
        this.annotation = groupAnnotation;
        Label labelAnnotation = groupAnnotation.getAnnotation(Label.class);
        if (labelAnnotation != null) {
            label = labelAnnotation.value();
        } else {
            label = groupAnnotation.getClass().getSimpleName();
        }
    }
View Full Code Here

Examples of org.xith3d.ui.hud.widgets.Label

        foods = new ArrayList<Food>();
       
        /*
         * UI
         */
        status = new Label(290f, 100f);
        status.setLocation(480f, 130f);
        status.setBackgroundColor(new Colorf(1f, 1f, 1f, .5f));
        status.setFontColor(Colorf.BLACK);
        status.setZIndex(2);
       
View Full Code Here

Examples of org.zkoss.zul.Label

      Div div = new Div();
      Image icon = new Image();
      icon.setStyle("padding: 0px 10px");
      icon.setSrc("/img/Centigrade-Widget-Icons/EnvelopeOpen-16x16.png");
      div.appendChild(icon);
      new Label(ary[0]).setParent(div);
      row.appendChild(div);
      new Label(ary[1]).setParent(row);
      new Label(ary[2]).setParent(row);
      new Label(ary[3]).setParent(row);
    } else {
      new Label(data.toString()).setParent(row);
    }
       
  }
View Full Code Here

Examples of org.zkoss.zul.api.Label

        }
    }

    private ICellForDetailItemRenderer<DetailItem, Data> expectTheCellRendererIsCalledForEachCell() {
        ICellForDetailItemRenderer<DetailItem, Data> mock = createStrictMock(ICellForDetailItemRenderer.class);
        Label labelMock = createNiceMock(Label.class);
        for (Data d : data) {
            for (DetailItem item : detailItems) {
                expect(mock.cellFor(item, d)).andReturn(labelMock);
            }
        }
View Full Code Here

Examples of pivot.wtk.Label

public class HelloJava implements Application {
    private Window window = null;

    public void startup(Display display, Dictionary<String, String> properties) {
        Label label = new Label();
        label.setText("Hello World!");
        label.getStyles().put("font", new Font("Arial", Font.BOLD, 24));
        label.getStyles().put("color", Color.RED);
        label.getStyles().put("horizontalAlignment",
            HorizontalAlignment.CENTER);
        label.getStyles().put("verticalAlignment",
            VerticalAlignment.CENTER);

        window = new Window();
        window.setContent(label);
        window.setTitle("Hello World!");
View Full Code Here

Examples of pu.web.client.gui.Label

    tfPassword.setFontColor(0, 0, 0);
    tfPassword.setPassword(true);
    tfPassword.setOnKeyDownListener(mOnKeyDownListener);
    addChild(tfPassword);
   
    lbStatus = new Label(407, 389, "");
    lbStatus.setFontColor(0, 185, 47);
    addChild(lbStatus);
  }
View Full Code Here

Examples of rocket.widget.client.Label

    final RootPanel rootPanel = RootPanel.get();

    final VerticalPanel panel = new VerticalPanel();
    rootPanel.add(panel);

    panel.add(new Label("Array elements"));
    final TextBox arrayElementCount = new TextBox();
    arrayElementCount.setText("1");
    panel.add(arrayElementCount);

    final Button createInstance = new Button("Create instance");
    createInstance.addMouseEventListener(new MouseEventAdapter() {
      public void onClick(final MouseClickEvent event) {
        final int elementCount = Integer.parseInt(arrayElementCount.getText());
        SerializationBenchmarker.this.setObject(createTree(elementCount));
        SerializationBenchmarker.this.log("", "Created instance that will be serialized, with " + elementCount + " elements.");
      }
    });
    panel.add(createInstance);

    final Button prepareGwtStream = new Button("Prepare " + GWT + " Stream");
    prepareGwtStream.addMouseEventListener(new MouseEventAdapter() {
      public void onClick(final MouseClickEvent event) {
        SerializationBenchmarker.this.prepareGwtStream();
      }
    });
    panel.add(prepareGwtStream);

    final Button prepareRocketStream = new Button("Prepare " + ROCKET + " Stream");
    prepareRocketStream.addMouseEventListener(new MouseEventAdapter() {
      public void onClick(final MouseClickEvent event) {
        SerializationBenchmarker.this.prepareRocketStream();
      }
    });
    panel.add(prepareRocketStream);

    panel.add(new Label("Iterations"));
    final TextBox iterations = new TextBox();
    iterations.setText("1");
    panel.add(iterations);

    final Button runGwtDeserialize = new Button("Run " + GWT + " Deserialize");
View Full Code Here

Examples of ru.yandex.qatools.allure.model.Label

    public static Label createThreadLabel(String thread) {
        return createLabel(LabelName.THREAD, thread);
    }

    public static Label createLabel(LabelName name, String value) {
        return new Label().withName(name.value()).withValue(value);
    }
View Full Code Here

Examples of scala.tools.asm.Label

        return LABEL;
    }

    public Label getLabel() {
        if (label == null) {
            label = new Label();
        }
        return label;
    }
View Full Code Here

Examples of statechum.Label

    PTASequenceEngine.Node currentNode = init;if (!currentNode.isAccept()) throw new IllegalArgumentException("untested on empty graphs");
    Iterator<Label> seqIt = inputSequence.iterator();
    while(seqIt.hasNext() && currentNode.isAccept())
    {
      Map<Label,PTASequenceEngine.Node> row = pta.get(currentNode);
      Label input = seqIt.next();
      if (row.containsKey(input))
        currentNode = row.get(input);
      else
        return null;// no transition with the current input
    }
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.