T - the generic type of the model object.public abstract class SwapComponentsFragmentPanel<T> extends SwapFragmentPanel<T>
SwapComponentsFragmentPanel provides the feature to swap components.
The components can be created with the abstract factory methods that have to be implemented.LOGGERENABLE, 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 |
|---|
SwapComponentsFragmentPanel(String id,
org.apache.wicket.model.IModel<T> model)
Instantiates a new
SwapComponentsFragmentPanel. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.wicket.Component |
newEditComponent(String id,
org.apache.wicket.model.IModel<T> model)
Abstract factory method for the new editable
Component. |
protected org.apache.wicket.markup.html.panel.Fragment |
newEditFragment(String id)
Abstract factory method for creating the new
Fragment for the editable
Component. |
protected abstract org.apache.wicket.Component |
newViewComponent(String id,
org.apache.wicket.model.IModel<T> model)
Abstract factory method for the new
Component for the view. |
protected org.apache.wicket.markup.html.panel.Fragment |
newViewFragment(String id)
Factory method for creating the new
Fragment for the view(not editable)
Component. |
newSwapAnimation, onSwapToEdit, onSwapToView, swapFragmentsgetModel, getModelObject, setModel, setModelObjectgetRegionMarkup, newMarkupSourcingStrategygetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, 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, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, 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, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SwapComponentsFragmentPanel(String id, org.apache.wicket.model.IModel<T> model)
SwapComponentsFragmentPanel.id - the idmodel - the modelprotected abstract org.apache.wicket.Component newEditComponent(String id, org.apache.wicket.model.IModel<T> model)
Component. This method is invoked in the
method newEditFragment(String) and have to be overridden
so users can provide their own version of a new editable Component.id - the idmodel - the modelComponent.protected org.apache.wicket.markup.html.panel.Fragment newEditFragment(String id)
Fragment for the editable
Component. This method is invoked in the constructor from the derived classes and
have to be overridden so users can provide their own version of a new Fragment for
the view.newEditFragment in class SwapFragmentPanel<T>id - the idFragment for the view.protected abstract org.apache.wicket.Component newViewComponent(String id, org.apache.wicket.model.IModel<T> model)
Component for the view. This method is invoked in
the method newViewFragment(String) and have to be
overridden so users can provide their own version of a new Component for the view.id - the idmodel - the modelComponent for the view.protected org.apache.wicket.markup.html.panel.Fragment newViewFragment(String id)
Fragment for the view(not editable)
Component. This method is invoked in the constructor from the derived classes and
have to be overridden so users can provide their own version of a new Fragment for
the view(not editable) Component.newViewFragment in class SwapFragmentPanel<T>id - the idFragment for the view(not editable) Component.Copyright © 2010–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.