|
|||||||||
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.graphics.GraphicsTocLayerContent
public class GraphicsTocLayerContent
GraphicsTocLayerContent stores the content of a TocNode
when working with
GraphicsLayer.
Field Summary | |
---|---|
protected GraphicsLayer |
layer
The GraphicsLayer object. |
protected GraphicsTocFunctionality |
tocFunc
The GraphicsTocFunctionality in which the layer belongs. |
Fields inherited from class com.esri.adf.web.data.TocNodeContent |
---|
disabled |
Constructor Summary | |
---|---|
GraphicsTocLayerContent()
Constructs an empty GraphicsTocLayerContent with the layer and toc funtionality set to null. |
|
GraphicsTocLayerContent(GraphicsTocFunctionality tocFunc,
GraphicsLayer layer)
Constructs the GraphicsTocLayerContent object and stores the information needed for the layer. |
Method Summary | |
---|---|
String |
getText()
Returns the text displayed on the node. |
void |
handleCheckedEvent(boolean checked,
TocEvent args)
Handles the checked/unchecked event occurring at a node. |
void |
handleNodeEvent(TocEvent args)
Handles the event which occurs at a content node. |
void |
initLayerContent(GraphicsTocFunctionality tocFunc,
GraphicsLayer layer)
Intialize the GraphicsTocLayerContent 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. |
Methods inherited from class com.esri.adf.web.data.TocNodeContent |
---|
getContextMenuItems, getImageUrl, handleContextMenuEvent, handleExpandCollapseEvent, 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 GraphicsLayer layer
GraphicsLayer
object.
protected GraphicsTocFunctionality tocFunc
For Example, tocFunc.getResource.removeGraphicsLayer(layer);
Constructor Detail |
---|
public GraphicsTocLayerContent()
public GraphicsTocLayerContent(GraphicsTocFunctionality tocFunc, GraphicsLayer layer)
tocFunc
- the GraphicsTocFunctionality
in which the layer belongslayer
- the GraphicsLayer
objectMethod Detail |
---|
public void initLayerContent(GraphicsTocFunctionality tocFunc, GraphicsLayer layer)
tocFunc
- the GraphicsTocFunctionality
in which the layer belongslayer
- the GraphicsLayer
objectpublic String getText()
getText
in class TocNodeContent
String
- the textpublic void handleCheckedEvent(boolean checked, TocEvent args) throws Exception
handleCheckedEvent
in class TocNodeContent
checked
- if true, node is checkedargs
- the TocEvent
Exception
public boolean isCheckable()
isCheckable
in class TocNodeContent
public boolean isChecked()
isChecked
in class TocNodeContent
public void handleNodeEvent(TocEvent args) throws Exception
TocNodeContent
handleNodeEvent
in class TocNodeContent
args
- the TocEvent
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |