org.apache.beehive.netui.tags.html
Interface IFormattable

All Known Implementing Classes:
AnchorCell, HeaderCell, ImageAnchorCell, Label, LabelBase, Select, Span, SpanCell, TextArea, TextBox

public interface IFormattable

Interface that indicates whether or not a tag's output can be formatted with by a FormatTag.


Method Summary
 void addFormatter(FormatTag.Formatter formatter)
          Adds a FormatTag.Formatter instance to the tag's set of formatters.
 void formatterHasError()
          Indicate that a formatter has reported an error so the formattable needs to make sure that the body content is output so the placement of the error is visible in the page.
 

Method Detail

addFormatter

void addFormatter(FormatTag.Formatter formatter)
Adds a FormatTag.Formatter instance to the tag's set of formatters.

Parameters:
formatter - - the formatter instance to add to the IFormattable tag's set of formatters.

formatterHasError

void formatterHasError()
Indicate that a formatter has reported an error so the formattable needs to make sure that the body content is output so the placement of the error is visible in the page.