Examples of ListItem

  • com.google.appengine.tools.cloudstorage.ListItem
    Contains information of an individual listing item. If listing was non-recursive, GCS objects that match the prefix, {@link ListOptions.Builder#setPrefix(String)}, and has a separator after the prefix would be considered a directory and will only have the directory name set (length would be zero).
  • com.itextpdf.text.ListItem
    A ListItem is a Paragraph that can be added to a List.

    Example 1:

     List list = new List(true, 20); list.add(new ListItem("First line")); list.add(new ListItem("The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?")); list.add(new ListItem("Third line")); 
    The result of this code looks like this:
    1. First line
    2. The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?
    3. Third line
    Example 2:
     List overview = new List(false, 10); overview.add(new ListItem("This is an item")); overview.add("This is another item"); 
    The result of this code looks like this: @see Element @see List @see Paragraph
  • com.lowagie.text.ListItem
    A ListItem is a Paragraph that can be added to a List.

    Example 1:

     List list = new List(true, 20); list.add(new ListItem("First line")); list.add(new ListItem("The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?")); list.add(new ListItem("Third line")); 
    The result of this code looks like this:
    1. First line
    2. The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?
    3. Third line
    Example 2:
     List overview = new List(false, 10); overview.add(new ListItem("This is an item")); overview.add("This is another item"); 
    The result of this code looks like this: @see Element @see List @see Paragraph
  • com.pegaa.uploader.ui.filelist.item.ListItem
    @author tayfun
  • com.ponysdk.ui.server.basic.PListBox.ListItem
  • edu.mayo.bmi.guoqian.claml.ListItem
    3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{}rubric.simple"/> <element ref="{}Para"/> <element ref="{}Include"/> <element ref="{}List"/> <element ref="{}Table"/> </choice> <attGroup ref="{}attlist.ListItem"/> </restriction> </complexContent> </complexType> </element>
  • io.conducive.client.ui.widgets.html.ListItem
    @author Reuben Firmin
  • net.mygwt.ui.client.widget.ListItem
    A item contained in a List.
    CSS:
    .my-listitem (list item)
    .my-listitem .my-listitem-text (list item text)
    @see List
  • org.apache.click.examples.control.html.list.ListItem
    This control provides HTML listitem for ordered and unordered lists. @author Bob Schellink
  • org.apache.fop.fo.flow.ListItem
  • org.apache.pivot.wtk.content.ListItem
    Default list item implementation.
  • org.apache.wicket.markup.html.list.ListItem
    Container that holds components in a ListView. @author Jonathan Locke @param < T> Model object type
  • org.appfuse.client.widget.ListItem
  • org.axsl.fo.fo.ListItem

    An fo:list-item object in XSL-FO.

    Note the inclusion of {@link CommonMarginInlineOptimumPa} in the "extends"list. The "space-start" and "space-end" properties are not included in the list of properties that apply to fo:list-item. However, "margin-left", "margin-right", "margin-top", and "margin-bottom" are included in that list, and, in the aXSL normalizations scheme, these can map to "space-start" and "space-end". Therefore, access to those properties must be made available to an fo:list-item.

    @see "XSL-FO Recommendation 1.0, Section 6.8.3"
  • org.foray.fotree.fo.obj.ListItem
    A "list-item" object in XSL-FO.
  • org.jboss.as.console.client.widgets.forms.ListItem
    @author Heiko Braun @date 5/12/11
  • org.jboss.ballroom.client.widgets.forms.ListItem
    @author Heiko Braun @date 5/12/11
  • org.jbox2d.testbed.framework.TestbedModel.ListItem
  • org.sonatype.maven.polyglot.ruby.ConfigVisitor.ListItem
  • org.springmodules.xt.ajax.component.ListItem
    Component implementing an HTML list item. @author Sergio Bossa @author Peter Bona
  • org.zkoss.zul.Listitem
    A list item.

    Default {@link #getZclass}: z-listitem (since 5.0.0) @author tomyeh

  • pivot.wtk.content.ListItem
    Default list item implementation. @author gbrown

  • Examples of com.lowagie.text.ListItem

            List index = new List( true );

            for ( DrlRuleParser drlRuleData : rules ) {
                Chunk chunk = new Chunk( drlRuleData.getName() );
                // chunk.setLocalGoto( item.getName() );
                ListItem listItem = new ListItem( chunk );
                index.add( listItem );
            }

            return index;
        }
    View Full Code Here

    Examples of com.lowagie.text.ListItem

        createParagraph(p, props);
        return p;
      }

      public static ListItem createListItem(ChainedProperties props) {
        ListItem p = new ListItem();
        createParagraph(p, props);
        return p;
      }
    View Full Code Here

    Examples of com.lowagie.text.ListItem

            if (pendingLI)
              endElement(HtmlTags.LISTITEM);
            skipText = false;
            pendingLI = true;
            cprops.addToChain(tag, h);
            ListItem item = FactoryProperties.createListItem(cprops);
            stack.push(item);
            return;
          }
          if (tag.equals(HtmlTags.DIV) || tag.equals(HtmlTags.BODY) || tag.equals("p")) {
            cprops.addToChain(tag, h);
    View Full Code Here

    Examples of com.lowagie.text.ListItem

            Object list = stack.pop();
            if (!(list instanceof com.lowagie.text.List)) {
              stack.push(list);
              return;
            }
            ListItem item = (ListItem) obj;
            ((com.lowagie.text.List) list).add(item);
            ArrayList cks = item.getChunks();
            if (!cks.isEmpty())
              item.getListSymbol()
                  .setFont(((Chunk) cks.get(0)).getFont());
            stack.push(list);
            return;
          }
          if (tag.equals("div") || tag.equals("body")) {
    View Full Code Here

    Examples of com.lowagie.text.ListItem

                    }
                    return;
                }
                case LwgElement.LISTITEM:
                {
                    ListItem listItem = (ListItem) element;
                    styleAttributes = new Properties();
                    if (listItem.hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, listItem.getTotalLeading() + "pt");
                   
                    // start tag
                    addTabs(indent);
                    writeStart(HtmlTags.LISTITEM);
                    writeMarkupAttributes(markup);
                    write(listItem.getFont(), styleAttributes);
                    os.write(GT);
                    currentfont.push(listItem.getFont());
                    // contents
                    for (Iterator i = listItem.iterator(); i.hasNext(); ) {
                        write((LwgElement) i.next(), indent + 1);
                    }
                    // end tag
                    addTabs(indent);
                    writeEnd(HtmlTags.LISTITEM);
    View Full Code Here

    Examples of com.lowagie.text.ListItem

                    return;
                }

                // listitems
                if (ElementTags.LISTITEM.equals(name)) {
                    ListItem listItem = (ListItem) stack.pop();
                    List list = (List) stack.pop();
                    list.add(listItem);
                    stack.push(list);
                }
    View Full Code Here

    Examples of com.lowagie.text.ListItem

                // step 4:

          // RomanList
          RomanList roman = new RomanList(35);
          roman.setLowercase(true);
          roman.add(new ListItem("first item"));
          roman.add(new ListItem("second item blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah"));
          for (int i = 3; i < 151; i++) {
            roman.add(i + "th item");
          }
          document.add(roman);
          document.newPage();
          RomanList roman2 = new RomanList(35);
          roman2.add(new ListItem("first item"));
          roman2.add(new ListItem("second item"));
          for (int i = 3; i < 11; i++) {
            roman2.add(i + "th item");
          }
          document.add(roman2);
          document.newPage();
         
          // GreekList
          GreekList greek = new GreekList(15);
          greek.setLowercase(true);
          greek.add(new ListItem("first item"));
          greek.add(new ListItem("second item"));
          for (int i = 3; i < 20; i++) {
            greek.add(i + "th item");
          }
          document.add(greek);
          document.newPage();
         
          // GreekList
          GreekList greek2 = new GreekList(15);
          greek2.setLowercase(false);
          greek2.add(new ListItem("first item"));
          greek2.add(new ListItem("second item"));
          for (int i = 3; i < 20; i++) {
            greek2.add(i + "th item");
          }
          document.add(greek2);
         
          // ZapfDingbatsList
          ZapfDingbatsList z = new ZapfDingbatsList(42,15);
          z.add(new ListItem("first item"));
          z.add(new ListItem("second item"));
          for (int i = 3; i < 20; i++) {
            z.add(i + "th item");
          }
          document.add(z);
          document.newPage();
         
          // ZapfDingbatsNumberList
          ZapfDingbatsNumberList z0 = new ZapfDingbatsNumberList(0, 15);
          z0.add(new ListItem("first item"));
          z0.add(new ListItem("second item"));
          for (int i = 3; i < 11; i++) {
            z0.add(i + "th item");
          }
          document.add(z0);
          ZapfDingbatsNumberList z1 = new ZapfDingbatsNumberList(1, 15);
          z1.add(new ListItem("first item"));
          z1.add(new ListItem("second item"));
          for (int i = 3; i < 11; i++) {
            z1.add(i + "th item");
          }
          document.add(z1);
          ZapfDingbatsNumberList z2 = new ZapfDingbatsNumberList(2, 15);
          z2.add(new ListItem("first item"));
          z2.add(new ListItem("second item"));
          for (int i = 3; i < 11; i++) {
            z2.add(i + "th item");
          }
          document.add(z2);
          ZapfDingbatsNumberList z3 = new ZapfDingbatsNumberList(3, 15);
          z3.add(new ListItem("first item"));
          z3.add(new ListItem("second item"));
          for (int i = 3; i < 11; i++) {
            z3.add(i + "th item");
          }
          document.add(z3);
    View Full Code Here

    Examples of com.lowagie.text.ListItem

                Chunk c = new Chunk("");
                c.setNewPage();
                doc.add(c);

                List subList = new List(true, 40);
                subList.add(new ListItem("Sub list 1"));
                subList.add(new ListItem("Sub list 2"));

                List list = new List(true, 20);
                list.add(new ListItem("Test line 1"));
                list
                        .add(new ListItem(
                                "Test line 2 - This is a really long test line to test that linebreaks are working the way they are supposed to work so a really really long line of drivel is required"));
                list.add(subList);
                list.add(new ListItem("Test line 3 - \t\u20ac\t 60,-"));
                doc.add(list);

                list = new List(false, 20);
                list.add(new ListItem("Bullet"));
                list.add(new ListItem("Another one"));
                doc.add(list);

                doc.newPage();

                Chapter chapter = new Chapter(new Paragraph("This is a Chapter"), 1);
    View Full Code Here

    Examples of com.lowagie.text.ListItem

            for(int i = 0; i < list.getItems().size(); i++) {
                try {
                    LwgElement element = (LwgElement) list.getItems().get(i);
                   
                    if(element.type() == LwgElement.CHUNK) {
                        element = new ListItem((Chunk) element);
                    }
                    if(element instanceof ListItem) {
                        ll.setAlignment(((ListItem) element).getAlignment());
                    }
                    RtfBasicElement[] rtfElements = doc.getMapper().mapElement(element);
    View Full Code Here

    Examples of com.lowagie.text.ListItem

                // step 3: we open the document
                document.open();
               
                // step 4:
                List list = new List(true, 20);
                list.add(new ListItem("First line"));
                list.add(new ListItem("The second line is longer to see what happens once the end of the line is reached. Will it start on a new line?"));
                list.add(new ListItem("Third line"));
                document.add(list);
               
                document.add(new Paragraph("some books I really like:"));
                ListItem listItem;
                list = new List(true, 15);
                listItem = new ListItem("When Harlie was one", FontFactory.getFont(FontFactory.TIMES_ROMAN, 12));
                listItem.add(new Chunk(" by David Gerrold", FontFactory.getFont(FontFactory.TIMES_ROMAN, 11, LwgFont.ITALIC)));
                list.add(listItem);
                listItem = new ListItem("The World according to Garp", FontFactory.getFont(FontFactory.TIMES_ROMAN, 12));
                listItem.add(new Chunk(" by John Irving", FontFactory.getFont(FontFactory.TIMES_ROMAN, 11, LwgFont.ITALIC)));
                list.add(listItem);
                listItem = new ListItem("Decamerone", FontFactory.getFont(FontFactory.TIMES_ROMAN, 12));
                listItem.add(new Chunk(" by Giovanni Boccaccio", FontFactory.getFont(FontFactory.TIMES_ROMAN, 11, LwgFont.ITALIC)));
                list.add(listItem);
                document.add(list);
               
                Paragraph paragraph = new Paragraph("some movies I really like:");
                list = new List(false, 10);
                list.add("Wild At Heart");
                list.add("Casablanca");
                list.add("When Harry met Sally");
                list.add("True Romance");
                list.add("Le mari de la coiffeuse");
                paragraph.add(list);
                document.add(paragraph);
               
                document.add(new Paragraph("Some authors I really like:"));
                list = new List(false, 20);
                list.setListSymbol(new Chunk("\u2022", FontFactory.getFont(FontFactory.HELVETICA, 20, LwgFont.BOLD)));
                listItem = new ListItem("Isaac Asimov");
                list.add(listItem);
                List sublist;
                sublist = new List(false, true, 10);
                sublist.setListSymbol(new Chunk("", FontFactory.getFont(FontFactory.HELVETICA, 8)));
                sublist.add("The Foundation Trilogy");
                sublist.add("The Complete Robot");
                sublist.add("Caves of Steel");
                sublist.add("The Naked Sun");
                list.add(sublist);
                listItem = new ListItem("John Irving");
                list.add(listItem);
                sublist = new List(false, true, 10);
                sublist.setFirst('a');
                sublist.setListSymbol(new Chunk("", FontFactory.getFont(FontFactory.HELVETICA, 8)));
                sublist.add("The World according to Garp");
                sublist.add("Hotel New Hampshire");
                sublist.add("A prayer for Owen Meany");
                sublist.add("Widow for a year");
                list.add(sublist);
                listItem = new ListItem("Kurt Vonnegut");
                list.add(listItem);
                sublist = new List(false, true, 10);
                sublist.setListSymbol(new Chunk("", FontFactory.getFont(FontFactory.HELVETICA, 8)));
                sublist.add("Slaughterhouse 5");
                sublist.add("Welcome to the Monkey House");
    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.