IlvObject | +--IlvEmptyView | +--IlvLegend
IlvLegend
is a component that displays the list of layers that
are available on the server and lets you turn the visibility of each
layer on or off.Constructor Attributes | Constructor Name and Description |
---|---|
IlvLegend(left, top, width, height, view)
|
Method Attributes | Method Name and Description |
---|---|
Returns the background color.
|
|
Returns the font size of the text.
|
|
Returns the color of the text.
|
|
getTitle()
Returns the title of the legend.
|
|
Returns the background color of the title.
|
|
Returns the font size of the title text.
|
|
Returns the foreground color of the title.
|
|
getView()
Returns the view associated with this legend.
|
|
setBackgroundColor(color)
Changes the background color.
|
|
setFontSize(size)
Changes the font size of the text.
|
|
setTextColor(color)
Changes the color of the text.
|
|
setTitle(title)
Changes the title of the legend.
|
|
setTitleBackgroundColor(color)
Changes the background color of the title.
|
|
setTitleFontSize(size)
Changes the font size of the title text.
|
|
setTitleForegroundColor(color)
Changes the foreground color of the title.
|
addSizeListener, childrenToHTML, getBounds, getHeight, getLeft, getLocation, getSize, getTop, getWidth, isStateInCookie, removeSizeListener, restoreState, saveState, setBounds, setChildrenBounds, setLocation, setSize, setStateInCookie, toHTML |
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
IlvView
.