ca.odell.glazedlists.swing

Class GlazedListsSwing


public final class GlazedListsSwing
extends java.lang.Object

A factory for creating all sorts of objects to be used with Glazed Lists.
Author:
Jesse Wilson

Method Summary

static
TransformedList swingThreadProxyList(EventList source)
Wraps the source in an EventList that fires all of its update events from the Swing event dispatch thread.
static boolean
isSwingThreadProxyList(EventList<E> 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<E> target)
Creates a model that manipulates the lower bound of the specified ThresholdList.
static BoundedRangeModel
upperRangeModel(ThresholdList<E> target)
Creates a model that manipulates the upper bound of the specified ThresholdList.

Method Details

TransformedList swingThreadProxyList

public static  TransformedList swingThreadProxyList(EventList 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<E> 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<E> 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<E> 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-2006 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2008-01-04 14:38