|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.glazedlists.GlazedListsSwing
public final class GlazedListsSwing
A factory for creating all sorts of objects to be used with Glazed Lists.
Method Summary | ||
---|---|---|
static
|
deferredSwingThreadProxyList(EventList<E> source,
long delay,
TimeUnit timeUnit)
Behaves like the EventList returned by swingThreadProxyList(EventList) but
adds the option of aggregating a all change events happening within a certain time and into a
single update. |
|
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
|
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 |
---|
public static <E> TransformedList<E,E> swingThreadProxyList(EventList<E> source)
EventList
that fires all of its update events from the Swing
event dispatch thread.
IllegalArgumentException
- if source
is nullpublic static <E> TransformedList<E,E> deferredSwingThreadProxyList(EventList<E> source, long delay, TimeUnit timeUnit)
EventList
returned by swingThreadProxyList(EventList)
but
adds the option of aggregating a all change events happening within a certain time and into a
single update.
IllegalArgumentException
- if source
is null, delay is less than 1 or
timeUnit
is null.public static boolean isSwingThreadProxyList(EventList list)
list
is an EventList
that fires all of its update events
from the Swing event dispatch thread.
public static BoundedRangeModel lowerRangeModel(ThresholdList target)
public static BoundedRangeModel upperRangeModel(ThresholdList target)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |