public class Carousel
extends org.apache.wicket.markup.html.panel.Panel
| Constructor and Description |
|---|
Carousel(String markupId,
org.apache.wicket.model.IModel<List<? extends ICarouselImage>> model)
Construct.
|
Carousel(String markupId,
List<? extends ICarouselImage> images)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.model.IModel<String> |
createNextLabel() |
protected org.apache.wicket.model.IModel<String> |
createPrevLabel() |
org.apache.wicket.util.time.Duration |
getInterval() |
protected org.apache.wicket.Component |
newDescription(String markupId,
ICarouselImage image)
creates a new image description element
|
protected org.apache.wicket.Component |
newHeader(String markupId,
ICarouselImage image)
creates a new image header element
|
protected org.apache.wicket.Component |
newImage(String markupId,
ICarouselImage image)
creates a new image element
|
protected void |
onComponentTag(org.apache.wicket.markup.ComponentTag tag) |
void |
renderHead(org.apache.wicket.markup.head.IHeaderResponse response) |
Carousel |
setInterval(org.apache.wicket.util.time.Duration interval)
The amount of time to delay between automatically cycling an item.
|
getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, 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, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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, wrappublic Carousel(String markupId, List<? extends ICarouselImage> images)
markupId - the component idimages - the list of imagespublic Carousel(String markupId, org.apache.wicket.model.IModel<List<? extends ICarouselImage>> model)
markupId - the component idmodel - the list of imagesprotected void onComponentTag(org.apache.wicket.markup.ComponentTag tag)
onComponentTag in class org.apache.wicket.Componentprotected org.apache.wicket.model.IModel<String> createPrevLabel()
protected org.apache.wicket.model.IModel<String> createNextLabel()
protected org.apache.wicket.Component newImage(String markupId, ICarouselImage image)
markupId - the markup id of the headerimage - the current image for this headerprotected org.apache.wicket.Component newDescription(String markupId, ICarouselImage image)
markupId - the markup id of the headerimage - the current image for this headerprotected org.apache.wicket.Component newHeader(String markupId, ICarouselImage image)
markupId - the markup id of the headerimage - the current image for this headerpublic void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IHeaderContributorrenderHead in class org.apache.wicket.Componentpublic final org.apache.wicket.util.time.Duration getInterval()
Durationpublic final Carousel setInterval(org.apache.wicket.util.time.Duration interval)
interval - The durationCopyright © 2013 agilecoders.de. All Rights Reserved.