org.wicketstuff.minis.behavior
Class HideWhenEmptyOrNullBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.wicketstuff.minis.behavior.HideWhenEmptyOrNullBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public class HideWhenEmptyOrNullBehavior
extends org.apache.wicket.behavior.Behavior

Hides a component if the component's model value is empty or null.

See Also:
Serialized Form

Method Summary
static org.apache.wicket.behavior.Behavior get()
          Returns the instance of the behavior.
 void onConfigure(org.apache.wicket.Component component)
           
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onEvent, onException, onRemove, renderHead, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static org.apache.wicket.behavior.Behavior get()
Returns the instance of the behavior.

Returns:
instance of the behavior

onConfigure

public void onConfigure(org.apache.wicket.Component component)
Overrides:
onConfigure in class org.apache.wicket.behavior.Behavior


Copyright © 2018. All rights reserved.