|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.gui.util.SwingSynchronizedCache
public class SwingSynchronizedCache
This class caches ListEvent
objects and adds them in a
Swing synchronized manner to a SwingListListener
.
Constructor Summary | |
---|---|
SwingSynchronizedCache(SwingListListener listener)
Constructs a cache. |
Method Summary | |
---|---|
void |
itemAdded(ListEvent event)
Adds event to cache. |
void |
itemRemoved(ListEvent event)
Adds event to cache. |
void |
setMaxInsertsPerRun(int newValue)
Sets the maximum number of event objects that is handled per run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingSynchronizedCache(SwingListListener listener)
listener
- the event receiverMethod Detail |
---|
public void itemAdded(ListEvent event)
event
to cache.
itemAdded
in interface ListListener
public void itemRemoved(ListEvent event)
event
to cache.
itemRemoved
in interface ListListener
public void setMaxInsertsPerRun(int newValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |