Example usage for javax.swing AbstractListModel subclass-usage

List of usage examples for javax.swing AbstractListModel subclass-usage

Introduction

In this page you can find the example usage for javax.swing AbstractListModel subclass-usage.

Usage

From source file Main.java

class SortedListModel extends AbstractListModel {

    SortedSet model;

    public SortedListModel() {
        model = new TreeSet();

From source file org.orbisgis.view.geocatalog.SourceListModel.java

/**
 * Manage entries of GeoCatalog according to a GDMS SourceManager
 * SourceListModel is a swing component that update the content of the geocatalog
 * according to the SourceManager content and the filter loaded.
 */
public class SourceListModel extends AbstractListModel {

From source file net.sf.vfsjfilechooser.plaf.basic.BasicVFSDirectoryModel.java

/**
 * The DirectoryModel implementation based on Swing BasicDirectoryModel
 * @author Yves Zoundi <yveszoundi at users dot sf dot net>, Jason Harrop <jasonharrop at users.sourceforge.net>
 * @version 0.0.1
 */
@SuppressWarnings("serial")

From source file com.googlecode.vfsjfilechooser2.plaf.basic.BasicVFSDirectoryModel.java

/**
 * The DirectoryModel implementation based on Swing BasicDirectoryModel
 * @author Yves Zoundi <yveszoundi at users dot sf dot net>, Jason Harrop <jasonharrop at users.sourceforge.net>
 * @version 0.0.1
 */
@SuppressWarnings("serial")

From source file org.pentaho.reporting.tools.configeditor.model.ConfigDescriptionModel.java

/**
 * This list model implementation collects all config description entries defined in JFreeReport. This model is used to
 * create a configuration key definition; it directly manipulates the metadata for the keys as stored in the
 * config-description.xml file.
 *
 * @author Thomas Morgner

From source file LongListTest.java

/**
 * A model that dynamically generates n-letter words.
 */
class WordListModel extends AbstractListModel {
    /**
     * Constructs the model.

From source file Main.java

class SortedListModel extends AbstractListModel {

    SortedSet model;

    public SortedListModel() {
        model = new TreeSet();

From source file DualListBox.java

class SortedListModel extends AbstractListModel {

    SortedSet model;

    public SortedListModel() {
        model = new TreeSet();

From source file org.orbisgis.geocatalog.impl.SourceListModel.java

/**
 * Manage entries of GeoCatalog according to a database
 * SourceListModel is a swing component that update the content of the geocatalog
 * according to the SourceManager content and the filter loaded.
 */
public class SourceListModel extends AbstractListModel<ContainerItemProperties>

From source file org.sonar.ide.ui.ModulePanel.java

class ListComboBoxModel extends AbstractListModel<String> implements ComboBoxModel<String> {
    private final List<String> items;
    private String selectedItem;

    public String getSelectedItem() {
        return selectedItem;