|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.LayerListLegends
Stores an array of layer list legends.
| Constructor Summary | |
LayerListLegends()
Creates a new instance of AimsLayerListLegends |
|
| Method Summary | |
void |
add(LayerListLegend legend)
Adds a new legend to the array. |
java.lang.Object |
clone()
Gets a clone of this object. |
LayerListLegend |
get(int index)
Gets the legend at the specified index. |
boolean |
getCanHide()
Returns an indicator of whether the user can hide the legend for this layer. |
LayerListLegends |
getCopy()
Gets a copy of this object. |
LayerListLegend |
getLegendForScale(double scale)
Gets the first legend visible at the specified scale. |
int |
getLegendHeightForScale(double scale)
Gets the height of the legend for the specified scale. |
java.lang.String |
getLegendUrlForScale(double scale)
Gets the url for the legend for the specified scale. |
int |
getLegendWidthForScale(double scale)
Gets the width of the legend for the specified scale. |
boolean |
getVisible()
Returns an indicator of whether layer list legends are visible for this layer. |
boolean |
hasLegendForScale(double scale)
Returns an indicator of whether there is a legend available at the specified scale. |
void |
setCanHide(boolean canHide)
Sets whether layer list legends can be hidden by the user for this layer. |
void |
setVisible(boolean visible)
Sets whether layer list legends are visible for this layer. |
int |
size()
Returns the number of legends in the array. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LayerListLegends()
| Method Detail |
public java.lang.Object clone()
public LayerListLegends getCopy()
public void add(LayerListLegend legend)
legend - The legend.public boolean getCanHide()
public void setCanHide(boolean canHide)
canHide - True if it can be hidden, otherwise false.public LayerListLegend get(int index)
index - The index number.
public LayerListLegend getLegendForScale(double scale)
scale - The scale of the map.
public boolean hasLegendForScale(double scale)
scale - The scale.
public int getLegendHeightForScale(double scale)
scale - The scale.
public java.lang.String getLegendUrlForScale(double scale)
scale - The scale.
public int getLegendWidthForScale(double scale)
scale - The scale.
public int size()
public boolean getVisible()
public void setVisible(boolean visible)
visible - True if it is set to visible, otherwise false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||