org.apache.wicket.extensions.markup.html.repeater.data.sort
Class OrderByLink.CssModifier

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.AttributeModifier
          extended by org.apache.wicket.extensions.markup.html.repeater.data.sort.OrderByLink.CssModifier
All Implemented Interfaces:
java.io.Serializable, IBehavior, IClusterable, IHeaderContributor
Enclosing class:
OrderByLink

public static class OrderByLink.CssModifier
extends AttributeModifier

Uses the specified ICssProvider to add css class attributes to the link.

Author:
Igor Vaynberg ( ivaynberg )
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.AttributeModifier
VALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE
 
Constructor Summary
OrderByLink.CssModifier(OrderByLink link, OrderByLink.ICssProvider provider)
           
 
Method Summary
 boolean isEnabled(Component component)
          Made final to support the parameterless variant.
 
Methods inherited from class org.apache.wicket.AttributeModifier
detach, getAddAttributeIfNotPresent, getAttribute, getContextRelativeValue, getPattern, getReplaceModel, isEnabled, newValue, onComponentTag, replaceAttibuteValue, replaceAttributeValue, setEnabled, toString
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, bind, cleanup, detachModel, exception, getStatelessHint, isTemporary, onException, onRendered, rendered, renderHead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderByLink.CssModifier

public OrderByLink.CssModifier(OrderByLink link,
                               OrderByLink.ICssProvider provider)
Parameters:
link - the link this modifier is being added to
provider - implementation of ICssProvider
Method Detail

isEnabled

public boolean isEnabled(Component component)
Description copied from class: AttributeModifier
Made final to support the parameterless variant.

Specified by:
isEnabled in interface IBehavior
Overrides:
isEnabled in class AttributeModifier
Parameters:
component - the component that has this behavior coupled
Returns:
true if this behavior must be executed/rendered
See Also:
AttributeModifier.isEnabled(Component)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.