org.apache.beehive.netui.tags
Interface IBehaviorConsumer

All Known Implementing Classes:
AbstractHtmlTableCell, AnchorCell, DataGrid, HeaderCell, ImageAnchorCell, ImageCell, SpanCell, TemplateCell

public interface IBehaviorConsumer

This interfaces is implemented by tags that allow a behavior to added and/or modified through an open ended set of name/value pairs.


Method Summary
 void setBehavior(String name, String value, String facet)
          Set a behavior value on the implementing class.
 

Method Detail

setBehavior

void setBehavior(String name,
                 String value,
                 String facet)
                 throws JspException
Set a behavior value on the implementing class. The name represents the name of the behavior. The value represents the value. The facet is optional and may be used by complex types to target the behavior.

Parameters:
name - The name of the behavior. This value may not be null or the empty string.
value - The value of the behavior.
facet - The name of a facet to which the attribute will be applied. This is optional.
Throws:
JspException - A JspException may be thrown if there is an error setting the attribute.