|
|||||||||
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.ve.data.imagery.VETocNodeContent
public class VETocNodeContent
VETocNodeContent defines the nodes displayed in the Table-Of-Contents (TOC) for a Bing™ Maps (formerly known as Virtual Earth) Imagery Web Service. It defines the labels to be displayed for the nodes which can be configured in the Res.properties file of the web application. It also defines the context menu used to switch between the different Bing Maps map styles.
Field Summary | |
---|---|
protected static String |
AERIAL_LABEL
Label for the Bing Maps map style "Aerial" |
protected static String |
AERIAL_WITH_LABELS_LABEL
Label for the Bing Maps map style "Aerial with labels" |
protected static String |
MAP_STYLE
Label for the the map style title in the TOC |
protected static String |
ROAD_LABEL
Label for the Bing Maps map style "Road" |
Fields inherited from class com.esri.adf.web.data.TocNodeContent |
---|
disabled |
Fields inherited from interface com.esri.adf.web.ve.data.VEConstants |
---|
MAP_STYLE_AERIAL, MAP_STYLE_AERIAL_WITH_LABEL, MAP_STYLE_ROAD, MAX_LEVEL_OF_DETAIL, MIN_LEVEL_OF_DETAIL, TILE_HEIGHT, TILE_WIDTH, VIRTUAL_EARTH_GEOCODE_WKID, VIRTUAL_EARTH_SPATIAL_REFERENCE_WKID, VIRTUAL_EARTH_XMAX, VIRTUAL_EARTH_XMIN, VIRTUAL_EARTH_YMAX, VIRTUAL_EARTH_YMIN |
Constructor Summary | |
---|---|
VETocNodeContent()
|
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 |
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. |
void |
initLayerContent(VETocFunctionality toc)
Initializes the VE TOC layer content. |
Methods inherited from class com.esri.adf.web.data.TocNodeContent |
---|
getImageUrl, handleCheckedEvent, handleExpandCollapseEvent, isCheckable, isChecked, isDisabled, isSelected, 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 static final String MAP_STYLE
protected static final String ROAD_LABEL
protected static final String AERIAL_LABEL
protected static final String AERIAL_WITH_LABELS_LABEL
Constructor Detail |
---|
public VETocNodeContent()
Method Detail |
---|
public void initLayerContent(VETocFunctionality toc)
toc
- public String getText()
TocNodeContent
getText
in class TocNodeContent
String
- the textpublic 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 List<javax.faces.model.SelectItem> getContextMenuItems()
TocNodeContent
getContextMenuItems
in class TocNodeContent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |