Example usage for javax.swing.event ListDataListener interface-usage

List of usage examples for javax.swing.event ListDataListener interface-usage

Introduction

In this page you can find the example usage for javax.swing.event ListDataListener interface-usage.

Usage

From source file MyListDataListener.java

class MyListDataListener implements ListDataListener {
    public void contentsChanged(ListDataEvent e) {
        System.out.println("contentsChanged: " + e.getIndex0() + ", " + e.getIndex1());
    }

    public void intervalAdded(ListDataEvent e) {

From source file Main.java

class MyListDataListener implements ListDataListener {
    public void intervalAdded(ListDataEvent evt) {
        DefaultListModel model = (DefaultListModel) evt.getSource();
        int start = evt.getIndex0();
        int end = evt.getIndex1();
        int count = end - start + 1;

From source file org.springframework.richclient.list.AbstractFilteredListModel.java

/**
 * @author Keith Donald
 */
public abstract class AbstractFilteredListModel extends AbstractListModel implements ListDataListener {
    protected final Log logger = LogFactory.getLog(getClass());

From source file org.nekorp.workflow.desktop.view.binding.listener.BindingListDataListener.java

/**
 *
 * 
 */
public class BindingListDataListener implements ListDataListener {
    private static final org.apache.log4j.Logger LOGGER = org.apache.log4j.Logger

From source file edu.ku.brc.af.ui.forms.validation.DataChangeNotifier.java

/**
 * Implements several listener interfaces and listens for the various types of notifications
 * to figure out if the component has changed.
 *
 * @code_status Complete
 * 

From source file org.nuclos.client.ui.resplan.header.JHeaderGrid.java

public class JHeaderGrid<E> extends JComponent implements ListDataListener {

    private static final Dimension DEFAULT_CELL_EXTENT = new Dimension(75, 20);

    private static final Dimension MINIMUM_CELL_EXTENT = new Dimension(10, 10);

From source file org.wings.SList.java

/**
 * Allows the user to select one or more objects from a list.
 * <em>CAVEAT</em>
 * A list in a form has special implications to take care of:
 * Problem with a form request
 * is, that we should fire the selection change events not until the states

From source file edu.ku.brc.af.ui.forms.validation.ValComboBox.java

/**
 * A JComboBox that implements UIValidatable for participating in validation
    
 * @code_status Beta
 **
 * @author rods

From source file bio.gcat.gui.BDATool.java

public class BDATool extends JFrame implements ActionListener, ListDataListener, ListSelectionListener {
    private static final long serialVersionUID = 1l;

    public static final String BDA_EXTENSION = "gcatb";
    public static final FileNameExtensionFilter BDA_EXTENSION_FILTER = new FileNameExtensionFilter(
            "Binary Dichotomic Algorithm (*." + BDA_EXTENSION + ")", BDA_EXTENSION);