Examples of Label


Examples of com.sun.lwuit.Label

   */
  public void notifyJudInfo(String info) {
   
    infopool.put("jud_message", info);
    if (midlet.internal_state != JUD)
      Dialog.show("Search user",new Label(info), new Command[]{Contents.ok}, Dialog.TYPE_INFO,null);
   
      //display.setCurrent(new Alert("Jud alert", info, null,AlertType.INFO));
    else
      midlet.getGuiJudMenu();
  }
View Full Code Here

Examples of com.tek42.perforce.model.Label

                return FormValidation.ok();

            Depot depot = getDepotFromRequest(req);
            if (depot != null) {
                try {
                    Label p4Label = depot.getLabels().getLabel(label);
                    if (p4Label.getAccess() == null || p4Label.getAccess().equals(""))
                        return FormValidation.error("Label does not exist");
                } catch (PerforceException e) {
                    return FormValidation.error(
                            "Error accessing perforce while checking label");
                }
View Full Code Here

Examples of com.totsp.gwittir.client.ui.Label

        super.initWidget(p);

        FlexTable base = new FlexTable();
        base.setWidth("100%");
        base.setStyleName("example-ContactEdit");
        base.setWidget(0, 0, new Label("First Name:"));
        base.setWidget(0, 1, firstName);
        base.setWidget(1, 0, new Label("LastName:"));
        base.setWidget(1, 1, lastName);
        base.setWidget(2, 0, new Label("Notes:"));
        base.getFlexCellFormatter().setColSpan(2, 0, 2);
        base.setWidget(3, 0, notes);
        base.getFlexCellFormatter().setColSpan(3, 0, 2);
        p.add(base);
        p.add(new Label("Addresses:"));
        addressCols[0] = new Field("type", "Type");
        addressCols[1] = new Field("address1", "Address");
        addressCols[2] = new Field("address2", "");
        addressCols[3] = new Field("city", "City");
        addressCols[4] = new Field("state", "State");
        addressCols[5] = new Field("zip", "Zip");

        factory.add(StateLookup.class,
            new BoundWidgetProvider() {
                public BoundWidget get() {
                    Label label = new Label();
                    label.setRenderer(new Renderer() {
                            public Object render(Object o) {
                                return (o == null) ? "" : ((StateLookup) o).code;
                            }
                        });

                    return label;
                }
            });

        factory.add(TypeLookup.class,
            new BoundWidgetProvider() {
                public BoundWidget get() {
                    TextBox label = new TextBox();
                    label.setRenderer(new Renderer() {
                            public Object render(Object o) {
                                return (o == null) ? "" : ((TypeLookup) o).name;
                            }
                        });

                    return label;
                }
            });
        factory.add(String.class, BoundWidgetTypeFactory.LABEL_PROVIDER);
        factory.add(Address.class,
            new BoundWidgetProvider() {
                public BoundWidget get() {
                    AddressEdit e = new AddressEdit();
                    e.setAction(new AddressEditAction());

                    return e;
                }
            });

        addresses = new BoundTable(BoundTable.HEADER_MASK +
                BoundTable.SORT_MASK + BoundTable.NO_SELECT_CELL_MASK +
                BoundTable.NO_SELECT_COL_MASK//+ BoundTable.MULTIROWSELECT_MASK
                 + BoundTable.INSERT_WIDGET_MASK, factory);
        addresses.setColumns(addressCols);

        addresses.setWidth("500px");
        p.add(addresses);
        p.add(this.newAddress);
        p.add(new Label("Phone Numbers: "));

        phoneCols[0] = new Field("type", "Type");
        phoneCols[1] = new Field("number", "Number");

        BoundWidgetTypeFactory phoneFactory = new BoundWidgetTypeFactory(true);
View Full Code Here

Examples of com.vaadin.ui.Label

        buttons(container);
    }

    private void typography(CssLayout container) {
        for (int i = 1; i <= 6; i++) {
            Label header = new Label("Bootstrap heading <h" + i + ">");
            header.addStyleName(Bootstrap.Typography.valueOf("H" + i)
                    .styleName());
            container.addComponent(header);
        }

        Label text = new Label(
                "Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.");
        text.addStyleName(Bootstrap.Typography.BODYCOPY.styleName());
        container.addComponent(text);

        text = new Label(
                "Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.");
        text.addStyleName(Bootstrap.Typography.BODYCOPY.styleName());
        container.addComponent(text);

        text = new Label(
                "Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.");
        text.addStyleName(Bootstrap.Typography.BODYCOPY.styleName());
        container.addComponent(text);

        text = new Label(
                "Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.");
        text.addStyleName(Bootstrap.Typography.LEAD.styleName());
        container.addComponent(text);

        text = new Label(
                "Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.");
        text.addStyleName(Bootstrap.Typography.SMALL.styleName());
        container.addComponent(text);

        text = new Label("Left aligned text");
        text.addStyleName(Bootstrap.Typography.TEXT_LEFT.styleName());
        container.addComponent(text);

        text = new Label("Center aligned text");
        text.addStyleName(Bootstrap.Typography.TEXT_CENTER.styleName());
        container.addComponent(text);

        text = new Label("Right aligned text");
        text.addStyleName(Bootstrap.Typography.TEXT_RIGHT.styleName());
        container.addComponent(text);

        // Colors

        text = new Label(
                "Muted. Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.");
        text.addStyleName(Bootstrap.Typography.TEXT_MUTED.styleName());
        container.addComponent(text);

        text = new Label(
                "Primary. Nullam id dolor id nibh ultricies vehicula ut id elit.");
        text.addStyleName(Bootstrap.Typography.TEXT_PRIMARY.styleName());
        container.addComponent(text);

        text = new Label(
                "Warning. Nullam id dolor id nibh ultricies vehicula ut id elit.");
        text.addStyleName(Bootstrap.Typography.TEXT_WARNING.styleName());
        container.addComponent(text);

        text = new Label(
                "Danger. Nullam id dolor id nibh ultricies vehicula ut id elit.");
        text.addStyleName(Bootstrap.Typography.TEXT_DANGER.styleName());
        container.addComponent(text);

        text = new Label(
                "Success. Nullam id dolor id nibh ultricies vehicula ut id elit.");
        text.addStyleName(Bootstrap.Typography.TEXT_SUCCESS.styleName());
        container.addComponent(text);

        text = new Label(
                "Info. Nullam id dolor id nibh ultricies vehicula ut id elit.");
        text.addStyleName(Bootstrap.Typography.TEXT_INFO.styleName());
        container.addComponent(text);
    }
