|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.TocNodeContent
public abstract class TocNodeContent
A TocNodeContent object stores the content of a TocNode.
| Field Summary | |
|---|---|
protected boolean |
disabled
|
| Constructor Summary | |
|---|---|
TocNodeContent()
|
|
| 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. |
String |
getImageUrl()
Returns a URL to the image to be displayed for this node. |
abstract String |
getText()
Returns the text displayed on the node. |
void |
handleCheckedEvent(boolean checked,
TocEvent args)
Handles the checked/unchecked event occuring at a node. |
void |
handleContextMenuEvent(String contextMenuItemValue,
TocEvent args)
Handles the context menu event occuring at a node. |
void |
handleExpandCollapseEvent(boolean expanded,
TocEvent args)
Handles the expand/collapse event occuring at a node. |
abstract void |
handleNodeEvent(TocEvent args)
Handles the event which occurs at a content node. |
boolean |
isCheckable()
Returns an indicator whether this node is checkable. |
boolean |
isChecked()
If isCheckable() is true, it indicates whether it is checked. |
boolean |
isDisabled()
Returns an indicator whether this node disabled. |
boolean |
isSelected()
Returns an indicator if the node is selected. |
boolean |
isUrl()
Returns an indicator if the content is a URL. |
void |
setChecked(boolean checked)
Checks/unchecks this node content |
void |
setDisabled(boolean disable)
Enables/disables this node content |
void |
setImageUrl(String imageUrl)
Sets a URL to an image to be displayed for this node. |
void |
setText(String text)
Sets the text displayed on the node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean disabled
| Constructor Detail |
|---|
public TocNodeContent()
| Method Detail |
|---|
public abstract void handleNodeEvent(TocEvent args)
throws Exception
args - the TocEvent
Exceptionpublic abstract String getText()
String- the textpublic void setText(String text)
public boolean isUrl()
public String getImageUrl()
String- the image. The default is null.public void setImageUrl(String imageUrl)
imageUrl - public boolean isCheckable()
public boolean isChecked()
public void handleCheckedEvent(boolean checked,
TocEvent args)
throws Exception
checked - if true, node is checkedargs - the TocEvent
Exception
public void handleExpandCollapseEvent(boolean expanded,
TocEvent args)
throws Exception
expanded - if true, node is expandedargs - the TocEvent
Exception
public void handleContextMenuEvent(String contextMenuItemValue,
TocEvent args)
throws Exception
contextMenuItemValue - the value of the context menu item to be processedargs - the TocEvent
Exceptionpublic boolean isSelected()
public boolean isDisabled()
public List<javax.faces.model.SelectItem> getContextMenuItems()
public void setDisabled(boolean disable)
disable - public void setChecked(boolean checked)
checked -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||