|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsLayerListLegends
Stores an array of layer list legends.
| Constructor Summary | |
AimsLayerListLegends()
Creates a new instance of AimsLayerListLegends |
|
| Method Summary | |
void |
add(AimsLayerListLegend legend)
Adds a new legend to the array. |
java.lang.Object |
clone()
Gets a clone of this object. |
void |
disable()
Disbles the display of the layer list legends. |
void |
enable()
Enables the display of the layer list legends. |
AimsLayerListLegend |
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. |
AimsLayerListLegends |
getCopy()
Gets a copy of this object. |
AimsLayerListLegend |
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 AimsLayerListLegends()
| Method Detail |
public java.lang.Object clone()
public AimsLayerListLegends getCopy()
public void add(AimsLayerListLegend legend)
legend - The legend.public boolean getCanHide()
public void setCanHide(boolean canHide)
public void disable()
public void enable()
public AimsLayerListLegend get(int index)
index - The index number.
public AimsLayerListLegend 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 | |||||||||