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 protected
LayerMenuItem()
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 void
addChildItem(LayerMenuItem item)
List<? extends LayerMenuItem>
getChildren()
String
getDescription()
String
getId()
LayerMenuItem
getParent()
String
getTitle()
String
getWmsUrl()
boolean
isLeaf()
boolean
isPlottable()
void
setId(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)
-
-