T
- type of this modelD
- type of model this model is dependent onpublic abstract class LoadableDetachableDependentModel<T,D>
extends org.apache.wicket.model.LoadableDetachableModel<T>
LoadableDetachableModel
that is dependent on another model. The dependent model is
detached when this model is detached.Constructor and Description |
---|
LoadableDetachableDependentModel(org.apache.wicket.model.IModel<D> dependentModel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.model.IModel<D> |
getDependentModel()
Returns the model this model depends on.
|
protected void |
onDetach() |
public LoadableDetachableDependentModel(org.apache.wicket.model.IModel<D> dependentModel)
dependentModel
- non-null model this model depends onCopyright © 2015. All rights reserved.