|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LiveTableRenderer
LiveTableRenderer is used to partially render a TableModel
within a LiveTable, via direct XHTML insertion of row data.
| Method Summary | |
|---|---|
void |
renderEmptyRow(LiveTable liveTable,
org.w3c.dom.Node parentNode)
This method is called to get the XHTML for an empty row with the LiveTable. |
java.lang.String |
renderRolloverStyle(LiveTable liveTable,
org.w3c.dom.Node parentNode,
RenderContext rc)
This method will be called if rollover's are enabled on the LiveTable. |
void |
renderRows(LiveTable liveTable,
org.w3c.dom.Node parentNode,
int rowStart,
int rowEnd)
This method is called to render the XHTML for the data starting from rowStart and ending at rowEnd. |
java.lang.String |
renderSelectionStyle(LiveTable liveTable,
org.w3c.dom.Node parentNode,
RenderContext rc)
This method will be called if selection is enabled on the LiveTable. |
void |
renderStyles(LiveTable liveTable,
org.w3c.dom.Node parentNode)
This method is called to render a series of XTHML Style Elements (eg. |
| Method Detail |
|---|
void renderEmptyRow(LiveTable liveTable,
org.w3c.dom.Node parentNode)
This XHTML is a TR tag representing an empty row.
Each row must be the same height as all the other rows otherwise the LiveTable scrolling algorithm wont work.
You should use the styleNames returned in the getStyles() method on rows cells to ensure the least amount of data is sent down the client and hence UI feedback is faster.
liveTable - -
the LiveTable in questionparentNode - -
the parentNode to place the XHTML in
void renderRows(LiveTable liveTable,
org.w3c.dom.Node parentNode,
int rowStart,
int rowEnd)
This XHTML is a series of TR tags for the given data.
Each row must be the same height as all the other rows otherwise the LiveTable scrolling algorithm wont work.
You should use the styleNames returned in the getStyles() method on rows cells to ensure the least amount of data is sent down the client and hence UI feedback is faster.
liveTable - -
the LiveTable in questionparentNode - -
the parentNode to place the XHTML inrowStart - -
the starting row of datarowEnd - -
the ending row of data
void renderStyles(LiveTable liveTable,
org.w3c.dom.Node parentNode)
The style names should perhaps use the renderId() of the LiveTable to ensure that they are unique.
liveTable - -
the LiveTable in questionparentNode - -
the parentNode to place the XHTML in
java.lang.String renderRolloverStyle(LiveTable liveTable,
org.w3c.dom.Node parentNode,
RenderContext rc)
Th implementor should render a rollover style for a cell inside row data (eg a TD) and then return the style className that will be applied to the cell when the mouse moves over the cells in a row of data.
The rollover style properties should be based on the LiveTable rollover related properties.
liveTable - -
the LiveTable in questionparentNode - -
the parentNode to place the XHTML inrc - -
the RenderContext in place at the time this call is made
java.lang.String renderSelectionStyle(LiveTable liveTable,
org.w3c.dom.Node parentNode,
RenderContext rc)
Th implementor should render a selection style for a cell inside row data (eg a TD) and then return the style className that will be applied to the cell when the selection is made on a row of data. .
The selection style properties should be based on the LiveTable selection related properties.
liveTable - -
the LiveTable in questionparentNode - -
the parentNode to place the XHTML inrc - -
the RenderContext in place at the time this call is made
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||