|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jgoodies.binding.beans.Model com.jgoodies.binding.PresentationModel<E> de.schwarzrot.ui.model.WizardModel<E>
E
- - the entity that is the data base for the wizardpublic class WizardModel<E extends Entity>
is a PresentationModel
that offers support for partial validated
beans. Wizzard
s need that support, as each WizzardPage
may
offer a different view to the same bean. Additionally it may be necessary, to
skip a WizzardPage
leaving all its managed properties unvalidated.
Nested Class Summary | |
---|---|
protected class |
WizardModel.ValidationUpdateHandler
Validates the order using an OrderValidator and updates the validation result. |
Field Summary | |
---|---|
protected Validator<E> |
validator
|
Fields inherited from class com.jgoodies.binding.PresentationModel |
---|
PROPERTYNAME_AFTER_BEAN, PROPERTYNAME_BEAN, PROPERTYNAME_BEFORE_BEAN, PROPERTYNAME_BUFFERING, PROPERTYNAME_CHANGED, PROPERTYNAME_TRIGGERCHANNEL |
Constructor Summary | |
---|---|
WizardModel(E bean)
|
Method Summary | |
---|---|
void |
addPage(AbstractWizardPage<E> page)
|
int |
getCurrentPage()
|
protected org.apache.commons.logging.Log |
getLogger()
|
List<String> |
getPageNames()
|
Map<String,AbstractWizardPage<E>> |
getPagePool()
|
com.jgoodies.validation.ValidationResultModel |
getValidationResultModel()
|
protected Validator<E> |
getValidator()
|
void |
propertyChange(PropertyChangeEvent evt)
|
void |
refresh()
|
void |
setCurrentPage(int newValue)
|
void |
setPageNames(List<String> pageNames)
|
void |
setPagePool(Map<String,AbstractWizardPage<E>> pagePool)
|
void |
setValidator(Validator<E> validator)
|
Methods inherited from class com.jgoodies.binding.PresentationModel |
---|
addBeanPropertyChangeListener, addBeanPropertyChangeListener, afterBeanChange, beforeBeanChange, createBeanAdapter, getBean, getBeanChannel, getBeanPropertyChangeListeners, getBeanPropertyChangeListeners, getBufferedComponentModel, getBufferedModel, getBufferedModel, getBufferedValue, getComponentModel, getModel, getModel, getTriggerChannel, getValue, isBuffering, isChanged, observeChanged, observeChanged, release, removeBeanPropertyChangeListener, removeBeanPropertyChangeListener, resetChanged, retractInterestFor, retractInterestFor, setBean, setBufferedValue, setChanged, setTriggerChannel, setValue, setVetoableValue, triggerCommit, triggerFlush |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Validator<E extends Entity> validator
Constructor Detail |
---|
public WizardModel(E bean)
Method Detail |
---|
public void addPage(AbstractWizardPage<E> page)
public int getCurrentPage()
public List<String> getPageNames()
public Map<String,AbstractWizardPage<E>> getPagePool()
public com.jgoodies.validation.ValidationResultModel getValidationResultModel()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void refresh()
public void setCurrentPage(int newValue)
public void setPageNames(List<String> pageNames)
public void setPagePool(Map<String,AbstractWizardPage<E>> pagePool)
public void setValidator(Validator<E> validator)
protected final org.apache.commons.logging.Log getLogger()
protected Validator<E> getValidator()
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |