|
|||||||||
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.aims.data.AIMSTocLayerContent
public class AIMSTocLayerContent
Field Summary | |
---|---|
protected static ArrayList<javax.faces.model.SelectItem> |
commonItems
|
static String |
ZOOM_TO_LAYER_CONTEXT_MENU_ITEM
|
protected static javax.faces.model.SelectItem |
zoomToLayer
|
Fields inherited from class com.esri.adf.web.data.TocNodeContent |
---|
disabled |
Constructor Summary | |
---|---|
AIMSTocLayerContent()
|
|
AIMSTocLayerContent(AIMSTocFunctionality aimsTocFunc,
com.esri.aims.mtier.model.map.layer.Layer layer)
Constructs the AIMSTocLayerContent object and stores the information needed for the layer. |
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 |
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. |
void |
initLayerContent(AIMSTocFunctionality aimsTocFunctionality,
com.esri.aims.mtier.model.map.layer.Layer 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, setChecked, setDisabled, setImageUrl, setText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ZOOM_TO_LAYER_CONTEXT_MENU_ITEM
protected static final javax.faces.model.SelectItem zoomToLayer
protected static final ArrayList<javax.faces.model.SelectItem> commonItems
Constructor Detail |
---|
public AIMSTocLayerContent()
public AIMSTocLayerContent(AIMSTocFunctionality aimsTocFunc, com.esri.aims.mtier.model.map.layer.Layer layer)
aimsTocFunc
- AIMSTocFunctionality
objectlayer
- the Layer
objectMethod Detail |
---|
public void initLayerContent(AIMSTocFunctionality aimsTocFunctionality, com.esri.aims.mtier.model.map.layer.Layer layer)
public 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 void handleNodeEvent(TocEvent args) throws Exception
handleNodeEvent
in class TocNodeContent
args
- the TocEvent
Exception
public boolean isCheckable()
isCheckable
in class TocNodeContent
public boolean isChecked()
isChecked
in class TocNodeContent
public boolean isDisabled()
isDisabled
in class TocNodeContent
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 |