|
|||||||||
| 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.TocResourceContent
public class TocResourceContent
| Field Summary | |
|---|---|
static java.lang.String |
CHANGE_TRANSPARENCY_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
changeTransparency
|
protected static java.util.ArrayList<javax.faces.model.SelectItem> |
commonItems
|
static java.lang.String |
DISABLE_OVERVIEW_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
disableOverview
|
static java.lang.String |
ENABLE_OVERVIEW_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
enableOverview
|
protected MapFunctionality |
mFunc
|
static java.lang.String |
MOVE_DOWN_CONTEXT_MENU_ITEM
|
static java.lang.String |
MOVE_UP_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
moveDown
|
protected static javax.faces.model.SelectItem |
moveUp
|
protected WebToc |
mToc
|
static java.lang.String |
REMOVE_RESOURCE_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
removeResource
|
protected GISResource |
resource
|
protected TocNode |
resourceNode
|
protected TocFunctionality |
tFunc
|
static java.lang.String |
ZOOM_TO_RESOURCE_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
zoomToResource
|
| Constructor Summary | |
|---|---|
TocResourceContent()
|
|
TocResourceContent(GISResource resource)
|
|
| 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. |
GISResource |
getResource()
|
TocNode |
getResourceNode()
|
java.lang.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(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 |
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. |
void |
setResource(GISResource resource)
|
void |
setResourceNode(TocNode resourceNode)
|
| Methods inherited from class com.esri.adf.web.data.TocNodeContent |
|---|
getImageUrl, handleExpandCollapseEvent, isUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TocNode resourceNode
protected WebToc mToc
protected GISResource resource
protected MapFunctionality mFunc
protected TocFunctionality tFunc
public static final java.lang.String MOVE_UP_CONTEXT_MENU_ITEM
public static final java.lang.String MOVE_DOWN_CONTEXT_MENU_ITEM
public static final java.lang.String REMOVE_RESOURCE_CONTEXT_MENU_ITEM
public static final java.lang.String ZOOM_TO_RESOURCE_CONTEXT_MENU_ITEM
public static final java.lang.String ENABLE_OVERVIEW_CONTEXT_MENU_ITEM
public static final java.lang.String DISABLE_OVERVIEW_CONTEXT_MENU_ITEM
public static final java.lang.String CHANGE_TRANSPARENCY_CONTEXT_MENU_ITEM
protected static final javax.faces.model.SelectItem moveUp
protected static final javax.faces.model.SelectItem moveDown
protected static final javax.faces.model.SelectItem removeResource
protected static final javax.faces.model.SelectItem zoomToResource
protected static final javax.faces.model.SelectItem disableOverview
protected static final javax.faces.model.SelectItem enableOverview
protected static final javax.faces.model.SelectItem changeTransparency
protected static final java.util.ArrayList<javax.faces.model.SelectItem> commonItems
| Constructor Detail |
|---|
public TocResourceContent(GISResource resource)
public TocResourceContent()
| Method Detail |
|---|
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 text
public void handleCheckedEvent(boolean checked,
TocEvent args)
throws java.lang.Exception
TocNodeContent
handleCheckedEvent in class TocNodeContentchecked - if true, node is checkedargs - the TocEvent
java.lang.Exceptionpublic boolean isCheckable()
TocNodeContent
isCheckable in class TocNodeContentpublic boolean isChecked()
TocNodeContent
isChecked in class TocNodeContentpublic boolean isSelected()
TocNodeContent
isSelected in class TocNodeContentpublic boolean isDisabled()
TocNodeContent
isDisabled in class TocNodeContentpublic void setResource(GISResource resource)
public GISResource getResource()
public TocNode getResourceNode()
public void setResourceNode(TocNode resourceNode)
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||