Package org.wicketstuff.minis.behavior
Class DependentModelBehavior<D>
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.wicketstuff.minis.behavior.DependentModelBehavior<D>
-
- Type Parameters:
D- the type of the model this behavior depends on
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
- Direct Known Subclasses:
EnabledModelBehavior,VisibleModelBehavior
public abstract class DependentModelBehavior<D> extends Behavior
Behavior that uses the value of the dependent model. The dependent model is detached when the behavior is detached.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DependentModelBehavior(IModel<D> dependentModel)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach(Component component)protected IModel<D>getDependentModel()Returns the model the behavior depends on.-
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
-