| com.ivata.groupware.web.tree.DefaultTreeNodeRenderer com.ivata.groupware.web.tree.person.PersonTreeNodeRenderer
PersonTreeNodeRenderer | public class PersonTreeNodeRenderer extends DefaultTreeNodeRenderer (Code) | | Overrides methods setAdditionalProperties and
initialize . We need to know which check box is checked
and which is not.
since: 2002-05-27 author: jano version: $Revision: 1.4 $ See Also: DefaultTreeNodeRenderer |
getChecked | final public List getChecked()(Code) | | Get the unique identifiers of all people who are checked in the tree.
List of instances of Integer . |
initialize | public void initialize(HttpSession session, HttpServletRequest request, JspWriter out, PageContext pageContextParam) throws JspException(Code) | | This method is called by the tree tag during
doStartTag to allow the renderer to open or close
folders as appropriate.
It gets Vector checkedAttendee from the
session.
Parameters: session - the current session which can be used to retrievesettings. Parameters: request - the current servlet request which can be used toretrieve settings. Parameters: out - jsp writer which can be used to output HTML. Parameters: pageContextParam - the current PageContext throws: JspException - not thrown by this class but can be thrown bysubclasseswho experience an error on initialization. |
setAdditionalProperties | public java.util.Properties setAdditionalProperties(TreeNode treeNode, int level, java.util.Properties properties) throws JspException(Code) | | Overridden method to set up check property of the
check box in the leaf node.
Parameters: treeNode - the current node in the tree being drawn. Parameters: level - the depth of this node within the tree, with 0 beingroot. Parameters: properties - all the properties are already defined. Newpropertiesshould be added to this instance and returned. all of the properties which should be evaluated in theclient themesection. throws: JspException - thrown by subclasses if there is a formattingerror. |
Methods inherited from com.ivata.groupware.web.tree.DefaultTreeNodeRenderer | public PageContext getPageContext()(Code)(Java Doc) public void initialize(HttpSession session, HttpServletRequest request, JspWriter out, PageContext pageContextParam) throws JspException(Code)(Java Doc) public String render(TreeModel model, Object node, boolean expanded, int level, boolean last, Theme theme, Properties properties) throws JspException(Code)(Java Doc) public Properties setAdditionalProperties(TreeNode treeNode, int level, Properties properties) throws JspException(Code)(Java Doc) public void setPageContext(PageContext pageContextParam)(Code)(Java Doc)
|
|
|