[richfaces-issues] [JBoss JIRA] Commented: (RF-9840) Tree: additional features: server-side API

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Apr 14 10:11:33 EDT 2011


    [ https://issues.jboss.org/browse/RF-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595600#comment-12595600 ] 

Nick Belaevski commented on RF-9840:
------------------------------------

Methods to be added:

UIDataAdaptor

Data model listeners:

- addDataModelListener(DataModelListener) - add data model listener
- getDataModelListeners() - get array of added data model listeners
- removeDataModelListener(DataModelListener) - remove data model listener
- getRowData(Object) - get row data for the specified row key

AbstractTree

Selection methods:

- isSelected() - returns whether current contextual node is selected
- setSelected(boolean) - changes selected state of the current contextual node

Toggle methods:

- collapseAll() - collapse all tree nodes
- expandAll() - expand all tree nodes
- collapseNode(Object) - collapse node with the specified row key
- expandNode(Object) - expand node with the specified row key
- collapsePath(Object) - collapse node with all its parents for the specified row key
- expandPath(Object) - expand node with all its parents for the specified row key
- setExpanded(boolean) - changes expanded state for the contextual node

Navigation methods:
- getChildRowKey(Object, Object) - get row key of child node for the node with the specified row key and child identifier
- getParentRowKey(Object) - get row key of the parent node for the node with the specified row key
- getTreeNodeRowKey(Object) - returns row key for the specified node



> Tree: additional features: server-side API
> ------------------------------------------
>
>                 Key: RF-9840
>                 URL: https://issues.jboss.org/browse/RF-9840
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>              Labels: design, tran
>             Fix For: 4.Future
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list