public final class HtmlLegendOptions extends AbstractPluginOptions
HtmlLegend.ID plugin.| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.dom.client.Style.Cursor |
DEFAULT_CURSOR_POINTER
Default cursor type when the cursor is over the legend,
Style.Cursor.POINTER. |
static boolean |
DEFAULT_DISPLAY
Default display if legend must be showed.
|
static int |
DEFAULT_MAXIMUM_LEGEND_COLUMNS
Default maximum legends columns to show.
|
| Constructor and Description |
|---|
HtmlLegendOptions()
Builds the object with new java script object setting the default value of plugin.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.dom.client.Style.Cursor |
getCursorPointer()
Returns the cursor type when the cursor is over the dataset item.
|
HtmlLegendTextCallback |
getLegendTextCallback()
Returns the callback which can be implemented to change the text of legend for a specific item, as HTML.
|
int |
getMaximumLegendColumns()
Returns the maximum amount of columns of legend.
|
boolean |
isDisplay()
Returns if the legend is shown.
|
void |
setCursorPointer(com.google.gwt.dom.client.Style.Cursor cursor)
Sets the cursor type when the cursor is over the dataset item.
|
void |
setDisplay(boolean display)
Sets if the legend is shown.
|
void |
setLegendTextCallback(HtmlLegendTextCallback legendTextCallback)
Sets the callback which can be implemented to change the text of legend for a specific item, as HTML.
|
void |
setMaximumLegendColumns(int maxColumns)
Sets the maximum amount of columns of legend.
|
getId, getPluginId, loadGlobalsPluginOptions, store, storecheckValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic static final com.google.gwt.dom.client.Style.Cursor DEFAULT_CURSOR_POINTER
Style.Cursor.POINTER.public static final int DEFAULT_MAXIMUM_LEGEND_COLUMNS
public static final boolean DEFAULT_DISPLAY
public HtmlLegendOptions()
public void setDisplay(boolean display)
display - if the legend is shown.public boolean isDisplay()
true if the legend is shown.public HtmlLegendTextCallback getLegendTextCallback()
public void setLegendTextCallback(HtmlLegendTextCallback legendTextCallback)
legendTextCallback - the callback which can be implemented to change the text of legend for a specific item, as HTMLpublic void setMaximumLegendColumns(int maxColumns)
maxColumns - the maximum amount of columns of legendpublic int getMaximumLegendColumns()
public final void setCursorPointer(com.google.gwt.dom.client.Style.Cursor cursor)
cursor - cursor typeStyle.Cursorpublic final com.google.gwt.dom.client.Style.Cursor getCursorPointer()
Style.Cursor