|
|||||||||
| 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.wms.data.WMSTocLayerContent
public class WMSTocLayerContent
Defines layer nodes of TOC for WMS resources. Each node represents a WMS layer, which can be either a group layer or a leaf layer.
| Field Summary | |
|---|---|
protected static java.util.ArrayList<javax.faces.model.SelectItem> |
commonItems
|
protected boolean |
scaleIndependent
|
static java.lang.String |
ZOOM_TO_LAYER_CONTEXT_MENU_ITEM
A Context Menu Item name: "zoomToLayer". |
protected static javax.faces.model.SelectItem |
zoomToLayer
|
| Constructor Summary | |
|---|---|
WMSTocLayerContent()
Constructs an empty WMSTocLayerContent object. |
|
WMSTocLayerContent(com.esri.wms.client.Layer layer)
Constructs the WMSTocLayerContent object and stores the information needed for the layer. |
|
WMSTocLayerContent(WMSTocFunctionality func,
com.esri.wms.client.Layer wmsLayer)
Constructs the WMSTocLayerContent object and stores the information needed for the layer. |
|
| 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. |
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. |
void |
initLayerContent(WMSTocFunctionality func,
com.esri.wms.client.Layer wmsLayer)
Initializes the WMSTocLayerContent object and stores the information needed for the layer. |
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. |
| Methods inherited from class com.esri.adf.web.data.TocNodeContent |
|---|
getImageUrl, handleExpandCollapseEvent, isSelected, isUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean scaleIndependent
public static final java.lang.String ZOOM_TO_LAYER_CONTEXT_MENU_ITEM
protected static final javax.faces.model.SelectItem zoomToLayer
protected static final java.util.ArrayList<javax.faces.model.SelectItem> commonItems
| Constructor Detail |
|---|
public WMSTocLayerContent()
public WMSTocLayerContent(com.esri.wms.client.Layer layer)
layer - the Layer object
public WMSTocLayerContent(WMSTocFunctionality func,
com.esri.wms.client.Layer wmsLayer)
func - the associated TOC functionwmsLayer - the associated WMS layer| Method Detail |
|---|
public void initLayerContent(WMSTocFunctionality func,
com.esri.wms.client.Layer wmsLayer)
wmsLayer - the Layer objectpublic java.lang.String getText()
getText in class TocNodeContentString- the text
public void handleCheckedEvent(boolean checked,
TocEvent args)
throws java.lang.Exception
handleCheckedEvent in class TocNodeContentchecked - if true, node is checkedargs - the TocEvent
java.lang.Exception
public void handleNodeEvent(TocEvent args)
throws java.lang.Exception
handleNodeEvent in class TocNodeContentargs - the TocEvent
java.lang.Exceptionpublic boolean isCheckable()
isCheckable in class TocNodeContentpublic boolean isChecked()
isChecked in class TocNodeContentpublic boolean isDisabled()
isDisabled in class TocNodeContentpublic 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 | ||||||||