public class Legend
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Class and Description |
---|---|
static class |
Legend.LayerInfo |
static class |
Legend.LegendAlignment |
static class |
Legend.Parameters
Parameters used to configure the dijit.
|
Constructor and Description |
---|
Legend(Legend.Parameters params)
Creates a new Legend dijit.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
assertLoaded()
Check that the esri.dijit.Legend package has been loaded
|
void |
destroy()
Destroys the legend.
|
void |
refresh()
Refresh the legend.
|
void |
refresh(Legend.LayerInfo layerInfos)
Refresh the legend to replace the layers setup by the legend constructor.
|
void |
startup()
Finalizes the creation of the legend .
|
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
public Legend(Legend.Parameters params)
params
- - Parameters used to configure the dijit. See the list below for details.public static boolean assertLoaded()
public void destroy()
public final void refresh()
public final void refresh(Legend.LayerInfo layerInfos)
public final void startup()