|
|||||||||
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 String |
CHANGE_TRANSPARENCY_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
changeTransparency
|
protected ArrayList<javax.faces.model.SelectItem> |
commonItems
|
static String |
DISABLE_OVERVIEW_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
disableOverview
|
static String |
ENABLE_OVERVIEW_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
enableOverview
|
protected MapFunctionality |
mFunc
|
static String |
MOVE_DOWN_CONTEXT_MENU_ITEM
|
static String |
MOVE_UP_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
moveDown
|
protected static javax.faces.model.SelectItem |
moveUp
|
protected WebToc |
mToc
|
static String |
REMOVE_RESOURCE_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
removeResource
|
protected GISResource |
resource
|
protected TocNode |
resourceNode
|
protected TocFunctionality |
tFunc
|
static String |
ZOOM_TO_RESOURCE_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
zoomToResource
|
Fields inherited from class com.esri.adf.web.data.TocNodeContent |
---|
disabled |
Constructor Summary | |
---|---|
TocResourceContent()
|
|
TocResourceContent(GISResource resource)
|
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. |
GISResource |
getResource()
|
TocNode |
getResourceNode()
|
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 |
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, setChecked, setDisabled, setImageUrl, setText |
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 String MOVE_UP_CONTEXT_MENU_ITEM
public static final String MOVE_DOWN_CONTEXT_MENU_ITEM
public static final String REMOVE_RESOURCE_CONTEXT_MENU_ITEM
public static final String ZOOM_TO_RESOURCE_CONTEXT_MENU_ITEM
public static final String ENABLE_OVERVIEW_CONTEXT_MENU_ITEM
public static final String DISABLE_OVERVIEW_CONTEXT_MENU_ITEM
public static final 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 final ArrayList<javax.faces.model.SelectItem> commonItems
Constructor Detail |
---|
public TocResourceContent(GISResource resource)
public TocResourceContent()
Method Detail |
---|
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 void handleCheckedEvent(boolean checked, TocEvent args) throws Exception
TocNodeContent
handleCheckedEvent
in class TocNodeContent
checked
- if true, node is checkedargs
- the TocEvent
Exception
public boolean isCheckable()
TocNodeContent
isCheckable
in class TocNodeContent
public boolean isChecked()
TocNodeContent
isChecked
in class TocNodeContent
public boolean isSelected()
TocNodeContent
isSelected
in class TocNodeContent
public boolean isDisabled()
TocNodeContent
isDisabled
in class TocNodeContent
public void setResource(GISResource resource)
public GISResource getResource()
public TocNode getResourceNode()
public void setResourceNode(TocNode resourceNode)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |