|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Please note this interface is only meant for developers of this control, not users.
Provides the contract for pluggable javascript renderers, for the CheckboxTree.
Method Summary | |
void |
renderCheckbox(HtmlStringBuffer buffer)
Called when a tree node's checkbox is rendered. |
void |
renderSelect(HtmlStringBuffer buffer)
Called when a tree node's selected state is rendered. |
void |
renderValue(HtmlStringBuffer buffer)
Called when a tree node's value is rendered. |
Method Detail |
public void renderValue(HtmlStringBuffer buffer)
buffer.append("onclick=\"handleNodeSelection(this,event);\"");
The code above adds a javascript function call to the element.
The code above is appended to whichever element the
tree is currently rendering at the time renderValue
is called.
buffer
- string buffer containing the markuppublic void renderCheckbox(HtmlStringBuffer buffer)
buffer.append(" onclick=\"onCheckboxClick(this,event);\"");
The code above adds a javascript function call to the element.
The code above is appended to whichever element the
tree is currently rendering at the time renderValue
is called.
buffer
- string buffer containing the markuppublic void renderSelect(HtmlStringBuffer buffer)
buffer.appendAttribute("id", selectId);
The code above adds a javascript function call to the element.
The code above is appended to whichever element the
tree is currently rendering at the time renderSelect
is called.
buffer
- string buffer containing the markup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |