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 org.apache.fop.fo.flow.ListItem

                    for (Iterator it = foNode.getChildNodes(); it.hasNext();) {
                        recurseFONode( (FONode) it.next() );
                    }
                }
            } else if (foNode instanceof ListItem) {
                ListItem item = (ListItem) foNode;

                recurseFONode(item.getLabel());
                recurseFONode(item.getBody());
            } else if (foNode instanceof Footnote) {
                Footnote fn = (Footnote)foNode;

                recurseFONode(fn.getFootnoteCitation());
                recurseFONode(fn.getFootnoteBody());
    View Full Code Here

    Examples of org.apache.pivot.wtk.content.ListItem

                for (int i = 0; i < array.length(); i++) {
                    String type = array.getJSONObject(i).getString("id");
                    if (type.contains(".")) {
                        String mainType = type.substring(0, type.indexOf("."));
                        String subType = type.substring(type.indexOf(".") + 1);
                        ListItem mainItem = new ListItem(mainType);
                        mainItem.setUserData(mainType);
                        typeSet.add(mainItem);
                        ListItem subItem = new ListItem(subType.substring(0, 1).toUpperCase() + subType.substring(1));
                        subItem.setUserData(type);
                        typeSet.add(subItem);
                    } else {
                        ListItem item = new ListItem(type);
                        item.setUserData(type);
                        typeSet.add(item);
                    }
                }
                List<ListItem> typeList = new ArrayList(typeSet.toArray());
                list1Button.setListData(typeList);
    View Full Code Here

    Examples of org.apache.pivot.wtk.content.ListItem

            // Build list of search criteras based on selected items
            List<String> searchCriterias = new ArrayList<String>();
            for (ListButton button : previousButtons) {
                if (button.getSelectedIndex() >= 0) {
                    ListItem selectedItem = (ListItem) button.getSelectedItem();
                    String criteriaType = selectedItem.getUserData().toString();
                    TableView tableView = viewMap.get(button);
                    if (tableView.getSelectedIndex() >= 0) {
                        TableViewItem selectedViewItem = (TableViewItem) tableView.getTableData().get(tableView.getSelectedIndex());
                        if (selectedViewItem.getId() != null) {
                            searchCriterias.add(criteriaType + ":" + selectedViewItem.getId());
    View Full Code Here

    Examples of org.apache.wicket.markup.html.list.ListItem

          @Override
          public Object getObject()
          {
            if (component instanceof ListItem)
            {
              final ListItem item = (ListItem) component;
              return (item.getIndex() % 2 == 1) ? "even" : "odd";
            }
            else if (component instanceof Item)
            {
              final Item item = (Item) component;
              return (item.getIndex() % 2 == 1) ? "even" : "odd";
            }
            else
            {
              throw new HypotheseException("Type d'item non attendu.");
            }
    View Full Code Here

    Examples of org.appfuse.client.widget.ListItem

        final Label grow = new Label();
        panel.add(grow);
        grow.addStyleName("grow");
        final BulletList list = new BulletList();
        list.setStyleName("token-input-list-facebook");
        final ListItem item = new ListItem();
        item.setStyleName("token-input-input-token-facebook");
        itemBox
            .getElement()
            .setAttribute(
                "style",
                "outline-color: -moz-use-text-color; outline-style: none; outline-width: medium;");
        box.getElement().setId("suggestion_box");
        item.add(box);
        list.add(item);

        // this needs to be on the itemBox rather than box, or backspace will
        // get executed twice
        itemBox.addKeyDownHandler(new KeyDownHandler() {
          public void onKeyDown(KeyDownEvent event) {
            if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) {
              // only allow manual entries with @ signs (assumed email
              // addresses)
              if (itemBox.getValue().contains("@"))
                deselectItem(itemBox, list);
            }
            // handle backspace
            if (event.getNativeKeyCode() == KeyCodes.KEY_BACKSPACE) {
              if ("".equals(itemBox.getValue().trim())) {
                ListItem li = (ListItem) list.getWidget(list
                    .getWidgetCount() - 2);
                Paragraph p = (Paragraph) li.getWidget(0);
                if (itemsSelected.contains(p.getText())) {
                  itemsSelected.remove(p.getText());
                  GWT.log("Removing selected item '" + p.getText()
                      + "'", null);
                  GWT.log("Remaining: " + itemsSelected, null);
    View Full Code Here

    Examples of org.axsl.fo.fo.ListItem

        private void validateFunctionHeritage(final int functionType,
                final FObj fobj) throws PropertyException {
            switch (functionType) {
            case Function.BODY_START: {
                /* TODO: Provide the right context. */
                final ListItem listItem = fobj.getNearestListItem(null);
                if (listItem == null) {
                    throw new PropertyException("body-start() called from outside "
                            + "an fo:list-item");
                }
                break;
            }
            case Function.LABEL_END: {
                /* TODO: Provide the right context. */
                final ListItem listItem = fobj.getNearestListItem(null);
                if (listItem == null) {
                    throw new PropertyException("label-end() called from outside "
                            + "an fo:list-item");
                }
                break;
    View Full Code Here

    Examples of org.foray.fotree.fo.obj.ListItem

            }
            case LIST_BLOCK: {
                return new ListBlock(parent, propertyList);
            }
            case LIST_ITEM: {
                return new ListItem(parent, propertyList);
            }
            case LIST_ITEM_BODY: {
                return new ListItemBody(parent, propertyList);
            }
            case LIST_ITEM_LABEL: {
    View Full Code Here

    Examples of org.jboss.as.console.client.widgets.forms.ListItem

            TextItem nameItem = new TextItem("name", Console.CONSTANTS.common_label_name());

            ComboBoxItem logLevelItem = new ComboBoxItem("level", Console.CONSTANTS.subsys_logging_logLevel());
            logLevelItem.setValueMap(LogLevel.STRINGS);

            ListItem handlersItem = new ListItem("handlers", Console.CONSTANTS.subsys_logging_handlers(), true);

            form.setFields(nameItem, logLevelItem, handlersItem);


            StaticHelpPanel helpPanel = new StaticHelpPanel("Defines a logger category.");
    View Full Code Here

    Examples of org.jboss.as.console.client.widgets.forms.ListItem

            // ---

            final Form<VirtualServer> form = new Form<VirtualServer>(VirtualServer.class);

            TextBoxItem name = new TextBoxItem("name", "Name");
            ListItem alias = new ListItem("alias", "Alias")
            {
                @Override
                public boolean isRequired() {
                    return false;
                }
    View Full Code Here

    Examples of org.jboss.as.console.client.widgets.forms.ListItem

            form = new Form<VirtualServer>(VirtualServer.class);
            form.setNumColumns(2);

            TextItem name = new TextItem("name", "Name");
            ListItem alias = new ListItem("alias", "Alias");
            TextBoxItem defaultModule = new TextBoxItem("defaultWebModule", "Default Module");

            form.setFields(name, alias, defaultModule);
            form.bind(table);
    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.