|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.behavior.Behavior
org.wicketstuff.minis.behavior.DependentModelBehavior<D>
D - the type of the model this behavior depends onpublic abstract class DependentModelBehavior<D>
Behavior that uses the value of the dependent model. The dependent model is detached when the behavior is detached.
| Constructor Summary | |
|---|---|
DependentModelBehavior(org.apache.wicket.model.IModel<D> dependentModel)
Constructor. |
|
| Method Summary | |
|---|---|
void |
detach(org.apache.wicket.Component component)
|
protected org.apache.wicket.model.IModel<D> |
getDependentModel()
Returns the model the behavior depends on. |
| Methods inherited from class org.apache.wicket.behavior.Behavior |
|---|
afterRender, beforeRender, bind, canCallListenerInterface, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, renderHead, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependentModelBehavior(org.apache.wicket.model.IModel<D> dependentModel)
dependentModel - model the behavior is dependent on| Method Detail |
|---|
public void detach(org.apache.wicket.Component component)
detach in class org.apache.wicket.behavior.Behaviorprotected org.apache.wicket.model.IModel<D> getDependentModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||