|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.selection.binding.support.ValueModel2EventListBridge
public class ValueModel2EventListBridge
Creates a bridge between a ValueModel
and an EventList
. This means that when the
ValueModel
value changes, it's copied into the EventList. There's also a synchronize()
method
that manually copies the values.
Constructor Summary | |
---|---|
ValueModel2EventListBridge(ValueModel valueModel,
ca.odell.glazedlists.EventList eventList)
Same as calling ValueModel2EventListBridge(ValueModel, EventList, boolean) with
manualSynchronize = false . |
|
ValueModel2EventListBridge(ValueModel valueModel,
ca.odell.glazedlists.EventList eventList,
boolean manualSynchronize)
Creates a ValueModel2EventListBridge for the given ValueModel and EventList. |
Method Summary | |
---|---|
void |
dispose()
Performs necessary cleanup (removing listeners, ...) |
ca.odell.glazedlists.EventList |
getEventList()
Returns the EventList. |
ValueModel |
getValueModel()
Returns the ValueModel. |
void |
synchronize()
Synchronizes the EventList with the ValueModel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueModel2EventListBridge(ValueModel valueModel, ca.odell.glazedlists.EventList eventList)
ValueModel2EventListBridge(ValueModel, EventList, boolean)
with
manualSynchronize = false
.
valueModel
- the ValueModel, cannot be null
eventList
- the EventList, cannot be null
ValueModel2EventListBridge(ValueModel, EventList, boolean)
public ValueModel2EventListBridge(ValueModel valueModel, ca.odell.glazedlists.EventList eventList, boolean manualSynchronize)
ValueModel2EventListBridge
for the given ValueModel and EventList.
valueModel
- the ValueModel, cannot be null
eventList
- the EventList, cannot be null
manualSynchronize
- manual or automatic synchronize?Method Detail |
---|
public void synchronize()
null
, the EventList will be emptied.
public void dispose()
public ValueModel getValueModel()
public ca.odell.glazedlists.EventList getEventList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |