|
|||||||||
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.
Field Summary |
---|
Fields inherited from class com.esri.adf.web.data.TocNodeContent |
---|
disabled |
Constructor Summary | |
---|---|
ResultNodeContent(ResultNode result,
WebResultsToc toc,
boolean topLevelNode)
Instantiates an object of ResultNodeContent. |
Method Summary | |
---|---|
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. |
String |
getText()
Returns the text displayed on the node. |
void |
handleContextMenuEvent(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, setChecked, setDisabled, setImageUrl, setText |
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 List<javax.faces.model.SelectItem> getContextMenuItems()
TocNodeContent
getContextMenuItems
in class TocNodeContent
public void handleContextMenuEvent(String contextMenuItemValue, TocEvent args) throws Exception
TocNodeContent
handleContextMenuEvent
in class TocNodeContent
contextMenuItemValue
- the value of the context menu item to be processedargs
- the TocEvent
Exception
public void handleNodeEvent(TocEvent args) throws Exception
TocNodeContent
handleNodeEvent
in class TocNodeContent
args
- the TocEvent
Exception
public String getText()
TocNodeContent
getText
in class TocNodeContent
String
- the textpublic boolean isSelected()
TocNodeContent
isSelected
in class TocNodeContent
public boolean isUrl()
TocNodeContent
isUrl
in class TocNodeContent
public ResultNode getResult()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |