Examples of Bookmark


Examples of org.apache.wicket.DequeueContext.Bookmark

    {
      // essentially what we do is for every child replace the repeater with the child in
      // dequeue container stack and run the dequeue on the child. we also take care to reset
      // the state of the dequeue context after we process every child.

      Bookmark bookmark = dequeue.save();

      for (Component child : this)
      {
        if (child instanceof MarkupContainer)
        {
View Full Code Here

Examples of org.axsl.fo.fo.Bookmark

            return;
        }
        this.bookmarkTreeArea = BookmarkTreeArea.makeBookmarkTreeArea(
                bookmarkTree, this);
        for (int i = 0; i < bookmarkTree.getChildCount(); i++) {
            final Bookmark bookmark = (Bookmark)
                    bookmarkTree.getChildAt(i);
            this.bookmarkTreeArea.makeBookmarkArea(bookmark);
        }
    }
View Full Code Here

Examples of org.axsl.galley.Bookmark

    /**
     * {@inheritDoc}
     */
    public void render(final BookmarkTree area) {
        for (int i = 0; i < area.getChildren().size(); i++) {
            final Bookmark child = area.getChildren().get(i);
            renderBookmark(child, this.pdfDoc.getOutlineRoot());
        }
    }
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.stream.attach.bookmark.Bookmark

                        LinkInformation linkInformation = new LinkInformation();
                        String linkText = addLinkComposite.getLinkText();
                        linkInformation.setUrl(linkText);
                        linkInformation.setTitle(linkText);

                        Bookmark bookmark = new Bookmark(linkInformation);
                        attachment = bookmark;
                    }

                    ActivityDTOPopulatorStrategy objectStrat = attachment != null ? attachment.getPopulator()
                            : new NotePopulator();
View Full Code Here

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

        }
        case BLOCK_CONTAINER: {
            return new BlockContainer(parent, propertyList);
        }
        case BOOKMARK: {
            return new Bookmark(parent, propertyList);
        }
        case BOOKMARK_TITLE: {
            return new BookmarkTitle(parent, propertyList);
        }
        case BOOKMARK_TREE: {
View Full Code Here

Examples of org.locationtech.udig.bookmarks.Bookmark

    @Test
    public void testAddBookmark() {
        Collection<IBookmark> bookmarks = service.getBookmarks();
        assertTrue(bookmarks.isEmpty());
       
        bookmark = new Bookmark(referencedEnvelope, mapID, "Test Bookmark 1");
        service.addBookmark(bookmark);
        bookmarks = service.getBookmarks();
        assertEquals(1, bookmarks.size());
       
        Bookmark bookmark2 = new Bookmark(referencedEnvelope, mapID, "Test Bookmark 1");
        service.addBookmark(bookmark2);
        bookmarks = service.getBookmarks();
        assertEquals(2, bookmarks.size());
       
    }
View Full Code Here

Examples of org.onebusaway.users.model.properties.Bookmark

    v2.setDefaultLocationLon(v1.getDefaultLocationLon());
    v2.setDefaultLocationName(v1.getDefaultLocationName());

    int index = 0;
    for (String stopId : v1.getBookmarkedStopIds()) {
      Bookmark bookmark = new Bookmark(index++,null,Arrays.asList(stopId),new RouteFilter());
      v2.getBookmarks().add(bookmark);
    }

    return v2;
  }
View Full Code Here

Examples of org.onebusaway.webapp.gwt.mobile_application.model.Bookmark

      row.setStyle(ListViewRowStyle.DEFAULT);
      row.setText("No bookmarks");
      return row;
    }

    Bookmark bookmark = _bookmarks.get(rowIndex);

    ListViewRow row = new ListViewRow();
    row.setStyle(ListViewRowStyle.DEFAULT);
    row.setText(bookmark.getName());

    return row;
  }
View Full Code Here

Examples of org.openstreetmap.josm.gui.download.BookmarkList.Bookmark

        bookmarks = new BookmarkList();
        bookmarks.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            @Override
            public void valueChanged(ListSelectionEvent e) {
                Bookmark b = bookmarks.getSelectedValue();
                if (b != null) {
                    gui.boundingBoxChanged(b.getArea(),BookmarkSelection.this);
                }
            }
        });
        bookmarks.addMouseListener(new DoubleClickAdapter());
View Full Code Here

Examples of org.pdfclown.documents.interaction.navigation.document.Bookmark

    // Bookmarks.
    Bookmarks bookmarks = new Bookmarks(document);
    document.setBookmarks(bookmarks);
    document.setPageMode(PageModeEnum.Bookmarks);
    Page page = pages.get(0);
    Bookmark rootBookmark = new Bookmark(
      document,
      "Creation Sample",
      new LocalDestination(
        page,
        Destination.ModeEnum.Fit,
        null
        )
      );
    bookmarks.add(rootBookmark);
    bookmarks = rootBookmark.getBookmarks();
    page = pages.get(1);
    Bookmark bookmark = new Bookmark(
      document,
      "2nd page (close-up view)",
      new LocalDestination(
        page,
        Destination.ModeEnum.XYZ,
        new Float[]{0f,250f,2f}
        )
      );
    bookmarks.add(bookmark);
    bookmark.getBookmarks().add(
      new Bookmark(
        document,
        "2nd page (mid view)",
        new LocalDestination(
          page,
          Destination.ModeEnum.XYZ,
          new Float[]{0f,(float)page.getSize().getHeight() - 250,1f}
          )
        )
      );
    page = pages.get(2);
    bookmarks.add(
      new Bookmark(
        document,
        "3rd page (fit horizontal view)",
        new LocalDestination(
          page,
          Destination.ModeEnum.FitHorizontal,
          new Float[]{0f}
          )
        )
      );
    try
    {
      bookmarks.add(
        bookmark = new Bookmark(
          document,
          "PDF Clown Home Page",
          new GoToURI(document, new URI("http://www.pdfclown.org"))
          )
        );
      bookmark.setFlags(EnumSet.of(FlagsEnum.Bold, FlagsEnum.Italic));
      bookmark.setColor(new DeviceRGBColor(.5f,.5f,1f));
    }
    catch(URISyntaxException e)
    {/* NOOP */}

    buildAccessories(document,"Complex Typesetting","complex typesetting");
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.