ca.odell.glazedlists.swing
Class GlazedListsSwing

java.lang.Object
  extended by ca.odell.glazedlists.swing.GlazedListsSwing

public final class GlazedListsSwing
extends Object

A factory for creating all sorts of objects to be used with Glazed Lists.

Author:
Jesse Wilson

Method Summary
static boolean isSwingThreadProxyList(EventList list)
          Returns true iff list is an EventList that fires all of its update events from the Swing event dispatch thread.
static BoundedRangeModel lowerRangeModel(ThresholdList target)
          Creates a model that manipulates the lower bound of the specified ThresholdList.
static
<E> TransformedList<E,E>
swingThreadProxyList(EventList<E> source)
          Wraps the source in an EventList that fires all of its update events from the Swing event dispatch thread.
static BoundedRangeModel upperRangeModel(ThresholdList target)
          Creates a model that manipulates the upper bound of the specified ThresholdList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

swingThreadProxyList

public static <E> TransformedList<E,E> swingThreadProxyList(EventList<E> source)
Wraps the source in an EventList that fires all of its update events from the Swing event dispatch thread.


isSwingThreadProxyList

public static boolean isSwingThreadProxyList(EventList list)
Returns true iff list is an EventList that fires all of its update events from the Swing event dispatch thread.


lowerRangeModel

public static BoundedRangeModel lowerRangeModel(ThresholdList target)
Creates a model that manipulates the lower bound of the specified ThresholdList. The ThresholdList linked to this model type will contain a range of Objects between the results of getValue() and getMaximum() on the BoundedRangeModel.


upperRangeModel

public static BoundedRangeModel upperRangeModel(ThresholdList target)
Creates a model that manipulates the upper bound of the specified ThresholdList. The ThresholdList linked to this model type will contain a range of Objects between the results of getMinimum() and getValue() on the BoundedRangeModel.



Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by James Lemieux at 2009-01-25 18:40