View Full Code Here

Examples of com.vividsolutions.jts.geomgraph.Label

  public Node(Coordinate coord, EdgeEndStar edges)
  {
    this.coord = coord;
    this.edges = edges;
    label = new Label(0, Location.NONE);
  }
View Full Code Here

Examples of compiler.frames.Label

    // jedro:
    LinkedList<ImcStmt> stmts = ((ImcSEQ)(chunk.lincode)).stmts;
    int PC = 0;
    while (PC < stmts.size()) {
      Label newLabel = execStmt(stmts.get(PC));
      if (newLabel != null) {
        // Razveljavimo cevovod:
        PC = stmts.indexOf(new ImcLABEL(newLabel));
      }
      else PC++;
View Full Code Here

Examples of controlP5.Label

    map.panTo(center);

    // UI
    cp5 = new ControlP5(this);
    cp5.addSlider("simplificationTolerance").setPosition(20, 25).setRange(0, 25).setCaptionLabel("Simplification");
    Label label = cp5.addSlider("averageNumber").setPosition(20, 40).setRange(1, 10).setCaptionLabel("Average")
        .getCaptionLabel();

    cp5.addTextlabel("original").setText("ORIGINAL").setPosition(144, 12).setFont(label.getFont())
        .setColorValue(color(255));
    cp5.addTextlabel("combined").setText("SIMPL+AVG").setPosition(131, 55).setFont(label.getFont())
        .setColorValue(color(255));

    cp5.addToggle("showOriginal").setPosition(190, 10).setSize(10, 10).setLabelVisible(false);
    cp5.addToggle("showSimplified").setPosition(190, 25).setSize(10, 10).setLabelVisible(false);
    cp5.addToggle("showAveraged").setPosition(190, 40).setSize(10, 10).setLabelVisible(false);
View Full Code Here

Examples of de.eydamos.guiadvanced.form.Label

        addSubPart(btn_ok);
        addSubPart(btn_cancel);

        // create "Rename your Backpack" label at the top in the middle
        int posX = xSize / 2 - fontRendererObj.getStringWidth(TITLE) / 2;
        addSubPart(new Label(posX, 10, 0x000000, TITLE));

        // create "New name:" label at the left site above the GuiTextField
        addSubPart(new Label(20, 30, 0x404040, NEW_NAME));

        // create text field
        txt_backpackName = new Textbox(fontRendererObj, 20, 40, 200, 20);
        txt_backpackName.setFocused(true);
        txt_backpackName.setMaxStringLength(32);
View Full Code Here

Examples of de.matthiasmann.twl.Label

    return this.rootPane;
  }

  private Label createAndAddResourceLabel(String title, int width,
      String theme) {
    Label l;
    if (title == null) {
      l = new Label();
    } else {
      l = new Label(title);
    }
    l.setVisible(false);
    l.setSize(width, 15);
    l.setTheme(theme);
    this.rootPane.add(l);
    return l;
  }
View Full Code Here

Examples of dnb.data.Label

  @Override
  public Object getValueAt(int rowIndex, int columnIndex) { 
    if (columnIndex == 0) {
      return labels.get(rowIndex).getName();
    } else {
      Label l = labels.get(rowIndex);
      final int c = l.size();
      String entry = "";
      for (int i = 0; i < c; i++) {
        entry+= l.get(i) + " ";
      }
      return entry;
    }   
  }
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.