com.esri.adf.web.aws.data
Class AWSTocLayerContent

java.lang.Object
  extended bycom.esri.adf.web.data.TocNodeContent
      extended bycom.esri.adf.web.aws.data.AWSTocLayerContent
All Implemented Interfaces:
java.io.Serializable

public class AWSTocLayerContent
extends TocNodeContent

See Also:
Serialized Form

Field Summary
protected  AWSTocFunctionality tFunc
           
 
Constructor Summary
AWSTocLayerContent(AWSTocFunctionality tocFunc, com.esri.aws.LayerInfo layer)
          Constructs the ArcWebTocFunctionality object and stores the information needed for the layer.
 
Method Summary
 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 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.
 
Methods inherited from class com.esri.adf.web.data.TocNodeContent
getContextMenuItems, getImageUrl, handleContextMenuEvent, handleExpandCollapseEvent, isSelected, isUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tFunc

protected AWSTocFunctionality tFunc
Constructor Detail

AWSTocLayerContent

public AWSTocLayerContent(AWSTocFunctionality tocFunc,
                          com.esri.aws.LayerInfo layer)
Constructs the ArcWebTocFunctionality object and stores the information needed for the layer.

Parameters:
layer - the LayerInfo object
Method Detail

getText

public java.lang.String getText()
Returns the text displayed on the node.

Specified by:
getText in class TocNodeContent
Returns:
String- the text

handleCheckedEvent

public void handleCheckedEvent(boolean checked,
                               TocEvent args)
Handles the checked/unchecked event occuring at a node.

Overrides:
handleCheckedEvent in class TocNodeContent
Parameters:
checked - if true, node is checked
args - the TocEvent
Throws:
java.lang.Exception

handleNodeEvent

public void handleNodeEvent(TocEvent args)
Handles the event which occurs at a content node.

Specified by:
handleNodeEvent in class TocNodeContent
Parameters:
args - the TocEvent
Throws:
java.lang.Exception

isCheckable

public boolean isCheckable()
Returns an indicator whether this node is checkable.

Overrides:
isCheckable in class TocNodeContent
Returns:
boolean- if true, the node is checkable. The default is false.

isChecked

public boolean isChecked()
If isCheckable() is true, it indicates whether it is checked.

Overrides:
isChecked in class TocNodeContent
Returns:
boolean- returns false

isDisabled

public boolean isDisabled()
Returns an indicator whether this node disabled.

Overrides:
isDisabled in class TocNodeContent
Returns:
boolean- if true, the node is disabled. The default is false.