Uses of Class
org.apache.wicket.Component
-
-
Uses of Component in org.apache.wicket
Subclasses of Component in org.apache.wicket Modifier and Type Class Description class
MarkupContainer
A MarkupContainer holds a map of child components.class
Page
Abstract base class for pages.Methods in org.apache.wicket with type parameters of type Component Modifier and Type Method Description <S extends Component,R>
RMarkupContainer. visitChildren(Class<?> clazz, org.apache.wicket.util.visit.IVisitor<S,R> visitor)
Traverses all child components of the given class in this container, calling the visitor's visit method at each one.Methods in org.apache.wicket that return Component Modifier and Type Method Description Component
Component. add(Behavior... behaviors)
Adds a behavior modifier to the component.protected Component
MarkupContainer. findChildComponent(ComponentTag tag)
Search the child component for the given tag.Component
DequeueContext. findComponentToDequeue(ComponentTag tag)
Searches the container stack for a component that can be dequeudeComponent
MarkupContainer. findComponentToDequeue(ComponentTag tag)
Queries this container to find a child that can be dequeued that matches the specified tag.Component
Component. get(String path)
Gets the component at the given path.Component
MarkupContainer. get(String path)
Get a child component by looking it up with the given path.Component
Component. remove(Behavior... behaviors)
Removes behavior from componentComponent
Component. replaceWith(Component replacement)
Replaces this component with another.protected Component
Component. setAuto(boolean auto)
Component
Component. setDefaultModel(IModel<?> model)
Sets the given model.Component
IGenericComponent. setDefaultModel(IModel<?> model)
Component
Component. setDefaultModelObject(Object object)
Sets the backing model object.Component
IGenericComponent. setDefaultModelObject(Object object)
Component
Component. setEnabled(boolean enabled)
Sets whether this component is enabled.Component
Component. setEscapeModelStrings(boolean escapeMarkup)
Sets whether model strings should be escaped.protected Component
Component. setFlag(int flag, boolean set)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.protected Component
Component. setIgnoreAttributeModifier(boolean ignore)
If true, all attribute modifiers will be ignoredComponent
Component. setMarkup(IMarkupFragment markup)
Set the markup for the component.Component
Component. setMarkupId(String markupId)
Sets this component's markup id to a user defined value.<M extends Serializable>
ComponentComponent. setMetaData(MetaDataKey<M> key, M object)
Sets the metadata for this component using the given key.Component
Component. setOutputMarkupId(boolean output)
Sets whether or not component will output id attribute into the markup.Component
Component. setOutputMarkupPlaceholderTag(boolean outputTag)
Render a placeholder tag when the component is not visible.Component
Component. setRenderBodyOnly(boolean renderTag)
If false the component's tag will be printed as well as its body (which is default).Component
Component. setVersioned(boolean versioned)
Component
Component. setVisibilityAllowed(boolean allowed)
Sets whether or not this component is allowed to be visible.Component
Component. setVisible(boolean visible)
Sets whether this component and any children are visible.Methods in org.apache.wicket that return types with arguments of type Component Modifier and Type Method Description Iterator<Component>
MarkupContainer. iterator()
Gives an iterator that allow you to iterate through the children of this markup container in the order the children were added.Iterator<Component>
MarkupContainer. iterator(Comparator<Component> comparator)
Creates an iterator that iterates over children in the order specified by comparator.Stream<Component>
MarkupContainer. stream()
Returns a sequentialStream
with the direct children of this markup container as its source.Stream<Component>
MarkupContainer. streamChildren()
Returns a sequentialStream
with the all children of this markup container as its source.Methods in org.apache.wicket with parameters of type Component Modifier and Type Method Description MarkupContainer
MarkupContainer. add(Component... children)
Adds the child component(s) to this container.protected void
MarkupContainer. addDequeuedComponent(Component component, ComponentTag tag)
Adds a dequeued component to this container.MarkupContainer
MarkupContainer. addOrReplace(Component... children)
Replaces a child component of this container with another or just adds it in case no child with the same id existed yet.boolean
MarkupContainer. autoAdd(Component component, MarkupStream markupStream)
This method allows a component to be added by an auto-resolver such as AutoLinkResolver.protected void
Component. checkHierarchyChange(Component component)
Checks whether the hierarchy may be changed at all, and throws an exception if this is not the case.protected void
Page. componentChanged(Component component, MarkupContainer parent)
This method will be called for all components that are changed on the page So also auto components or components that are not versioned.void
Page. componentRendered(Component component)
Adds a component to the set of rendered components.boolean
MarkupContainer. contains(Component component, boolean recurse)
void
AttributeModifier. detach(Component component)
Detach the value if it was aIDetachable
.void
IEventDispatcher. dispatchEvent(Object sink, IEvent<?> event, Component component)
Dispatches the even to the target componentstatic ChildToDequeueType
ChildToDequeueType. fromChild(Component child)
String
DefaultMarkupIdGenerator. generateMarkupId(Component component, boolean createIfDoesNotExist)
String
IMarkupIdGenerator. generateMarkupId(Component component, boolean createIfDoesNotExist)
Generates markup id for the given componentprotected String
Localizer. getCacheKey(String key, Component component, Locale locale, String style, String variation)
Gets the cache keyIMarkupFragment
MarkupContainer. getMarkup(Component child)
Get the markup of the child.String
Localizer. getString(String key, Component component)
String
Localizer. getString(String key, Component component, String defaultValue)
String
Localizer. getString(String key, Component component, IModel<?> model)
String
Localizer. getString(String key, Component component, IModel<?> model, String defaultValue)
String
Localizer. getString(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue)
Get the localized string using all of the supplied parameters.String
Localizer. getString(String key, Component component, IModel<?> model, Locale locale, String style, IModel<String> defaultValue)
Get the localized string using all of the supplied parameters.String
Localizer. getStringIgnoreSettings(String key, Component component, IModel<?> model, String defaultValue)
String
Localizer. getStringIgnoreSettings(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue)
This is similar toLocalizer.getString(String, Component, IModel, String)
except that the resource settings are ignored.void
MarkupContainer. internalAdd(Component child)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.void
AttributeModifier. onComponentTag(Component component, ComponentTag tag)
default void
IDetachListener. onDetach(Component component)
Called when component is being detached via a call todetach()
.void
IComponentAwareEventSink. onEvent(Component component, IEvent<?> event)
Called when an event is sent to this behavior sinkMarkupContainer
MarkupContainer. queue(Component... components)
Queues one or more components to be dequeued later.MarkupContainer
MarkupContainer. remove(Component component)
Removes a component from the children identified by thecomponent.getId()
MarkupContainer
MarkupContainer. replace(Component child)
Replaces a child component of this container with anothervoid
AttributeModifier. replaceAttributeValue(Component component, ComponentTag tag)
Checks the given component tag for an instance of the attribute to modify and if all criteria are met then replace the value of this attribute with the value of the contained model object.Component
Component. replaceWith(Component replacement)
Replaces this component with another.boolean
Component. sameInnermostModel(Component component)
String
Localizer. substitutePropertyExpressions(Component component, String string, IModel<?> model)
Helper method to handle property variable substitution in strings.boolean
Page. wasRendered(Component component)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.Method parameters in org.apache.wicket with type arguments of type Component Modifier and Type Method Description Iterator<Component>
MarkupContainer. iterator(Comparator<Component> comparator)
Creates an iterator that iterates over children in the order specified by comparator.<R> R
MarkupContainer. visitChildren(org.apache.wicket.util.visit.IVisitor<Component,R> visitor)
Traverses all child components in this container, calling the visitor's visit method at each one. -
Uses of Component in org.apache.wicket.ajax
Methods in org.apache.wicket.ajax that return types with arguments of type Component Modifier and Type Method Description Collection<? extends Component>
AjaxRequestHandler. getComponents()
Methods in org.apache.wicket.ajax with parameters of type Component Modifier and Type Method Description String
IAjaxRegionMarkupIdProvider. getAjaxRegionMarkupId(Component component)
CharSequence
CancelEventIfAjaxListener. getBeforeHandler(Component component)
protected CharSequence
AbstractDefaultAjaxBehavior. getCallbackScript(Component component)
void
AbstractAjaxTimerBehavior. onRemove(Component component)
protected void
AbstractDefaultAjaxBehavior. postprocessConfiguration(com.github.openjson.JSONObject attributesJson, Component component)
Gives a chance to modify the JSON attributesJson that is going to be used as attributes for the Ajax call.protected CharSequence
AbstractDefaultAjaxBehavior. renderAjaxAttributes(Component component)
{ u: 'editable-label?6-1.IBehaviorListener.0-text1-label', // url m: 'POST', // method name.protected CharSequence
AbstractDefaultAjaxBehavior. renderAjaxAttributes(Component component, AjaxRequestAttributes attributes)
void
AbstractAjaxTimerBehavior. renderHead(Component component, IHeaderResponse response)
void
AbstractDefaultAjaxBehavior. renderHead(Component component, IHeaderResponse response)
void
AjaxClientInfoBehavior. renderHead(Component component, IHeaderResponse response)
void
AjaxEventBehavior. renderHead(Component component, IHeaderResponse response)
void
AjaxNewWindowNotifyingBehavior. renderHead(Component component, IHeaderResponse response)
Overridden to initiate a request once the page was rendered.Method parameters in org.apache.wicket.ajax with type arguments of type Component Modifier and Type Method Description default void
AjaxRequestTarget.IListener. onAfterRespond(Map<String,Component> map, AjaxRequestTarget target)
Triggered after the target has written components.default void
AjaxRequestTarget.IListener. onAfterRespond(Map<String,Component> map, AjaxRequestTarget.IJavaScriptResponse response)
Deprecated.implementAjaxRequestTarget.IListener.onAfterRespond(Map, AjaxRequestTarget)
insteaddefault void
AjaxRequestTarget.IListener. onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
Triggered before the target begins writing components. -
Uses of Component in org.apache.wicket.ajax.attributes
Methods in org.apache.wicket.ajax.attributes with parameters of type Component Modifier and Type Method Description CharSequence
AjaxCallListener. getAfterHandler(Component component)
default CharSequence
IAjaxCallListener. getAfterHandler(Component component)
The JavaScript that will be executed after the Ajax call.CharSequence
AjaxCallListener. getBeforeHandler(Component component)
default CharSequence
IAjaxCallListener. getBeforeHandler(Component component)
The JavaScript that will be executed before the Ajax call, as early as possible.CharSequence
AjaxCallListener. getBeforeSendHandler(Component component)
default CharSequence
IAjaxCallListener. getBeforeSendHandler(Component component)
The JavaScript that will be executed right before the execution of the the Ajax call, only if all preconditions pass.CharSequence
AjaxCallListener. getCompleteHandler(Component component)
default CharSequence
IAjaxCallListener. getCompleteHandler(Component component)
The JavaScript that will be executed after both successful and unsuccessful return of the Ajax call.CharSequence
AjaxCallListener. getDoneHandler(Component component)
default CharSequence
IAjaxCallListener. getDoneHandler(Component component)
The JavaScript that will be executed after the Ajax call is done, regardless whether it was sent or not.CharSequence
AjaxCallListener. getFailureHandler(Component component)
default CharSequence
IAjaxCallListener. getFailureHandler(Component component)
The JavaScript that will be executed after unsuccessful return of the Ajax call.CharSequence
AjaxCallListener. getInitHandler(Component component)
default CharSequence
IAjaxCallListener. getInitHandler(Component component)
The JavaScript that will be executed on initialization of the Ajax call, immediately after the causing event.CharSequence
AjaxCallListener. getPrecondition(Component component)
default CharSequence
IAjaxCallListener. getPrecondition(Component component)
A JavaScript function that is invoked before the request is being executed.CharSequence
AjaxCallListener. getSuccessHandler(Component component)
default CharSequence
IAjaxCallListener. getSuccessHandler(Component component)
The JavaScript that will be executed after successful return of the Ajax call.void
AjaxCallListener. renderHead(Component component, IHeaderResponse response)
-
Uses of Component in org.apache.wicket.ajax.form
Methods in org.apache.wicket.ajax.form with parameters of type Component Modifier and Type Method Description void
AjaxFormValidatingBehavior. bind(Component component)
void
AjaxFormValidatingBehavior. onConfigure(Component component)
-
Uses of Component in org.apache.wicket.ajax.markup.html
Subclasses of Component in org.apache.wicket.ajax.markup.html Modifier and Type Class Description class
AjaxFallbackLink<T>
An ajax link that will degrade to a normal request if ajax is not available or javascript is disabled.class
AjaxLink<T>
A component that allows a trigger request to be triggered via html anchor tag -
Uses of Component in org.apache.wicket.ajax.markup.html.form
Subclasses of Component in org.apache.wicket.ajax.markup.html.form Modifier and Type Class Description class
AjaxButton
A button that submits the form via Ajax.class
AjaxCheckBox
A CheckBox which is updated via ajax when the user changes its valueclass
AjaxFallbackButton
An ajax submit button that will degrade to a normal request if ajax is not available or javascript is disabled.class
AjaxSubmitLink
A link that submits a form via ajax. -
Uses of Component in org.apache.wicket.ajax.markup.html.navigation.paging
Subclasses of Component in org.apache.wicket.ajax.markup.html.navigation.paging Modifier and Type Class Description class
AjaxPagingNavigation
An ajaxified navigation for a PageableListView that holds links to other pages of the PageableListView.class
AjaxPagingNavigationIncrementLink
An incremental Ajaxian link to a page of a PageableListView.class
AjaxPagingNavigationLink
An Ajax version of a link to a page of a PageableListView.class
AjaxPagingNavigator
A Wicket panel component to draw and maintain a complete page navigator, meant to be easily added to any PageableListView. -
Uses of Component in org.apache.wicket.application
Methods in org.apache.wicket.application with parameters of type Component Modifier and Type Method Description void
ComponentOnAfterRenderListenerCollection. onAfterRender(Component component)
void
IComponentOnAfterRenderListener. onAfterRender(Component component)
Called right after the component was rendered.void
ComponentOnBeforeRenderListenerCollection. onBeforeRender(Component component)
void
IComponentOnBeforeRenderListener. onBeforeRender(Component component)
Called when the component is about to be renderedvoid
IOnComponentTagListener. onComponentTag(Component component, ComponentTag tag)
Called before Component#onComponentTag(ComponentTag)void
OnComponentTagListenerCollection. onComponentTag(Component component, ComponentTag tag)
void
ComponentOnConfigureListenerCollection. onConfigure(Component component)
void
IComponentOnConfigureListener. onConfigure(Component component)
Called for every component after itsComponent#onConfigure()
andBehavior.onConfigure(org.apache.wicket.Component)
methods have been executed).void
ComponentInitializationListenerCollection. onInitialize(Component component)
void
IComponentInitializationListener. onInitialize(Component component)
Called for every component after its Component#onInitialize method has been executed.void
ComponentInstantiationListenerCollection. onInstantiation(Component component)
void
IComponentInstantiationListener. onInstantiation(Component component)
Called for every component that is instantiated. -
Uses of Component in org.apache.wicket.authorization
Methods in org.apache.wicket.authorization that return Component Modifier and Type Method Description Component
UnauthorizedActionException. getComponent()
Methods in org.apache.wicket.authorization with parameters of type Component Modifier and Type Method Description boolean
IAuthorizationStrategy.AllowAllAuthorizationStrategy. isActionAuthorized(Component c, Action action)
boolean
IAuthorizationStrategy. isActionAuthorized(Component component, Action action)
Gets whether the given action is permitted.void
IUnauthorizedComponentInstantiationListener. onUnauthorizedInstantiation(Component component)
Called when an unauthorized component instantiation is about to take place (but before it happens).Constructors in org.apache.wicket.authorization with parameters of type Component Constructor Description UnauthorizedActionException(Component component, Action action)
Construct. -
Uses of Component in org.apache.wicket.authorization.strategies
Methods in org.apache.wicket.authorization.strategies with parameters of type Component Modifier and Type Method Description boolean
CompoundAuthorizationStrategy. isActionAuthorized(Component component, Action action)
-
Uses of Component in org.apache.wicket.authorization.strategies.action
Methods in org.apache.wicket.authorization.strategies.action with parameters of type Component Modifier and Type Method Description boolean
IActionAuthorizer. authorizeAction(Component component)
Gets whether this action is authorized.boolean
ActionAuthorizationStrategy. isActionAuthorized(Component component, Action action)
-
Uses of Component in org.apache.wicket.behavior
Methods in org.apache.wicket.behavior that return Component Modifier and Type Method Description protected Component
AbstractAjaxBehavior. getComponent()
Gets the component that this handler is bound to.Component
InvalidBehaviorIdException. getComponent()
Methods in org.apache.wicket.behavior with parameters of type Component Modifier and Type Method Description void
AbstractAjaxBehavior. afterRender(Component hostComponent)
void
Behavior. afterRender(Component component)
Called when a component that has this behavior coupled was rendered.void
Behavior. beforeRender(Component component)
Called when a component is about to render.void
AbstractAjaxBehavior. bind(Component hostComponent)
Bind this handler to the given component.void
Behavior. bind(Component component)
Bind this handler to the given component.boolean
Behavior. canCallListener(Component component)
Checks whether or not anIRequestListener
can be invoked on this behavior.void
Behavior. detach(Component component)
Allows the behavior to detach any state it has attached during request processing.boolean
Behavior. getStatelessHint(Component component)
This method returns false if the behavior generates a callback url (for example ajax behaviors)boolean
Behavior. isEnabled(Component component)
Called when a components is rendering and wants to render this behavior.boolean
Behavior. isTemporary(Component component)
Specifies whether or not this behavior is temporary.void
AbstractAjaxBehavior. onComponentTag(Component component, ComponentTag tag)
void
Behavior. onComponentTag(Component component, ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag.void
Behavior. onConfigure(Component component)
Called immediately after the onConfigure method in a component.void
Behavior. onEvent(Component component, IEvent<?> event)
Called to notify the behavior about any events sent to the componentvoid
Behavior. onException(Component component, RuntimeException exception)
In case an unexpected exception happened anywhere between Behavior.onComponentTag(org.apache.wicket.Component, org.apache.wicket.markup.ComponentTag) and Behavior.afterRender(org.apache.wicket.Component), onException() will be called for any behavior.void
Behavior. onRemove(Component component)
Called to notify that the component is being removed from its parentvoid
Behavior. renderHead(Component component, IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.void
AbstractAjaxBehavior. unbind(Component component)
void
Behavior. unbind(Component component)
Notifies the behavior it is removed from the specified componentMethod parameters in org.apache.wicket.behavior with type arguments of type Component Modifier and Type Method Description static Behavior
Behavior. onTag(org.danekja.java.util.function.serializable.SerializableBiConsumer<Component,ComponentTag> onTagConsumer)
Creates aBehavior
that uses the givenSerializableConsumer consumer
to do something with the component's tag.Constructors in org.apache.wicket.behavior with parameters of type Component Constructor Description InvalidBehaviorIdException(Component component, int behaviorId)
Constructor -
Uses of Component in org.apache.wicket.core.request.handler
Methods in org.apache.wicket.core.request.handler that return Component Modifier and Type Method Description Component
ListenerInvocationNotAllowedException. getComponent()
Methods in org.apache.wicket.core.request.handler that return types with arguments of type Component Modifier and Type Method Description Collection<? extends Component>
IPartialPageRequestHandler. getComponents()
Returns an unmodifiable collection of all components added to this targetMethods in org.apache.wicket.core.request.handler with parameters of type Component Modifier and Type Method Description void
AbstractPartialPageRequestHandler. add(Component... components)
void
AbstractPartialPageRequestHandler. add(Component component, String markupId)
void
IPartialPageRequestHandler. add(Component... components)
Adds components to the list of components to be rendered.void
IPartialPageRequestHandler. add(Component component, String markupId)
Adds a component to the list of components to be renderedvoid
AbstractPartialPageRequestHandler. focusComponent(Component component)
void
IPartialPageRequestHandler. focusComponent(Component component)
Sets the focus in the browser to the given component.Constructors in org.apache.wicket.core.request.handler with parameters of type Component Constructor Description ComponentRenderingRequestHandler(Component component)
Construct.ListenerInvocationNotAllowedException(Component component, Behavior behavior, String message)
Constructor -
Uses of Component in org.apache.wicket.core.util.string
Methods in org.apache.wicket.core.util.string with parameters of type Component Modifier and Type Method Description static CharSequence
ComponentRenderer. renderComponent(Component component)
Collects the Html generated by rendering a component.static String
ComponentStrings. toString(Component component, Throwable location)
Creates a location stacktrace string representation for the component for reference when the render check fails.Method parameters in org.apache.wicket.core.util.string with type arguments of type Component Modifier and Type Method Description CharSequence
ComponentRenderer. renderComponent(Supplier<Component> component)
Collects the Html generated by rendering a component. -
Uses of Component in org.apache.wicket.feedback
Subclasses of Component in org.apache.wicket.feedback Modifier and Type Class Description class
FencedFeedbackPanel
A specialized feedback panel that only displays messages from inside a fence defined by a container component.Methods in org.apache.wicket.feedback that return Component Modifier and Type Method Description Component
FeedbackMessage. getReporter()
Gets the reporting component.Methods in org.apache.wicket.feedback with parameters of type Component Modifier and Type Method Description void
FeedbackMessages. add(Component reporter, Serializable message, int level)
Adds a messageprotected List<FeedbackMessage>
FeedbackMessagesModel. collectMessages(Component pageResolvingComponent, IFeedbackMessageFilter filter)
Collects feedback messagesvoid
FeedbackMessages. debug(Component reporter, Serializable message)
Adds a new ui message with level DEBUG to the current messages.void
FeedbackMessages. error(Component reporter, Serializable message)
Adds a new ui message with level ERROR to the current messages.void
FeedbackMessages. fatal(Component reporter, Serializable message)
Adds a new ui message with level FATAL to the current messages.void
FeedbackMessages. info(Component reporter, Serializable message)
Adds a new ui message with level INFO to the current messages.protected boolean
FeedbackCollector. shouldRecurseInto(Component component)
Determines whether or not recursive message collection should continue into the specified component.void
FeedbackMessages. success(Component reporter, Serializable message)
Adds a new ui message with level SUCCESS to the current messages.void
FeedbackMessages. warn(Component reporter, Serializable message)
Adds a new ui message with level WARNING to the current messages.Constructors in org.apache.wicket.feedback with parameters of type Component Constructor Description ComponentFeedbackMessageFilter(Component component)
ConstructorFeedbackCollector(Component component)
Constructs a collector that will collect messages from the specifiedcontainer
FeedbackCollector(Component component, boolean includeSession)
Constructs a collector that will collect messages fromSession
and specifiedcontainer
FeedbackMessage(Component reporter, Serializable message, int level)
Construct using fields.FeedbackMessagesModel(Component pageResolvingComponent)
Constructor.FencedFeedbackPanel(String id, Component fence)
Creates a feedback panel that will only show messages if they original from, or inside of, thefence
component and not from any inner fence.FencedFeedbackPanel(String id, Component fence, IFeedbackMessageFilter filter)
Creates a fenced feedback panel with a filter. -
Uses of Component in org.apache.wicket.markup
Methods in org.apache.wicket.markup with type parameters of type Component Modifier and Type Method Description <C extends Component>
voidComponentTag. setMarkupClass(Class<C> wicketHeaderClass)
Set the class of wicket component which contains the wicket:head tag.Methods in org.apache.wicket.markup that return Component Modifier and Type Method Description Component
ComponentTag.IAutoComponentFactory. newComponent(MarkupContainer container, ComponentTag tag)
Creates a new instance of auto component to be queuedMethods in org.apache.wicket.markup that return types with arguments of type Component Modifier and Type Method Description Class<? extends Component>
MarkupStream. getContainerClass()
Get the component/container's Class which is directly associated with the stream.Class<? extends Component>
ComponentTag. getMarkupClass()
In case of inherited markup, the base and the extended markups are merged and the information about the tags origin is lost.Class<? extends Component>
MarkupResourceStream. getMarkupClass()
Get the actual component class the markup is directly associated with.Methods in org.apache.wicket.markup with parameters of type Component Modifier and Type Method Description void
ComponentTag. onBeforeRender(Component component, MarkupStream markupStream)
For subclasses to override.void
HtmlSpecialTag. onBeforeRender(Component component, MarkupStream markupStream)
For subclasses to override. -
Uses of Component in org.apache.wicket.markup.head
Methods in org.apache.wicket.markup.head with parameters of type Component Modifier and Type Method Description static OnEventHeaderItem
OnEventHeaderItem. forComponent(Component target, String event, CharSequence javaScript)
Creates aOnEventHeaderItem
for the given parameters.Constructors in org.apache.wicket.markup.head with parameters of type Component Constructor Description RecordedHeaderItemLocation(Component renderBase, int indexInRequest)
Construct. -
Uses of Component in org.apache.wicket.markup.head.filter
Subclasses of Component in org.apache.wicket.markup.head.filter Modifier and Type Class Description class
HeaderResponseContainer
A container that renders the content that was bucketed into a certain bucket byFilteringHeaderResponse
. -
Uses of Component in org.apache.wicket.markup.html
Subclasses of Component in org.apache.wicket.markup.html Modifier and Type Class Description class
GenericWebMarkupContainer<T>
AWebMarkupContainer
with typesafe getters and setters for the model and its underlying objectclass
GenericWebPage<T>
AWebPage
with typesafe getters and setters for the model and its underlying objectclass
HeaderPartContainer
For each wicket:head tag a HeaderPartContainer is created and added to the HtmlHeaderContainer which has been added to the Page.class
TransparentWebMarkupContainer
A simple "transparent" markup container.class
WebComponent
Base class for simple HTML components which do not hold nested components.class
WebMarkupContainer
A container of HTML markup and components.class
WebPage
Base class for HTML pages.Methods in org.apache.wicket.markup.html that return Component Modifier and Type Method Description protected Component
TransparentWebMarkupContainer. findChildComponent(ComponentTag tag)
Component
HeaderPartContainer. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
The tag must be resolved against the panel and not against the pageComponent
TransparentWebMarkupContainer. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Methods in org.apache.wicket.markup.html with parameters of type Component Modifier and Type Method Description void
HTML5Attributes. onComponentTag(Component component, ComponentTag tag)
void
HTML5Attributes.InstantiationListener. onInstantiation(Component component)
AddsHTML5Attributes
to allFormComponent
s.void
IComponentAwareHeaderContributor. renderHead(Component component, IHeaderResponse response)
Render to the web response whatever the component-aware wants to contribute to the head section. -
Uses of Component in org.apache.wicket.markup.html.basic
Subclasses of Component in org.apache.wicket.markup.html.basic Modifier and Type Class Description class
EnclosureContainer
<wicket:enclosure>
is nice and prevents that users have to add boilerplate to their application.class
EnumLabel<T extends Enum<T>>
A Label component that is used to render an enum value.class
Label
A Label component replaces its body with the String version of its model object returned by getModelObjectAsString().class
MultiLineLabel
A MultiLineLabel component replaces its body with the model object.Constructors in org.apache.wicket.markup.html.basic with parameters of type Component Constructor Description EnclosureContainer(String id, Component child)
Construct. -
Uses of Component in org.apache.wicket.markup.html.border
Subclasses of Component in org.apache.wicket.markup.html.border Modifier and Type Class Description class
Body
This is a simple Container component which can be used to build Border like components.class
Border
A border component has associated markup which is drawn and determines placement of markup and/or components nested within the border component.class
Border.BorderBodyContainer
The container to be associated with the <wicket:body> tagclass
BorderPanel
Whereas a Panel replaces the body markup with the associated markup file, a BorderPanel assumes a that Body component renders the body markup including any number of Wicket Components.Methods in org.apache.wicket.markup.html.border that return Component Modifier and Type Method Description Component
Border.BorderBodyContainer. findComponentToDequeue(ComponentTag tag)
Component
Border. findComponentToDequeue(ComponentTag tag)
Component
Border. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Try to resolve a component.Methods in org.apache.wicket.markup.html.border with parameters of type Component Modifier and Type Method Description Border
Border. add(Component... children)
This is for all components which have been added to the markup like this:protected void
Border. addDequeuedComponent(Component component, ComponentTag tag)
Border
Border. addOrReplace(Component... children)
Border
Border. addToBorder(Component... children)
Adds children components to the Border itselfvoid
BorderBehavior. afterRender(Component component)
void
BorderBehavior. beforeRender(Component component)
IMarkupFragment
Border.BorderBodyContainer. getMarkup(Component child)
Get the child markup which must be in between the <span wicktet:id="myBorder"> tagsIMarkupFragment
Border. getMarkup(Component child)
Search for the child markup in the file associated with the Border.Border
Border. queue(Component... components)
Border
Border. queueToBorder(Component... children)
Queues children components to the Border itselfBorder
Border. remove(Component component)
Border
Border. removeFromBorder(Component child)
Removes child from the Border itselfBorder
Border. replace(Component replacement)
Border
Border. replaceInBorder(Component component)
Replaces component in the Border itself -
Uses of Component in org.apache.wicket.markup.html.debug
Subclasses of Component in org.apache.wicket.markup.html.debug Modifier and Type Class Description class
PageView
This is a simple Wicket component that displays all components of a Page in a table representation. -
Uses of Component in org.apache.wicket.markup.html.form
Subclasses of Component in org.apache.wicket.markup.html.form Modifier and Type Class Description class
AbstractCheckSelector
Base class for all Javascript-based "select-all" checkboxes.class
AbstractChoice<T,E>
Abstract base class for all choice (html select) options.class
AbstractSingleSelectChoice<T>
Abstract base class for single-select choices.class
AbstractSubmitLink
Abstract class for links that are capable of submitting a form.class
AbstractTextComponent<T>
Abstract base class for TextArea and TextField.protected static class
AutoLabelResolver.AutoLabel
Component that is attached to the<label>
tag and takes care of writing out the label text as well as setting classes on the<label>
tagclass
Button
A form button.class
Check<T>
Component representing a single checkbox choice in a org.apache.wicket.markup.html.form.CheckGroup.class
CheckBox
HTML checkbox input component.class
CheckBoxMultipleChoice<T>
A choice subclass that shows choices via checkboxes.class
CheckboxMultipleChoiceSelector
A Javascript-based "Select All" checkbox component that works withCheckBoxMultipleChoice
.class
CheckBoxSelector
A Javascript-based "Select All" checkbox component that works with a loose collection ofCheckBox
components.class
CheckGroup<T>
Component used to connect instances of Check components into a group.class
CheckGroupSelector
Selects and deselects all Check components under the same CheckGroup as itself.class
DropDownChoice<T>
A choice implemented as a dropdown menu/list.class
EmailTextField
ATextField
for HTML5 <input> with type email.class
Form<T>
class
FormComponent<T>
An HTML form component knows how to validate itself.class
FormComponentLabel
A component that represents HTML <label> tag.class
FormComponentPanel<T>
Panel (has it's own markup, defined between <wicket:panel> tags), that can act as a form component.class
HiddenField<T>
TextField doesn't permit the html so this is a simple subclass to allow this A HiddenField is useful when you have a javascript based component that updates the form state.class
ImageButton
<input type="image"> component - likeButton
only with an image.class
LabeledWebMarkupContainer
Default implementation ofILabelProvider
.class
ListChoice<T>
Essentially a drop down choice that doesn't drop down.class
ListMultipleChoice<T>
A multiple choice list component.class
NumberTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type number.class
PasswordTextField
A password text field component.class
Radio<T>
Component representing a single radio choice in a org.apache.wicket.markup.html.form.RadioGroup.class
RadioChoice<T>
A choice subclass that shows choices in radio style.class
RadioGroup<T>
Component used to connect instances of Radio components into a group.class
RangeTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type range.class
RequiredTextField<T>
A text field which automatically adds a Required.class
SimpleFormComponentLabel
A form component label that replaces its body with the contents oflabelProvider's label
class
StatelessForm<T>
This StatelessForm is the same as a normal form but with the statelesshint default to true.class
SubmitLink
A link which can be used exactly like a Button to submit a Form.class
TextArea<T>
Multi-row text editing component.class
TextField<T>
A simple text field.class
UrlTextField
ATextField
for HTML5 <input> with type url.Methods in org.apache.wicket.markup.html.form that return Component Modifier and Type Method Description Component
ILabelProviderLocator. getAutoLabelComponent()
Component
AutoLabelResolver.AutoLabel. getRelatedComponent()
Component
AutoLabelResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
AutoLabelTextResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
IFormSubmittingComponent. setDefaultFormProcessing(boolean defaultFormProcessing)
Sets the defaultFormProcessing property.Component
Form. setVersioned(boolean isVersioned)
Methods in org.apache.wicket.markup.html.form with parameters of type Component Modifier and Type Method Description void
FormComponentUpdatingBehavior. bind(Component component)
static Form<?>
Form. findForm(Component component)
static String
AutoLabelResolver. getLabelIdFor(Component component)
static String
Form. getRootFormRelativeId(Component component)
Utility method to assemble an id to distinct form components from different nesting levels.boolean
FormComponentUpdatingBehavior. getStatelessHint(Component component)
void
FormComponentUpdatingBehavior. renderHead(Component component, IHeaderResponse response)
static <R> R
FormComponent. visitComponentsPostOrder(Component component, org.apache.wicket.util.visit.IVisitor<Component,R> visitor)
Visits any form components inside component if it is a container, or component itself if it is itself a form componentstatic <R> R
FormComponent. visitFormComponentsPostOrder(Component component, org.apache.wicket.util.visit.IVisitor<? extends FormComponent<?>,R> visitor)
Visits any form components inside component if it is a container, or component itself if it is itself a form componentMethod parameters in org.apache.wicket.markup.html.form with type arguments of type Component Modifier and Type Method Description static <R> R
FormComponent. visitComponentsPostOrder(Component component, org.apache.wicket.util.visit.IVisitor<Component,R> visitor)
Visits any form components inside component if it is a container, or component itself if it is itself a form componentConstructors in org.apache.wicket.markup.html.form with parameters of type Component Constructor Description AutoLabel(String id, Component fc)
EnumChoiceRenderer(Component resourceSource)
Constructor -
Uses of Component in org.apache.wicket.markup.html.form.upload
Subclasses of Component in org.apache.wicket.markup.html.form.upload Modifier and Type Class Description class
FileUploadField
Form component that corresponds to a <input type="file">.class
MultiFileUploadField
Form component that allows the user to select multiple files to upload via a single <input type="file"/> field.Methods in org.apache.wicket.markup.html.form.upload with parameters of type Component Modifier and Type Method Description void
FilesSelectedBehavior. renderHead(Component component, IHeaderResponse response)
-
Uses of Component in org.apache.wicket.markup.html.form.validation
Subclasses of Component in org.apache.wicket.markup.html.form.validation Modifier and Type Class Description class
FormComponentFeedbackBorder
A border that can be placed around a form component to indicate when the bordered child/children has a validation error.class
FormComponentFeedbackIndicator
A panel that hides or shows itself depending on whether there are feedback messages for a given message filter.Methods in org.apache.wicket.markup.html.form.validation with parameters of type Component Modifier and Type Method Description void
AbstractFormValidator. bind(Component component)
Can be bound toForm
s only.void
FormComponentFeedbackIndicator. setIndicatorFor(Component component)
-
Uses of Component in org.apache.wicket.markup.html.image
Subclasses of Component in org.apache.wicket.markup.html.image Modifier and Type Class Description class
ContextImage
Provides a context-relative image.class
ExternalImage
A component to display external images.class
ExternalSource
A component which displays external images within a picture tag.class
Image
An Image component displays localizable image resources.class
InlineImage
The inline image is used to embed the complete image content within a HTML document.class
NonCachingImage
A subclass ofImage
that always adds random noise to the url every request to prevent the browser from caching the image.class
Picture
A component which displays localizable image resources within source and image elements as responsive image.class
Source
A component which displays localizable image resources within a picture tag.Methods in org.apache.wicket.markup.html.image that return Component Modifier and Type Method Description Component
Image. setDefaultModel(IModel<?> model)
Methods in org.apache.wicket.markup.html.image with parameters of type Component Modifier and Type Method Description void
ContextPathGenerator. detach(Component component)
Allows the behavior to detach any state it has attached during request processing.void
ContextPathGenerator. onComponentTag(Component component, ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag. -
Uses of Component in org.apache.wicket.markup.html.image.resource
Constructors in org.apache.wicket.markup.html.image.resource with parameters of type Component Constructor Description LocalizedImageResource(Component component)
Constructor -
Uses of Component in org.apache.wicket.markup.html.include
Subclasses of Component in org.apache.wicket.markup.html.include Modifier and Type Class Description class
Include
Component that includes/ renders the import result of an URL, much like JSP include. -
Uses of Component in org.apache.wicket.markup.html.internal
Subclasses of Component in org.apache.wicket.markup.html.internal Modifier and Type Class Description class
Enclosure
An Enclosure are automatically created by Wicket.class
HtmlHeaderContainer
The HtmlHeaderContainer is automatically created and added to the component hierarchy by a HtmlHeaderResolver instance.class
HtmlHeaderItemsContainer
A specialization of HtmlHeaderContainer that doesn't render <head> and &l;/head> around the header contributions.class
InlineEnclosure
An InlineEnclosure are automatically created by Wicket.Methods in org.apache.wicket.markup.html.internal that return Component Modifier and Type Method Description protected Component
Enclosure. getChild()
Component
Enclosure. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
-
Uses of Component in org.apache.wicket.markup.html.link
Subclasses of Component in org.apache.wicket.markup.html.link Modifier and Type Class Description class
AbstractLink
Base class that that contains functionality for rendering disabled links.class
BookmarkablePageLink<T>
Renders a stable link which can be cached in a web browser and used at a later time.class
ClientSideImageMap
A client-side image map implementation which allows you to "attach" the map to any existingImage
component.class
DownloadLink
A link that streams a file to the client.class
ExternalLink
A simple anchor link (<a href="http://url">) pointing to any URL.class
InlineFrame
Implementation of an inline frame component.class
Link<T>
Implementation of a hyperlink component.class
PopupCloseLink<T>
Closes a popup window and cleans up any related session page map for the popup.static class
PopupCloseLink.ClosePopupPage
ClosePopupPage closes the popup window.class
ResourceLink<T>
A link to any ResourceReference.class
StatelessLink<T>
This link is stateless that means that the url to this link could generate a new page before the link onClick is called.Methods in org.apache.wicket.markup.html.link that return Component Modifier and Type Method Description Component
Link. getAnchor()
Gets any anchor component.Methods in org.apache.wicket.markup.html.link with parameters of type Component Modifier and Type Method Description void
DisabledAttributeLinkBehavior. onComponentTag(Component component, ComponentTag tag)
Link<T>
Link. setAnchor(Component anchor)
Sets an anchor component. -
Uses of Component in org.apache.wicket.markup.html.list
Subclasses of Component in org.apache.wicket.markup.html.list Modifier and Type Class Description class
AbstractItem
A very simple Item.class
ListItem<T>
Container that holds components in a ListView.class
ListView<T>
A ListView is a repeater that makes it easy to display/work withList
s.class
Loop
A very simple loop component whose model is an Integer defining the number of iterations the loop should render.class
LoopItem
A very simple Item.class
OddEvenListItem<T>
ListItem that addsclass="odd"
orclass="even"
html attribute depending on its index.class
PageableListView<T>
PageableListView is similar to ListView but provides in addition pageable views.class
PropertyListView<T>
Simple ListVew subclass that wraps its item models in aCompoundPropertyModel
.Methods in org.apache.wicket.markup.html.list that return types with arguments of type Component Modifier and Type Method Description protected Iterator<Component>
ListView. renderIterator()
protected Iterator<Component>
Loop. renderIterator()
Methods in org.apache.wicket.markup.html.list with parameters of type Component Modifier and Type Method Description protected void
ListView. renderChild(Component child)
protected void
Loop. renderChild(Component child)
-
Uses of Component in org.apache.wicket.markup.html.media
Subclasses of Component in org.apache.wicket.markup.html.media Modifier and Type Class Description class
MediaComponent
The media component is used to provide basic functionality to the video and audio component.class
Source
The source of an audio or a video media componentclass
Track
The track tag is used to provide subtitles, captions, descriptions, chapters, metadata to a video media component -
Uses of Component in org.apache.wicket.markup.html.media.audio
Subclasses of Component in org.apache.wicket.markup.html.media.audio Modifier and Type Class Description class
Audio
An audio media component to playback audio files. -
Uses of Component in org.apache.wicket.markup.html.media.video
Subclasses of Component in org.apache.wicket.markup.html.media.video Modifier and Type Class Description class
Video
A video media component to display videos. -
Uses of Component in org.apache.wicket.markup.html.navigation.paging
Subclasses of Component in org.apache.wicket.markup.html.navigation.paging Modifier and Type Class Description class
PagingNavigation
A navigation for a PageableListView that holds links to other pages of the PageableListView.class
PagingNavigationIncrementLink<T>
An incremental link to a page of a PageableListView.class
PagingNavigationLink<T>
A link to a page of a PageableListView.class
PagingNavigator
A Wicket panel component to draw and maintain a complete page navigator, meant to be easily added to any PageableListView. -
Uses of Component in org.apache.wicket.markup.html.pages
Subclasses of Component in org.apache.wicket.markup.html.pages Modifier and Type Class Description class
AbstractErrorPage
A parent page for all pages that are used to show an error to the user.class
AccessDeniedPage
Page expired error page.class
BrowserInfoForm
Form for posting JavaScript properties.class
BrowserInfoPage
This page uses a form post right after the page has loaded in the browser, using JavaScript or alternative means to detect and pass on settings to the embedded form.class
ExceptionErrorPage
Shows a runtime exception on a nice HTML page.class
InternalErrorPage
Internal error display page.class
PageExpiredErrorPage
Page expired error page.class
RedirectPage
Page that let the browser redirect. -
Uses of Component in org.apache.wicket.markup.html.panel
Subclasses of Component in org.apache.wicket.markup.html.panel Modifier and Type Class Description class
ComponentFeedbackPanel
Convenience feedback panel that filters the feedback messages based on the component given in the constructor.class
EmptyPanel
Panel that does absolutely nothing and that can be used to display an empty block.class
FeedbackPanel
A panel that displaysFeedbackMessage
s in a list view.class
Fragment
Usually you either have a markup file or a xml tag with wicket:id="myComponent" to associate markup with a component.class
GenericPanel<T>
APanel
with typesafe getters and setters for the model and its underlying objectclass
Panel
A panel is a reusable component that holds markup and other components.Methods in org.apache.wicket.markup.html.panel that return Component Modifier and Type Method Description protected Component
FeedbackPanel. newMessageDisplayComponent(String id, FeedbackMessage message)
Generates a component that is used to display the message inside the feedback panel.Methods in org.apache.wicket.markup.html.panel with parameters of type Component Modifier and Type Method Description IMarkupFragment
FragmentMarkupSourcingStrategy. chooseMarkup(Component component)
Get the markup stream which shall be used to search for the fragmentIMarkupFragment
AssociatedMarkupSourcingStrategy. findMarkupInAssociatedFileHeader(MarkupContainer container, Component child)
Search the child's markup in the header section of the markupabstract IMarkupFragment
AbstractMarkupSourcingStrategy. getMarkup(MarkupContainer container, Component child)
IMarkupFragment
AssociatedMarkupSourcingStrategy. getMarkup(MarkupContainer parent, Component child)
Search for the child's markup in the associated markup file.IMarkupFragment
BorderMarkupSourcingStrategy. getMarkup(MarkupContainer container, Component child)
Return null and thus useBorder.getMarkup(child)
to provide the MarkupIMarkupFragment
DefaultMarkupSourcingStrategy. getMarkup(MarkupContainer container, Component child)
Get the markup for the child component, which is assumed to be a child of 'container'.IMarkupFragment
FragmentMarkupSourcingStrategy. getMarkup(MarkupContainer container, Component child)
Search for the child's markup in the fragment markup.IMarkupFragment
IMarkupSourcingStrategy. getMarkup(MarkupContainer container, Component child)
Will replace the respective component's method.protected MarkupContainer
FragmentMarkupSourcingStrategy. getMarkupProvider(Component component)
Returns markup provider associated with this fragmentvoid
AbstractMarkupSourcingStrategy. onComponentTag(Component component, ComponentTag tag)
Make sure we open up open-close tags to open-body-closevoid
AssociatedMarkupSourcingStrategy. onComponentTag(Component component, ComponentTag tag)
void
DefaultMarkupSourcingStrategy. onComponentTag(Component component, ComponentTag tag)
Nothing to add to the response by defaultvoid
IMarkupSourcingStrategy. onComponentTag(Component component, ComponentTag tag)
Will be called in addition toonComponentTag(ComponentTag)
and allows the strategy to modify the component's tag or any of the tag attributes.void
AbstractMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Skip the components body which is expected to be raw markup only (no wicket components).void
BorderMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
void
DefaultMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Invoke the component's onComponentTagBody().void
FragmentMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Skip the body markup associated with the 'component'.void
IMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Will replace the respective component's method.void
PanelMarkupSourcingStrategy. onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Skip the panel's body markup which is expected to contain raw markup only (no wicket components) and which will be ignored / removed.protected void
AssociatedMarkupSourcingStrategy. renderAssociatedMarkup(Component component)
Render the associated markup markupvoid
AbstractMarkupSourcingStrategy. renderHead(Component component, HtmlHeaderContainer container)
Empty.void
AssociatedMarkupSourcingStrategy. renderHead(Component component, HtmlHeaderContainer container)
Render the header from the associated markup filevoid
IMarkupSourcingStrategy. renderHead(Component component, HtmlHeaderContainer container)
Will be called in addition tointernalRenderHead(HtmlHeaderContainer)
and allows the strategy to contribute to the <head> section of the response.protected IMarkupFragment
AbstractMarkupSourcingStrategy. searchInNestedTransparentResolvers(IMarkupFragment containerMarkup, Component child, List<MarkupContainer> componentResolvers)
Search for the markup of a child that might be nested inside transparent siblings.protected IMarkupFragment
AbstractMarkupSourcingStrategy. searchMarkupInTransparentResolvers(MarkupContainer container, IMarkupFragment containerMarkup, Component child)
If the child has not been directly added to the container, but via a TransparentWebMarkupContainer, then we are in trouble.Constructors in org.apache.wicket.markup.html.panel with parameters of type Component Constructor Description ComponentFeedbackPanel(String id, Component filter)
Constructor. -
Uses of Component in org.apache.wicket.markup.parser.filter
Methods in org.apache.wicket.markup.parser.filter that return Component Modifier and Type Method Description Component
EnclosureHandler. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
InlineEnclosureHandler. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
RelativePathPrefixHandler. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
WicketLinkTagHandler. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
WicketMessageTagHandler. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Methods in org.apache.wicket.markup.parser.filter with parameters of type Component Modifier and Type Method Description void
WicketMessageTagHandler.AttributeLocalizer. onComponentTag(Component component, ComponentTag tag)
-
Uses of Component in org.apache.wicket.markup.renderStrategy
Methods in org.apache.wicket.markup.renderStrategy with parameters of type Component Modifier and Type Method Description abstract void
DeepChildFirstVisitor. component(Component component, org.apache.wicket.util.visit.IVisit<Void> visit)
abstract boolean
DeepChildFirstVisitor. preCheck(Component component)
In order to find the deepest component, we traverse downwards starting from the root (e.g.protected abstract void
AbstractHeaderRenderStrategy. renderChildHeaders(HtmlHeaderContainer headerContainer, Component rootComponent)
Render the child hierarchy headers.protected void
ChildFirstHeaderRenderStrategy. renderChildHeaders(HtmlHeaderContainer headerContainer, Component rootComponent)
Render the child hierarchy headers.protected void
ParentFirstHeaderRenderStrategy. renderChildHeaders(HtmlHeaderContainer headerContainer, Component rootComponent)
void
AbstractHeaderRenderStrategy. renderHeader(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent)
void
ChildFirstHeaderRenderStrategy. renderHeader(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent)
void
IHeaderRenderStrategy. renderHeader(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component component)
Implements the render strategyprotected void
AbstractHeaderRenderStrategy. renderRootComponent(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent)
Render the root component (e.g.org.apache.wicket.util.visit.Visit<Void>
DeepChildFirstVisitor. visit(Component rootComponent)
Render the child hierarchy headers.org.apache.wicket.util.visit.Visit<Void>
DeepChildFirstVisitor. visit(Component rootComponent, org.apache.wicket.util.visit.Visit<Void> visit)
Render the child hierarchy headers. -
Uses of Component in org.apache.wicket.markup.repeater
Subclasses of Component in org.apache.wicket.markup.repeater Modifier and Type Class Description class
AbstractPageableView<T>
An abstract repeater view that provides paging functionality to its subclasses.class
AbstractRepeater
Base class for repeaters.class
Item<T>
Container that holds components in a RefreshingView.class
OddEvenItem<T>
Item that sets class="even" or class="odd" attributes based on its indexclass
RefreshingView<T>
An abstract repeater view that provides refreshing functionality to its subclasses.class
RepeatingView
A repeater view that renders all of its children, using its body markup, in the order they were added.Methods in org.apache.wicket.markup.repeater that return types with arguments of type Component Modifier and Type Method Description protected abstract Iterator<? extends Component>
AbstractRepeater. renderIterator()
Returns an iterator for the collection of child components to be rendered.protected Iterator<? extends Component>
RepeatingView. renderIterator()
Methods in org.apache.wicket.markup.repeater with parameters of type Component Modifier and Type Method Description IMarkupFragment
AbstractRepeater. getMarkup(Component child)
protected void
AbstractRepeater. renderChild(Component child)
Render a single child. -
Uses of Component in org.apache.wicket.markup.repeater.data
Subclasses of Component in org.apache.wicket.markup.repeater.data Modifier and Type Class Description class
DataView<T>
DataView is a basic implementation ofAbstractPageableView
.class
DataViewBase<T>
Base class for data views.class
GridView<T>
A pageable DataView which breaks the data in the IDataProvider into a number of data-rows, depending on the column size. -
Uses of Component in org.apache.wicket.markup.resolver
Subclasses of Component in org.apache.wicket.markup.resolver Modifier and Type Class Description static class
AutoLinkResolver.AutolinkBookmarkablePageLink<T>
Autolink components delegate component resolution to their parent components.Methods in org.apache.wicket.markup.resolver that return Component Modifier and Type Method Description Component
AutoLinkResolver.IAutolinkResolverDelegate. newAutoComponent(String autoId, AutoLinkResolver.PathInfo pathInfo)
Returns a new auto component based on the pathInfo object.protected Component
AutoLinkResolver.AbstractAutolinkResolverDelegate. newPackageResourceReferenceAutoComponent(String autoId, AutoLinkResolver.PathInfo pathInfo, String attribute)
Creates a new auto component that references a package resource.Component
AutoLinkResolver.AutolinkBookmarkablePageLink. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
AutoLinkResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
static Component
ComponentResolvers. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter)
Attempts to resolve a component using resolvers.Component
HtmlHeaderResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
IComponentResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Try to resolve a component.Component
WicketContainerResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Component
WicketMessageResolver. resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
static Component
ComponentResolvers. resolveByApplication(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter)
Attempts to resolve a component via application registered resolvers.static Component
ComponentResolvers. resolveByComponentHierarchy(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
Attempts to resolve a component via the component hierarchy using resolvers. -
Uses of Component in org.apache.wicket.markup.transformer
Subclasses of Component in org.apache.wicket.markup.transformer Modifier and Type Class Description class
AbstractOutputTransformerContainer
This abstract container provides the means to post-process the markup generated by its child components (excluding the containers tag)class
NoopOutputTransformerContainer
An implementation of an output transformer which does nothing.class
XsltOutputTransformerContainer
A container which output markup will be processes by a XSLT processor prior to writing the output into the web response.Methods in org.apache.wicket.markup.transformer with parameters of type Component Modifier and Type Method Description void
AbstractTransformerBehavior. afterRender(Component component)
void
AbstractTransformerBehavior. beforeRender(Component component)
void
XsltTransformerBehavior. bind(Component component)
void
AbstractTransformerBehavior. detach(Component component)
void
XsltTransformerBehavior. onComponentTag(Component component, ComponentTag tag)
abstract CharSequence
AbstractOutputTransformerContainer. transform(Component component, CharSequence output)
abstract CharSequence
AbstractTransformerBehavior. transform(Component component, CharSequence output)
CharSequence
ITransformer. transform(Component component, CharSequence output)
Will be invoked after all child components have been processed to allow for transforming the markup generated.CharSequence
NoopOutputTransformerContainer. transform(Component component, CharSequence output)
CharSequence
XsltOutputTransformerContainer. transform(Component component, CharSequence output)
CharSequence
XsltTransformer. transform(Component component, CharSequence output)
Apply a XSL transformation to the markup generated by a component.CharSequence
XsltTransformerBehavior. transform(Component component, CharSequence output)
-
Uses of Component in org.apache.wicket.mock
Subclasses of Component in org.apache.wicket.mock Modifier and Type Class Description class
MockHomePage
Mock Page -
Uses of Component in org.apache.wicket.model
Methods in org.apache.wicket.model with parameters of type Component Modifier and Type Method Description boolean
IModelComparator. compare(Component component, Object newObject)
protected T
ComponentDetachableModel. getObject(Component component)
Called when getObject is called in order to retrieve the detachable object.protected T
ComponentModel. getObject(Component component)
Returns the object from the model with the use of the component where it is attached to.protected String
StringResourceModel. getString(Component component)
protected String
CompoundPropertyModel. propertyExpression(Component component)
Returns the property expression that should be used against the target objectprotected void
ComponentDetachableModel. setObject(Component component, T object)
Called when setObject is called in order to change the detachable object.protected void
ComponentModel. setObject(Component component, T object)
Sets the model object for this model.IWrapModel<T>
ComponentDetachableModel. wrapOnAssignment(Component comp)
IWrapModel<T>
ComponentModel. wrapOnAssignment(Component comp)
IWrapModel<T>
ComponentPropertyModel. wrapOnAssignment(Component component)
IWrapModel<T>
IComponentAssignedModel. wrapOnAssignment(Component component)
This method is called when the component gets its model assigned.IWrapModel<String>
ResourceModel. wrapOnAssignment(Component component)
IWrapModel<String>
StringResourceModel. wrapOnAssignment(Component component)
<C> IWrapModel<C>
CompoundPropertyModel. wrapOnInheritance(Component component)
<W> IWrapModel<W>
IComponentInheritedModel. wrapOnInheritance(Component component)
Constructors in org.apache.wicket.model with parameters of type Component Constructor Description StringResourceModel(String resourceKey, Component component)
Creates a new string resource model using the supplied parameters.StringResourceModel(String resourceKey, Component component, IModel<?> model)
Creates a new string resource model using the supplied parameters. -
Uses of Component in org.apache.wicket.page
Fields in org.apache.wicket.page with type parameters of type Component Modifier and Type Field Description protected Map<String,Component>
PartialPageUpdate. markupIdToComponent
The component instances that will be rendered/replaced.Methods in org.apache.wicket.page that return types with arguments of type Component Modifier and Type Method Description Collection<? extends Component>
PartialPageUpdate. getComponents()
Methods in org.apache.wicket.page with parameters of type Component Modifier and Type Method Description void
PartialPageUpdate. add(Component component, String markupId)
Adds a component to be updated at the client side with its current markupprotected boolean
PartialPageUpdate. containsAncestorFor(Component component)
Checks if the target contains an ancestor for the given componentprotected boolean
PartialPageUpdate. prepareComponent(Component component)
Prepare a single componentprotected void
PartialPageUpdate. writeComponent(org.apache.wicket.request.Response response, String markupId, Component component, String encoding)
Writes a single componentprotected void
XmlPartialPageUpdate. writeComponent(org.apache.wicket.request.Response response, String markupId, Component component, String encoding)
TODO remove in Wicket 10protected void
PartialPageUpdate. writeHeaderContribution(org.apache.wicket.request.Response response, Component component)
-
Uses of Component in org.apache.wicket.protocol.http
Methods in org.apache.wicket.protocol.http with parameters of type Component Modifier and Type Method Description static boolean
AjaxEnclosureListener. isControllerOfEnclosure(Component component, Enclosure enclosure)
Check if a given component is the controlling child of a given enclosureMethod parameters in org.apache.wicket.protocol.http with type arguments of type Component Modifier and Type Method Description void
AjaxEnclosureListener. onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
Try to find Enclosures that have their controllers added already, and add them to the target.void
MultipartFormComponentListener. onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
-
Uses of Component in org.apache.wicket.resource.loader
Methods in org.apache.wicket.resource.loader with parameters of type Component Modifier and Type Method Description protected String
ComponentStringResourceLoader. getResourcePath(Component component)
get path for resource lookupprotected boolean
ComponentStringResourceLoader. isStopResourceSearch(Component component)
Check the supplied component to see if it is one that we shouldn't bother further searches up the component hierarchy for properties.String
BundleStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
Get the requested string resource from the underlying resource bundle.String
ClassStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
String
ComponentStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
String
InitializerStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
String
IStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
Get the string resource for the given combination of component, resource key, locale and style.String
NestedStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
String
ValidatorStringResourceLoader. loadStringResource(Component component, String key, Locale locale, String style, String variation)
-
Uses of Component in org.apache.wicket.settings
Methods in org.apache.wicket.settings with parameters of type Component Modifier and Type Method Description void
FrameworkSettings. dispatchEvent(Object sink, IEvent<?> event, Component component)
Dispatches event to registered dispatchers -
Uses of Component in org.apache.wicket.util.tester
Subclasses of Component in org.apache.wicket.util.tester Modifier and Type Class Description static class
BaseWicketTester.StartComponentInPage
A page that is used as the automatically created page forBaseWicketTester.startComponentInPage(Class)
and the other variations.class
DummyHomePage
A dummy home page, as required byWicketTester
.class
DummyHomePage.TestLink
TestLink
class.class
DummyPanelPage
A dummyPanel
Component.Methods in org.apache.wicket.util.tester with type parameters of type Component Modifier and Type Method Description <C extends Component>
ResultBaseWicketTester. isComponent(String path, Class<C> expectedComponentClass)
assert component class<C extends Component>
CBaseWicketTester. startComponentInPage(C component)
Process a component.<C extends Component>
CBaseWicketTester. startComponentInPage(C component, IMarkupFragment pageMarkup)
Process a component.<C extends Component>
CBaseWicketTester. startComponentInPage(Class<C> componentClass)
Process a component.<C extends Component>
CBaseWicketTester. startComponentInPage(Class<C> componentClass, IMarkupFragment pageMarkup)
Process a component.Methods in org.apache.wicket.util.tester that return Component Modifier and Type Method Description Component
BaseWicketTester. assertExists(String path)
Component
BaseWicketTester. getComponentFromLastRenderedPage(String path)
Gets the component with the given path from last rendered page.Component
BaseWicketTester. getComponentFromLastRenderedPage(String path, boolean wantVisibleInHierarchy)
Component
BaseWicketTester. getComponentFromLastRenderedPage(String path, boolean wantVisibleInHierarchy, boolean failOnAbsent)
Gets the component with the given path from last rendered page.Methods in org.apache.wicket.util.tester with parameters of type Component Modifier and Type Method Description void
WicketTester. assertComponentFeedbackMessage(Component component, String key, IModel<?> model, IFeedbackMessageFilter filter)
Asserts that there is a feedback message provided by a given componentvoid
WicketTester. assertComponentOnAjaxResponse(Component component)
Tests that aComponent
has been added to aAjaxRequestTarget
, usingIPartialPageRequestHandler.add(Component...)
.void
WicketTester. assertMarkupLocale(Component component, Locale expectedLocale)
Asserts that a component's markup has loaded with the given localevoid
WicketTester. assertMarkupStyle(Component component, String expectedStyle)
Asserts that a component's markup has loaded with the given style.void
WicketTester. assertMarkupVariation(Component component, String expectedVariation)
Asserts that a component's markup has loaded with the given variationvoid
WicketTester. assertUsability(Component component)
Checks whether a component is visible and/or enabled before usageprotected Result
BaseWicketTester. checkUsability(Component component, boolean throwException)
Checks whether a component is visible and/or enabled before usagevoid
WicketTester. clickLink(Component link)
void
BaseWicketTester. executeAjaxEvent(Component component, String event)
Simulates the firing of an Ajax event.void
BaseWicketTester. executeListener(Component component)
Simulates processing URL that invokes anIRequestListener
on a component.protected void
WicketTestCase. executeListener(Component component, String filename)
void
WicketTester. executeListener(Class<?> testClass, Component component, String filename)
void
WicketTester. executeTest(Class<?> testClass, Component component, String filename)
Use-Dwicket.replace.expected.results=true
to automatically replace the expected output file.static AjaxEventBehavior
WicketTesterHelper. findAjaxEventBehavior(Component component, String event)
Finds the first AjaxEventBehavior attached to the specified component with the specified event.static List<AjaxEventBehavior>
WicketTesterHelper. findAjaxEventBehaviors(Component component, String event)
Finds all AjaxEventBehavior's attached to the specified component with the specified event.static Behavior
WicketTesterHelper. findBehavior(Component component, Class<? extends Behavior> behaviorClass)
void
BaseWicketTester. invokeListener(Component component)
Simulates invoking anIRequestListener
on a component.void
BaseWicketTester. invokeListener(Component component, Behavior behavior)
Simulates invoking anIRequestListener
on a component.Result
BaseWicketTester. isComponentOnAjaxResponse(Component component)
Tests that aComponent
has been added to aAjaxRequestTarget
, usingIPartialPageRequestHandler.add(org.apache.wicket.Component...)
.FormTester
FormTester. setValue(Component formComponent, String value)
Simulates filling in a field on aForm
.FormTester
FormTester. submit(Component buttonComponent)
A convenience method for submitting theForm
with an alternate button.Method parameters in org.apache.wicket.util.tester with type arguments of type Component Modifier and Type Method Description void
WicketTester. assertComponent(String path, Class<? extends Component> expectedComponentClass)
Asserts aComponent
class. -
Uses of Component in org.apache.wicket.validation
Methods in org.apache.wicket.validation with parameters of type Component Modifier and Type Method Description void
CompoundValidator. afterRender(Component component)
void
CompoundValidator. beforeRender(Component component)
void
CompoundValidator. bind(Component component)
void
CompoundValidator. detach(Component component)
boolean
CompoundValidator. getStatelessHint(Component component)
void
CompoundValidator. onComponentTag(Component component, ComponentTag tag)
void
CompoundValidator. onConfigure(Component component)
void
CompoundValidator. onEvent(Component component, IEvent<?> event)
void
CompoundValidator. onException(Component component, RuntimeException exception)
void
CompoundValidator. onRemove(Component component)
void
CompoundValidator. renderHead(Component component, IHeaderResponse response)
void
CompoundValidator. unbind(Component component)
-
Uses of Component in org.apache.wicket.validation.validator
Methods in org.apache.wicket.validation.validator with parameters of type Component Modifier and Type Method Description void
StringValidator. onComponentTag(Component component, ComponentTag tag)
-