public class JQTabbedPanel
extends org.apache.wicket.markup.html.panel.Panel
This component JQuery and the plugin tabs to create client side tabs. Being client side, all tabs will be rendered and sent to the client at first time, which can be useful in forms, for instance.
The API of this component is the same as TabbedPanel
, and can thus be
used as a drop in replacement of TabbedPanel
.
JQuery: http://jquery.com/
Tabs: http://stilbuero.de/jquery/tabs/
TabbedPanel
,
Serialized FormENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING
Constructor and Description |
---|
JQTabbedPanel(String id,
List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs)
Constructs a JQTabbedPanel with the given id and list of tabs.
|
JQTabbedPanel(String id,
List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs,
String options)
Constructs a JQTabbedPanel with the given id, list of tabs and options.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getTabsOptions()
Returns the options to use when initializing the tabs.
|
void |
renderHead(org.apache.wicket.markup.head.IHeaderResponse response) |
getRegionMarkup, newMarkupSourcingStrategy
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
public JQTabbedPanel(String id, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs)
This constructor can be used as a drop in replacement of
new TabbedPanel(id, tabs)
id
- component id. Must not be nulltabs
- list of ITab objects used to represent tabs. Must not be null.public JQTabbedPanel(String id, List<org.apache.wicket.extensions.markup.html.tabs.ITab> tabs, String options)
The options are used when initializing the tabs.
See tabs documentation for details on the available options.
Some examples:
{ fxSlide: true }
{ fxFade: true, fxSpeed: 'fast' }
id
- the id of this component. Must not be null.tabs
- the list of tabs to use in this component. Must not be null.options
- the options to use to init the tabs component. May be null.protected String getTabsOptions()
See tabs documentation for details on the available options.
Some examples: { fxSlide: true }
{ fxFade: true, fxSpeed: 'fast' }
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
renderHead
in class org.apache.wicket.Component
Copyright © 2015. All rights reserved.