public class CollectionFilledState extends AbstractState implements ChangeListener
Please be aware that changes in the collection's content are only registered when an update is fired for those changes.
mIsEnabled, mIsInitialized, mListenerList, mName, mReason
Constructor and Description |
---|
CollectionFilledState(ValueModel<Collection<?>> pTrigger)
Create a new CollectionFilledState, the given ValueModel serves as a
trigger for this state.
|
Modifier and Type | Method and Description |
---|---|
void |
stateChanged(ChangeEvent pEvent)
Callback if our value model changes.
|
addChangeListener, checkDisposed, dispose, fireStateChanged, getChangeReason, getDependents, getName, isDisposed, isEnabled, isInitialized, removeChangeListener, setName, toString
public CollectionFilledState(ValueModel<Collection<?>> pTrigger)
pTrigger
- the ValueModel to be used as a trigger for
this state, must not be null.IllegalArgumentException
- if pTrigger is nullpublic void stateChanged(ChangeEvent pEvent)
stateChanged
in interface ChangeListener
pEvent
- not usedCopyright © 2017 Jürgen Zeller (privat). All rights reserved.