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, org.apache.wicket.behavior.IBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor
Enclosing class:
OrderByLink

public static class OrderByLink.CssModifier
extends org.apache.wicket.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(org.apache.wicket.Component component)
           
 
Methods inherited from class org.apache.wicket.AttributeModifier
detach, getAddAttributeIfNotPresent, getAttribute, getContextRelativeValue, getPattern, getReplaceModel, isEnabled, newValue, onComponentTag, replaceAttibuteValue, 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(org.apache.wicket.Component component)
Specified by:
isEnabled in interface org.apache.wicket.behavior.IBehavior
Overrides:
isEnabled in class org.apache.wicket.AttributeModifier
See Also:
AttributeModifier.isEnabled(Component)


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