public class Chart
extends org.apache.wicket.markup.html.WebMarkupContainer
| Constructor and Description |
|---|
Chart(String id,
Options options) |
Chart(String id,
Options options,
Theme theme) |
| Modifier and Type | Method and Description |
|---|---|
protected ChartBehavior |
createChartBehavior()
Factory method for
ChartBehaviors. |
Options |
getOptions() |
Theme |
getTheme() |
org.apache.wicket.markup.html.resources.JavascriptResourceReference |
getThemeReference() |
String |
getThemeUrl() |
void |
setOptions(Options options) |
void |
setTheme(org.apache.wicket.markup.html.resources.JavascriptResourceReference theme)
Sets the theme for this chart by specifying a reference to a javascript
file containing the theme.
|
void |
setTheme(String themeUrl)
Sets the theme for this chart by specifying a URL to a javascript file
containing the theme.
|
void |
setTheme(Theme theme)
Sets the theme for this chart by specifying a theme class.
|
void |
setThemeReference(org.apache.wicket.markup.html.resources.JavascriptResourceReference themeReference) |
void |
setThemeUrl(String themeUrl) |
getMarkupType, getWebPage, getWebRequestadd, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrappublic Options getOptions()
public Theme getTheme()
public org.apache.wicket.markup.html.resources.JavascriptResourceReference getThemeReference()
public String getThemeUrl()
public void setOptions(Options options)
public void setTheme(org.apache.wicket.markup.html.resources.JavascriptResourceReference theme)
Highcharts.setOptions(myOptions);
where myOptions is a JSON representation of
the theme options.
A theme can only be set via one setTheme method. An
IllegalStateException will be thrown if you call two setTheme
methods.theme - reference to a javascript file containing a theme.public void setTheme(String themeUrl)
Highcharts.setOptions(myOptions);
where myOptions is a JSON representation of
the theme options.
A theme can only be set via one setTheme method. An
IllegalStateException will be thrown if you call two setTheme
methods.theme - reference to a javascript file containing a theme.public void setTheme(Theme theme)
IllegalStateException will be thrown if you call two setTheme
methods.theme - the theme class.public void setThemeReference(org.apache.wicket.markup.html.resources.JavascriptResourceReference themeReference)
public void setThemeUrl(String themeUrl)
protected ChartBehavior createChartBehavior()
ChartBehaviors. May be overridden, if a custom
implementation of ChartBehavior is needed.Copyright © 2016. All rights reserved.