Package uk.ac.rdg.resc.godiva.shared
Class LayerMenuItem
- java.lang.Object
-
- uk.ac.rdg.resc.godiva.shared.LayerMenuItem
-
- All Implemented Interfaces:
Serializable
public class LayerMenuItem extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLayerMenuItem()LayerMenuItem(String title, String id, boolean plottable)LayerMenuItem(String title, String description, String id, boolean plottable, String wmsUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildItem(LayerMenuItem item)List<? extends LayerMenuItem>getChildren()StringgetDescription()StringgetId()LayerMenuItemgetParent()StringgetTitle()StringgetWmsUrl()booleanisLeaf()booleanisPlottable()voidsetId(String newId)
-
-
-
Method Detail
-
addChildItem
public void addChildItem(LayerMenuItem item)
-
getParent
public LayerMenuItem getParent()
-
getTitle
public String getTitle()
-
getId
public String getId()
-
isPlottable
public boolean isPlottable()
-
getChildren
public List<? extends LayerMenuItem> getChildren()
-
isLeaf
public boolean isLeaf()
-
getWmsUrl
public String getWmsUrl()
-
getDescription
public String getDescription()
-
setId
public void setId(String newId)
-
-