|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableRowRenderer
This interface defines the methods required by any object that would like to renderer the begin and end row tags for a TableView. It generates the begin and end row tags in the appropriate markup language.
For example, in HTML the table row renderer would generate
<TR ... >
and </TR>
as its begin and end row tags
Method Summary | |
---|---|
java.util.Locale |
getLocale()
Gets the locale. |
void |
setLocale(java.util.Locale loc)
Sets the locale. |
void |
writeBeginRow(AbstractBaseTableView tableview,
java.io.PrintWriter out)
Writes the begin row tag for a TableView in the appropriate markup language into the given output writer. |
void |
writeEndRow(AbstractBaseTableView tableview,
java.io.PrintWriter out)
Writes the end row tag for a TableView in the appropriate markup language into the given output writer. |
Method Detail |
---|
void writeBeginRow(AbstractBaseTableView tableview, java.io.PrintWriter out) throws java.io.IOException
For example, in html this method would generate <TR attr1="" ...>
.
tableview
- instance of the tableviewout
- The output stream
java.io.IOException
- Thrown if some type of I/O error occursvoid writeEndRow(AbstractBaseTableView tableview, java.io.PrintWriter out) throws java.io.IOException
For example, in html this method would generate </TR>
.
tableview
- instance of the tableviewout
- The output stream
java.io.IOException
- Thrown if some type of I/O error occursvoid setLocale(java.util.Locale loc)
loc
- an instance of java.util.Localejava.util.Locale getLocale()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |