Class BasicXListUI.ListDataHandler

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ListDataListener
    Enclosing class:
    BasicXListUI

    public class BasicXListUI.ListDataHandler
    extends java.lang.Object
    implements javax.swing.event.ListDataListener
    The ListDataListener that's added to the JLists model at installUI time, and whenever the JList.model property changes.

    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

    See Also:
    JList.getModel(), BasicXListUI.maybeUpdateLayoutState(), BasicXListUI.createListDataListener(), BasicXListUI.installUI(javax.swing.JComponent)
    • Constructor Summary

      Constructors 
      Constructor Description
      ListDataHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contentsChanged​(javax.swing.event.ListDataEvent e)  
      void intervalAdded​(javax.swing.event.ListDataEvent e)  
      void intervalRemoved​(javax.swing.event.ListDataEvent e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListDataHandler

        public ListDataHandler()
    • Method Detail

      • intervalAdded

        public void intervalAdded​(javax.swing.event.ListDataEvent e)
        Specified by:
        intervalAdded in interface javax.swing.event.ListDataListener
      • intervalRemoved

        public void intervalRemoved​(javax.swing.event.ListDataEvent e)
        Specified by:
        intervalRemoved in interface javax.swing.event.ListDataListener
      • contentsChanged

        public void contentsChanged​(javax.swing.event.ListDataEvent e)
        Specified by:
        contentsChanged in interface javax.swing.event.ListDataListener