|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Updater
com.sptci.echo2.ModelUpdater
public class ModelUpdater
An updater used to update JavaBean objects from
their associated UI containers.
Copyright 2006 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private static java.util.logging.Logger |
logger
The logger used to log errors/warnings to. |
| Fields inherited from class com.sptci.echo2.Updater |
|---|
bean, uiContainer |
| Constructor Summary | |
|---|---|
ModelUpdater(java.lang.Object uiContainer,
java.lang.Object bean)
Create a new instance with the specified UI container and java bean. |
|
| Method Summary | |
|---|---|
void |
update()
Update the fields of the Updater.bean with the data in
similarly named fields in Updater.uiContainer. |
| Methods inherited from class com.sptci.echo2.Updater |
|---|
beanValues, getBean, getUiContainer, setBean, setUiContainer, uiValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final transient java.util.logging.Logger logger
| Constructor Detail |
|---|
public ModelUpdater(java.lang.Object uiContainer,
java.lang.Object bean)
uiContainer - The Updater.uiContainer to use.bean - The Updater.bean to use.| Method Detail |
|---|
public void update()
Updater.bean with the data in
similarly named fields in Updater.uiContainer.
update in class UpdaterBindingException - If errors are encountered while
accessing or setting the fields.ReflectionUtility.fetchField(java.lang.String, java.lang.Object),
ReflectionUtility.fetchMethod(java.lang.reflect.Field, java.lang.String, java.lang.Class[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||