|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.TocNodeContent
com.esri.adf.web.data.results.ResultNodeContent
public class ResultNodeContent
A TOC content implementation for result view. It is an internal implementation class, user generally does not directly access this class.
| Constructor Summary | |
|---|---|
ResultNodeContent(ResultNode result,
WebResultsToc toc,
boolean topLevelNode)
Instantiates an object of ResultNodeContent. |
|
| Method Summary | |
|---|---|
java.util.List<javax.faces.model.SelectItem> |
getContextMenuItems()
The list of javax.faces.model.SelectItem objects representing each item of this node's context menu. |
ResultNode |
getResult()
Gets the result node of this content. |
java.lang.String |
getText()
Returns the text displayed on the node. |
void |
handleContextMenuEvent(java.lang.String contextMenuItemValue,
TocEvent args)
Handles the context menu event occuring at a node. |
void |
handleNodeEvent(TocEvent args)
Handles the event which occurs at a content node. |
boolean |
isSelected()
Returns an indicator if the node is selected. |
boolean |
isUrl()
Returns an indicator if the content is a URL. |
| Methods inherited from class com.esri.adf.web.data.TocNodeContent |
|---|
getImageUrl, handleCheckedEvent, handleExpandCollapseEvent, isCheckable, isChecked, isDisabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultNodeContent(ResultNode result,
WebResultsToc toc,
boolean topLevelNode)
result - the node to add contenttoc - the result TOC object associated with this content.topLevelNode - set to true if it is a top level node.| Method Detail |
|---|
public java.util.List<javax.faces.model.SelectItem> getContextMenuItems()
TocNodeContent
getContextMenuItems in class TocNodeContent
public void handleContextMenuEvent(java.lang.String contextMenuItemValue,
TocEvent args)
throws java.lang.Exception
TocNodeContent
handleContextMenuEvent in class TocNodeContentcontextMenuItemValue - the value of the context menu item to be processedargs - the TocEvent
java.lang.Exception
public void handleNodeEvent(TocEvent args)
throws java.lang.Exception
TocNodeContent
handleNodeEvent in class TocNodeContentargs - the TocEvent
java.lang.Exceptionpublic java.lang.String getText()
TocNodeContent
getText in class TocNodeContentString- the textpublic boolean isSelected()
TocNodeContent
isSelected in class TocNodeContentpublic boolean isUrl()
TocNodeContent
isUrl in class TocNodeContentpublic ResultNode getResult()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||