Package org.wikipediacleaner.gui.swing.component

Examples of org.wikipediacleaner.gui.swing.component.PageListCellRenderer


    constraints.weighty = 0;
    panel.add(toolbar, constraints);
    constraints.gridy++;

    // Pages
    listCellRenderer = new PageListCellRenderer();
    listCellRenderer.showRedirect(true);
    listPages.setCellRenderer(listCellRenderer);
    JScrollPane scrollPages = new JScrollPane(listPages);
    scrollPages.setMinimumSize(new Dimension(100, 100));
    scrollPages.setPreferredSize(new Dimension(200, 500));
View Full Code Here


    // Links
    constraints.fill = GridBagConstraints.BOTH;
    constraints.weighty = 1;
    listLinks = new JList(modelLinks);
    listLinks.setCellRenderer(new PageListCellRenderer());
    listLinks.addMouseListener(new BasicPageListPopupListener(getWikipedia(), null, listLinks, this));
    listLinks.addMouseListener(new PageListAnalyzeListener(getWikipedia(), null));
    JScrollPane scrollLinks = new JScrollPane(listLinks);
    scrollLinks.setMinimumSize(new Dimension(100, 100));
    scrollLinks.setPreferredSize(new Dimension(200, 500));
View Full Code Here

    constraints.weighty = 0;
    panel.add(toolbar, constraints);
    constraints.gridy++;

    // Links
    listCellRenderer = new PageListCellRenderer();
    listCellRenderer.showRedirect(true);
    listCellRenderer.showRedirectBacklinks(true);
    if (getPage() != null) {
      listCellRenderer.setPageProperties(configuration.getSubProperties(
          getWikipedia(), Configuration.PROPERTIES_BACKLINKS, getPage().getTitle()));
View Full Code Here

    constraints.gridy++;

    // Links
    constraints.fill = GridBagConstraints.BOTH;
    constraints.weighty = 1;
    listCellRenderer = new PageListCellRenderer();
    listCellRenderer.showCountOccurrence(true);
    listCellRenderer.showDisambiguation(true);
    listCellRenderer.showMissing(true);
    listCellRenderer.showRedirect(true);
    listLinks.setCellRenderer(listCellRenderer);
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.gui.swing.component.PageListCellRenderer

Copyright © 2018 www.massapicom. 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.