Modifier and Type | Class and Description |
---|---|
class |
MarkupContainer
A MarkupContainer holds a map of child components.
|
class |
Page
Abstract base class for pages.
|
Modifier and Type | Method and Description |
---|---|
<S extends Component,R> |
MarkupContainer.visitChildren(Class<?> clazz,
IVisitor<S,R> visitor)
Traverses all child components of the given class in this container, calling the visitor's
visit method at each one.
|
Modifier and Type | Method and 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 dequeude
|
Component |
MarkupContainer.findComponentToDequeue(ComponentTag tag)
Queries this container to find a child that can be dequeued that matches the specified tag.
|
Component |
MarkupContainer.get(String path)
Get a child component by looking it up with the given path.
|
Component |
Component.get(String path)
Gets the component at the given path.
|
Component |
Component.remove(Behavior... behaviors)
Removes behavior from component
|
Component |
Component.replaceWith(Component replacement)
Replaces this component with another.
|
protected Component |
Component.setAuto(boolean auto) |
Component |
IGenericComponent.setDefaultModel(IModel<?> model) |
Component |
Component.setDefaultModel(IModel<?> model)
Sets the given model.
|
Component |
IGenericComponent.setDefaultModelObject(Object object) |
Component |
Component.setDefaultModelObject(Object object)
Sets the backing model 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 ignored
|
Component |
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> |
Component.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.
|
Modifier and Type | Method and 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 sequential
Stream with the direct children of this markup container as its
source. |
Stream<Component> |
MarkupContainer.streamChildren()
Returns a sequential
Stream with the all children of this markup container as its
source. |
Modifier and Type | Method and 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 a
IDetachable . |
void |
IEventDispatcher.dispatchEvent(Object sink,
IEvent<?> event,
Component component)
Dispatches the even to the target component
|
static ChildToDequeueType |
ChildToDequeueType.fromChild(Component child) |
String |
IMarkupIdGenerator.generateMarkupId(Component component,
boolean createIfDoesNotExist)
Generates markup id for the given component
|
String |
DefaultMarkupIdGenerator.generateMarkupId(Component component,
boolean createIfDoesNotExist) |
protected String |
Localizer.getCacheKey(String key,
Component component,
Locale locale,
String style,
String variation)
Gets the cache key
|
IMarkupFragment |
MarkupContainer.getMarkup(Component child)
Get the markup of the child.
|
String |
Localizer.getString(String key,
Component component) |
String |
Localizer.getString(String key,
Component component,
IModel<?> model) |
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.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,
String defaultValue) |
String |
Localizer.getString(String key,
Component component,
String defaultValue) |
String |
Localizer.getStringIgnoreSettings(String key,
Component component,
IModel<?> model,
Locale locale,
String style,
String defaultValue)
This is similar to
Localizer.getString(String, Component, IModel, String) except that the
resource settings are ignored. |
String |
Localizer.getStringIgnoreSettings(String key,
Component component,
IModel<?> model,
String defaultValue) |
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 to
detach() . |
void |
IComponentAwareEventSink.onEvent(Component component,
IEvent<?> event)
Called when an event is sent to this behavior sink
|
MarkupContainer |
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 the
component.getId() |
MarkupContainer |
MarkupContainer.replace(Component child)
Replaces a child component of this container with another
|
void |
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.
|
Modifier and Type | Method and 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(IVisitor<Component,R> visitor)
Traverses all child components in this container, calling the visitor's visit method at each
one.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Component> |
AjaxRequestHandler.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
AjaxRequestHandler.add(Component... components) |
void |
AjaxRequestHandler.add(Component component,
String markupId) |
void |
AjaxRequestHandler.focusComponent(Component component) |
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 |
AjaxClientInfoBehavior.renderHead(Component component,
IHeaderResponse response) |
void |
AbstractDefaultAjaxBehavior.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.
|
void |
AbstractAjaxTimerBehavior.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Method and Description |
---|---|
default void |
AjaxRequestTarget.IListener.onAfterRespond(Map<String,Component> map,
AjaxRequestTarget.IJavaScriptResponse response)
Triggered after ajax request target is done with its response cycle.
|
default void |
AjaxRequestTarget.IListener.onBeforeRespond(Map<String,Component> map,
AjaxRequestTarget target)
Triggered before ajax request target begins its response cycle
|
Modifier and Type | Method and Description |
---|---|
default CharSequence |
IAjaxCallListener.getAfterHandler(Component component)
The JavaScript that will be executed after the Ajax call.
|
CharSequence |
AjaxCallListener.getAfterHandler(Component component) |
default CharSequence |
IAjaxCallListener.getBeforeHandler(Component component)
The JavaScript that will be executed before the Ajax call, as early as possible.
|
CharSequence |
AjaxCallListener.getBeforeHandler(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.getBeforeSendHandler(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.getCompleteHandler(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.getDoneHandler(Component component) |
default CharSequence |
IAjaxCallListener.getFailureHandler(Component component)
The JavaScript that will be executed after unsuccessful return of the Ajax call.
|
CharSequence |
AjaxCallListener.getFailureHandler(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.getInitHandler(Component component) |
default CharSequence |
IAjaxCallListener.getPrecondition(Component component)
A JavaScript function that is invoked before the request is being executed.
|
CharSequence |
AjaxCallListener.getPrecondition(Component component) |
default CharSequence |
IAjaxCallListener.getSuccessHandler(Component component)
The JavaScript that will be executed after successful return of the Ajax call.
|
CharSequence |
AjaxCallListener.getSuccessHandler(Component component) |
void |
AjaxCallListener.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
AjaxFormValidatingBehavior.bind(Component component) |
void |
AjaxFormValidatingBehavior.onConfigure(Component component) |
Modifier and Type | Class and 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
|
Modifier and Type | Class and 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 value
|
class |
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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
IComponentOnAfterRenderListener.onAfterRender(Component component)
Called right after the component was rendered.
|
void |
ComponentOnAfterRenderListenerCollection.onAfterRender(Component component) |
void |
ComponentOnBeforeRenderListenerCollection.onBeforeRender(Component component) |
void |
IComponentOnBeforeRenderListener.onBeforeRender(Component component)
Called when the component is about to be rendered
|
void |
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 its
Component#onConfigure() and
Behavior.onConfigure(org.apache.wicket.Component)
methods have been executed). |
void |
IComponentInitializationListener.onInitialize(Component component)
Called for every component after its Component#onInitialize method has been executed.
|
void |
ComponentInitializationListenerCollection.onInitialize(Component component) |
void |
IComponentInstantiationListener.onInstantiation(Component component)
Called for every component that is instantiated.
|
void |
ComponentInstantiationListenerCollection.onInstantiation(Component component) |
Modifier and Type | Method and Description |
---|---|
Component |
UnauthorizedActionException.getComponent() |
Modifier and Type | Method and Description |
---|---|
boolean |
IAuthorizationStrategy.isActionAuthorized(Component component,
Action action)
Gets whether the given action is permitted.
|
boolean |
IAuthorizationStrategy.AllowAllAuthorizationStrategy.isActionAuthorized(Component c,
Action action) |
void |
IUnauthorizedComponentInstantiationListener.onUnauthorizedInstantiation(Component component)
Called when an unauthorized component instantiation is about to take place (but before it
happens).
|
Constructor and Description |
---|
UnauthorizedActionException(Component component,
Action action)
Construct.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CompoundAuthorizationStrategy.isActionAuthorized(Component component,
Action action) |
Modifier and Type | Method and Description |
---|---|
boolean |
IActionAuthorizer.authorizeAction(Component component)
Gets whether this action is authorized.
|
boolean |
ActionAuthorizationStrategy.isActionAuthorized(Component component,
Action action) |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticatedWebApplication.onUnauthorizedInstantiation(Component component) |
protected void |
AuthenticatedWebApplication.onUnauthorizedPage(Component page)
Called when an AUTHENTICATED user tries to navigate to a page that they are not authorized to
access.
|
Modifier and Type | Class and Description |
---|---|
class |
SignInPage
A base class which provide standard functionality for sign in.
|
class |
SignOutPage
Simple sign out page.
|
Modifier and Type | Class and Description |
---|---|
class |
SignInPanel
Reusable user sign in panel with username and password as well as support for persistence of the
both.
|
class |
SignInPanel.SignInForm
Sign in form.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AnnotationsRoleAuthorizationStrategy.isActionAuthorized(Component component,
Action action) |
Modifier and Type | Method and Description |
---|---|
<T extends Component> |
InstantiationPermissions.authorize(Class<T> componentClass,
Roles rolesToAdd)
Gives the given role permission to instantiate the given class.
|
static <T extends Component> |
MetaDataRoleAuthorizationStrategy.authorize(Class<T> componentClass,
String roles)
Authorizes the given role to create component instances of type componentClass.
|
<T extends Component> |
InstantiationPermissions.authorizeAll(Class<T> componentClass)
Gives all roles permission to instantiate the given class.
|
static <T extends Component> |
MetaDataRoleAuthorizationStrategy.authorizeAll(Class<T> componentClass)
Grants permission to all roles to create instances of the given component class.
|
<T extends Component> |
InstantiationPermissions.unauthorize(Class<T> componentClass,
Roles rolesToRemove)
Removes permission for the given role to instantiate the given class.
|
static <T extends Component> |
MetaDataRoleAuthorizationStrategy.unauthorize(Class<T> componentClass,
String roles)
Removes permission for the given roles to create instances of the given component class.
|
static <T extends Component> |
MetaDataRoleAuthorizationStrategy.unauthorizeAll(Class<T> componentClass)
Grants authorization to instantiate the given class to just the role NO_ROLE, effectively
denying all other roles.
|
Modifier and Type | Method and Description |
---|---|
protected Map<Class<? extends Component>,Roles> |
InstantiationPermissions.getRolesForComponentClass() |
Modifier and Type | Method and Description |
---|---|
static void |
MetaDataRoleAuthorizationStrategy.authorize(Component component,
Action action,
String roles)
Authorizes the given role to perform the given action on the given component.
|
static void |
MetaDataRoleAuthorizationStrategy.authorizeAll(Component component,
Action action)
Grants permission to all roles to perform the given action on the given component.
|
boolean |
MetaDataRoleAuthorizationStrategy.isActionAuthorized(Component component,
Action action)
Uses component level meta data to match roles for component action execution.
|
static void |
MetaDataRoleAuthorizationStrategy.unauthorize(Component component,
Action action,
String roles)
Removes permission for the given role to perform the given action on the given component.
|
static void |
MetaDataRoleAuthorizationStrategy.unauthorizeAll(Component component,
Action action)
Grants authorization to perform the given action to just the role NO_ROLE, effectively
denying all other roles.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyValidator.bind(Component component) |
void |
PropertyValidator.detach(Component component) |
void |
PropertyValidator.onComponentTag(Component component,
ComponentTag tag) |
void |
PropertyValidator.onConfigure(Component component) |
Modifier and Type | Method and Description |
---|---|
protected Component |
AbstractAjaxBehavior.getComponent()
Gets the component that this handler is bound to.
|
Component |
InvalidBehaviorIdException.getComponent() |
Modifier and Type | Method and Description |
---|---|
void |
Behavior.afterRender(Component component)
Called when a component that has this behavior coupled was rendered.
|
void |
AbstractAjaxBehavior.afterRender(Component hostComponent) |
void |
Behavior.beforeRender(Component component)
Called when a component is about to render.
|
void |
Behavior.bind(Component component)
Bind this handler to the given component.
|
void |
AbstractAjaxBehavior.bind(Component hostComponent)
Bind this handler to the given component.
|
boolean |
Behavior.canCallListener(Component component)
Checks whether or not an
IRequestListener 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 |
Behavior.onComponentTag(Component component,
ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag.
|
void |
AbstractAjaxBehavior.onComponentTag(Component component,
ComponentTag 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 component
|
void |
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 parent
|
void |
Behavior.renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
void |
Behavior.unbind(Component component)
Notifies the behavior it is removed from the specified component
|
void |
AbstractAjaxBehavior.unbind(Component component) |
Modifier and Type | Method and Description |
---|---|
static Behavior |
Behavior.onTag(org.danekja.java.util.function.serializable.SerializableBiConsumer<Component,ComponentTag> onTagConsumer)
Creates a
Behavior that uses the given SerializableConsumer consumer to do
something with the component's tag. |
Constructor and Description |
---|
InvalidBehaviorIdException(Component component,
int behaviorId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
AutoConversationManager.onBeforeRender(Component component) |
void |
ConversationExpiryChecker.onBeforeRender(Component component) |
Modifier and Type | Method and Description |
---|---|
Component |
ListenerInvocationNotAllowedException.getComponent() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Component> |
IPartialPageRequestHandler.getComponents()
Returns an unmodifiable collection of all components added to this target
|
Modifier and Type | Method and Description |
---|---|
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 rendered
|
void |
IPartialPageRequestHandler.focusComponent(Component component)
Sets the focus in the browser to the given component.
|
Constructor and Description |
---|
ComponentRenderingRequestHandler(Component component)
Construct.
|
ListenerInvocationNotAllowedException(Component component,
Behavior behavior,
String message)
Constructor
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
ComponentRenderer.renderComponent(Supplier<Component> component)
Collects the Html generated by rendering a component.
|
Modifier and Type | Class and Description |
---|---|
class |
DevUtilsPage
All pages in the wicket-devutils package should extend this page so that they automatically get
checked to make sure that the utilities are enabled in the application debug settings.
|
class |
DevUtilsPanel
All panels in the wicket-devutils package should extend this panel so that they automatically get
checked to make sure that the utilities are enabled in the application debug settings.
|
Modifier and Type | Class and Description |
---|---|
class |
DebugBar
The debug bar is for use during development.
|
class |
InspectorDebugPanel
A panel that adds a link to the inspector to the debug bar.
|
class |
PageSizeDebugPanel
A panel for the debug bar that shows the size of the currently shown page.
|
class |
SessionSizeDebugPanel
A panel for the debug bar that shows the session size and links to the page that shows more
information about sessions.
|
class |
StandardDebugPanel
A standard looking debug panel with an img (optional) and a string of data, and the whole thing
is a link.
|
Modifier and Type | Method and Description |
---|---|
Component |
IDebugBarContributor.createComponent(String id,
DebugBar debugBar) |
Component |
VersionDebugContributor.createComponent(String id,
DebugBar debugBar) |
Modifier and Type | Class and Description |
---|---|
class |
DiskStoreBrowserPage
A page that shows the attributes (id, name, size) of the pages stored in the data stores.
|
Modifier and Type | Class and Description |
---|---|
class |
BrowserPanel
A panel that shows the data about pages in the data store
|
Modifier and Type | Class and Description |
---|---|
class |
ApplicationView
A Wicket panel that shows interesting information about a given Wicket session.
|
class |
EnhancedPageView
Enhanced
PageView which displays all Component s and Behavior s
of a Page in a TableTree representation. |
class |
InspectorPage
A page that shows interesting attributes of the Wicket environment, including the current session
and the component tree for the current page.
|
class |
LiveSessionsPage |
class |
RequestsPage |
class |
SessionView
A Wicket panel that shows interesting information about a given Wicket session.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
RenderPerformanceListener.accepts(Component component)
Filters which components' render performance should be measured.
|
void |
RenderPerformanceListener.onInstantiation(Component component) |
Modifier and Type | Method and Description |
---|---|
Component |
StatelessCheckFailureException.getComponent()
Get check failure component
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
StatelessChecker.mustCheck(Component component)
Returns
true if checker must check given component, false
otherwise. |
void |
StatelessChecker.onBeforeRender(Component component) |
Constructor and Description |
---|
StatelessCheckFailureException(Component component,
String reason)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
WicketExampleHeader
Navigation panel for the examples project.
|
class |
WicketExamplePage
Base class for all example pages.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxDownloadPage
Ajax download.
|
class |
AutoCompletePage
Page that demos the ajax auto complete text field
|
class |
ChoicePage
Linked select boxes example
|
class |
Clock
A simple component that displays current time
|
class |
ClockPage
A simple clock example page
|
class |
EditableLabelPage
Page to demo the in-place edit label
AjaxEditableLabel |
class |
EffectsPage
Demonstrates ajax effects
|
class |
FileUploadPage
Demos ajax handling of a multipart form
|
class |
LazyLoadingPage |
class |
LinksPage
Ajax links demo.
|
class |
OnChangeAjaxBehaviorPage |
class |
PageablesPage
Shows an ajaxian paging navigator in action.
|
class |
RatingsPage
Demo page for the rating component.
|
class |
TodoList
Ajax todo list without having to write any JavaScript yourself.
|
class |
TodoList.TodoItemsContainer
Container for displaying the todo items in a list.
|
class |
WorldClockPage
A world clock example page.
|
Modifier and Type | Class and Description |
---|---|
class |
ModalContent1Page |
class |
ModalContent2Page |
class |
ModalPanel1 |
class |
ModalWindowPage |
Modifier and Type | Class and Description |
---|---|
class |
AjaxHelloBrowser
A demo usage of AjaxBrowserInfoForm
|
Modifier and Type | Class and Description |
---|---|
class |
MailTemplate
An example page that shows how to generate email templates from a Wicket
Page , a
Panel or a TextTemplate |
class |
MailTemplatePanel
A demo panel which will be used to render mail template
|
class |
TemplateBasedOnPage
A page which acts a template for mails which should be send to the customers.
|
Modifier and Type | Class and Description |
---|---|
class |
SignIn
Simple example of a sign in page.
|
class |
SignIn.SignInForm
Sign in form
|
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatedWebPage
Base class to check access to a page.
|
class |
SignIn2
Simple example of a sign in page.
|
Modifier and Type | Class and Description |
---|---|
class |
AdminPage
A page only accessible by a user in the ADMIN role.
|
class |
BasePage
A base page accessible by everybody - no authorization required.
|
class |
MySignInPage
Simple example of a sign in page.
|
class |
SignOut
Simple logout page.
|
Modifier and Type | Class and Description |
---|---|
class |
AdminAnnotationsBookmarkablePage
Bookmarkable page that may only be accessed by users that have role ADMIN.
|
class |
AdminAnnotationsInternalPage
Non-bookmarkable page that may only be accessed by users that have role ADMIN.
|
class |
AdminBookmarkablePage
Bookmarkable page that may only be accessed by users that have role ADMIN.
|
class |
AdminInternalPage
Non-bookmarkable page that may only be accessed by users that have role ADMIN.
|
class |
AnnotationsPanelsPage
Bookmarkable page that may only be accessed by users that have role ADMIN.
|
class |
PanelsPage
Bookmarkable page that may only be accessed by users that have role ADMIN.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanValidationPage |
Modifier and Type | Class and Description |
---|---|
class |
FirstPanel
Test bread crumb enabled panel.
|
class |
FourthPanel
Test bread crumb enabled panel.
|
class |
ResultPanel
Test bread crumb enabled panel.
|
class |
SecondPanel
Test bread crumb enabled panel.
|
class |
ThirdPanel
Test bread crumb enabled panel.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCaptchaForm<T> |
class |
CageForm<T>
A demo form that shows how to use Cage
library
|
class |
Captcha
Captcha example page.
|
class |
CaptchaForm<T>
A demo form that uses Wicket's default captcha image resource
|
class |
KaptchaForm<T>
A demo form that shows how to use Kaptcha
library
|
Modifier and Type | Class and Description |
---|---|
class |
AutoConversationPage1 |
class |
AutoConversationPage2 |
class |
CdiExamplePage |
class |
CdiHomePage |
class |
ConversationPage1 |
class |
ConversationPage2 |
class |
ConversationPage3 |
class |
InjectionPage |
Modifier and Type | Class and Description |
---|---|
class |
BookmarkablePage
Example page that cannot be bookmarked.
|
class |
BookmarkablePageLinkPage
Page with examples on
BookmarkablePageLink . |
class |
BorderPage
Page with examples on
Border . |
class |
ButtonPage
Page with examples on
Button . |
class |
CheckBoxMultipleChoicePage
Page with examples on
CheckBoxMultipleChoice . |
class |
CheckBoxPage
Page with examples on
TextArea . |
class |
CheckBoxSelectorPage
An example page for
CheckBoxSelector |
class |
CheckGroupPage
CheckGroup and Check components example page
|
class |
CheckGroupPage2
CheckGroup and Check components example page
|
class |
DropDownChoicePage
Page with examples on
DropDownChoice . |
class |
ExternalLinkPage
Page with examples on
ExternalLink . |
class |
FormPage
Page with examples on
Form . |
class |
FragmentPage
Page with examples on
Fragment . |
class |
IncludePage
Page with examples on
MultiLineLabel . |
class |
LabelPage
Page with examples on
Label . |
class |
LinkPage
Page with examples on
Link . |
class |
ListChoicePage
Page with examples on
ListChoice . |
class |
ListMultipleChoicePage
Page with examples on
ListMultipleChoice . |
class |
MultiLineLabelPage
Page with examples on
MultiLineLabel . |
class |
MyBorder
A sample panel component.
|
class |
NonBookmarkablePage
Example page that cannot be bookmarked.
|
class |
PalettePage
Palette component example
|
class |
PanelPage
Page with examples on
Panel . |
class |
RadioChoicePage
Page with examples on
ListChoice . |
class |
RadioGroupPage
RadioGroup and Radio components example page
|
class |
RadioGroupPage2
RadioGroup and Radio components example page
|
class |
RecursivePanel
This example list knows how to display sublists.
|
class |
SelectPage
Page with examples on
Select . |
class |
SubmitLinkPage
Page with examples on
Form . |
class |
TabbedPanelPage
Reference page for TabbedPanel wicket-extensions component
|
protected class |
TabbedPanelPage.CssSwitchingLink |
class |
TextAreaPage
Page with examples on
TextArea . |
class |
TextFieldPage
Page with examples on
TextField . |
class |
XmlPage
Look ma, you can use plain XML too with Wicket.
|
Modifier and Type | Class and Description |
---|---|
class |
AlternativePageFromWebContext
The markup for this page is loaded from the web context by a custom
IResourceStreamLocator locator set in CustomResourceLoadingApplication . |
class |
PageFromWebContext
The markup for this page is loaded from the web context by a custom
IResourceStreamLocator locator set in CustomResourceLoadingApplication . |
class |
PageWithCustomLoading
The markup for this page is loaded by the Page component itself.
|
Modifier and Type | Class and Description |
---|---|
class |
DateTimePage
DateTime example page.
|
Modifier and Type | Class and Description |
---|---|
class |
Echo
The simplest form application possible.
|
Modifier and Type | Class and Description |
---|---|
class |
DecoupledAjaxUpdatePage |
class |
DecoupledAjaxUpdatePage.CounterLabel
A label that renders the value of the page's counter variable.
|
class |
IndexPage |
Modifier and Type | Class and Description |
---|---|
class |
FormInput
Example for form input.
|
class |
Multiply
Displays how a
FormComponentPanel can be used. |
Modifier and Type | Class and Description |
---|---|
class |
BodyFrame
Body frame page for the frames example.
|
class |
ExampleFrame
A simple component setting page URL in the src frame tag attribute.
|
class |
Home
Home page for the frames example.
|
class |
LeftFrame
The left frame.
|
class |
Page1
Test page for the right frame.
|
class |
Page2
Test page for the right frame.
|
class |
TopFrame
Top frame for navigation.
|
Modifier and Type | Class and Description |
---|---|
class |
GuestBook
A simple "guest book" example that allows visitors to the page to add a comment and see the
comments others have added.
|
class |
GuestBook.CommentForm
A form that allows a user to add a comment.
|
Modifier and Type | Class and Description |
---|---|
class |
HomePage
Everybody's favorite example (Hello World), modified to use Guice.
|
Modifier and Type | Class and Description |
---|---|
class |
Guess
The main guess page for the hangman application.
|
class |
HangmanPage
Session for hangman game.
|
class |
Lose
Page that handles the loser failing to guess the word.
|
class |
Win
Page called when the user has correctly guessed the word.
|
Modifier and Type | Class and Description |
---|---|
class |
HelloBrowser
Client snooping page.
|
Modifier and Type | Class and Description |
---|---|
class |
HelloWorld
Everybody's favorite example!
|
Modifier and Type | Class and Description |
---|---|
class |
HomePageHeader |
Modifier and Type | Class and Description |
---|---|
class |
EditBook
A page that contains a form that allows editing of books.
|
static class |
EditBook.EditBookForm
Form that edits a book
|
Modifier and Type | Class and Description |
---|---|
class |
BookDetails
A book details page.
|
class |
Popup
Trivial popup page.
|
Modifier and Type | Class and Description |
---|---|
class |
NavomaticBorder
Border component.
|
Modifier and Type | Class and Description |
---|---|
class |
Page2PP
Simple bookmarkable page that displays page parameters which is mounted with parameter
placeholders.
|
class |
Page2UP
Simple bookmarkable page that displays page parameters which is mounted with
UrlPathPageParametersEncoder . |
Modifier and Type | Class and Description |
---|---|
class |
Page3
Simple bookmarkable page.
|
class |
Page4
Simple bookmarkable page.
|
class |
Page5
Simple bookmarkable page that displays page parameters.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxDataTablePage |
class |
DataGridPage
demo page for the datatable component
|
class |
DataTableFilterToolbarPage
demo page for the datatable component
|
class |
DataTablePage
demo page for the datatable component
|
class |
ExamplePage
Base class for all pages in the QuickStart application.
|
class |
GridViewPage
page for demonstrating the gridview component
|
class |
OIRPage
page that demonstrates dataview with ReuseIfModelsEqualStrategy
|
class |
PagingPage
Page that demonstrates a paging dataview
|
class |
RefreshingPage
page that demonstrates a RefreshingView
|
class |
RepeatingPage
page that demonstrates a simple repeater view.
|
class |
SimplePage
Page that demonstrates a simple dataview.
|
class |
SortingPage
page that demonstrates dataview and sorting
|
Modifier and Type | Class and Description |
---|---|
class |
HttpsPage
This page is just to demonstrate how
HttpsMapper works.Since the demo web servers usually are not configured with https support the page itself will be never rendered. |
class |
LocalizedPage |
class |
RequestMapperHomePage |
Modifier and Type | Class and Description |
---|---|
class |
PackageMountedPage |
Modifier and Type | Class and Description |
---|---|
class |
SourcesPage
Displays the resources in a packages directory in a browsable format.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotPage |
Modifier and Type | Class and Description |
---|---|
class |
ContactsDisplayPage
Base class for the contact display page.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxStatelessExample |
class |
Index
Index page of the stateless example.
|
class |
StatefulPage
Another page of the stateless example.
|
class |
StatelessPage
Another page of the stateless example.
|
class |
StatelessPage1
Another page of the stateless example.
|
class |
StatelessPage2
Another page of the stateless example.
|
class |
StatelessPage3
Another page of the stateless example.
|
Modifier and Type | Class and Description |
---|---|
class |
Banner
Base class for banners.
|
class |
Banner1<T>
A banner.
|
class |
Banner2<T>
A banner.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateBorder
Border that holds layout elements that can be reused by pages.
|
Modifier and Type | Class and Description |
---|---|
class |
Panel1
Concrete, extending panel.
|
class |
TemplatePanel
Base panel to be extended.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTreePage |
class |
AdvancedTreePage |
class |
BeginnersTreePage
A very simple page containing a
DefaultNestedTree only. |
class |
FooPanel |
class |
NestedTreePage |
class |
TableTreePage |
Modifier and Type | Method and Description |
---|---|
protected Component |
AdvancedTreePage.newContentComponent(String id,
IModel<Foo> model) |
Modifier and Type | Class and Description |
---|---|
class |
UnicodeConverter
Converts between unescaped and escaped unicode and shows a custom model.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiUploadPage
Upload example.
|
class |
UploadPage
Upload example.
|
Modifier and Type | Class and Description |
---|---|
class |
DynamicPage
Template example page.
|
class |
TemplatePage
Template example page.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketBehaviorDemoPage |
class |
WebSocketMultiTabResourceDemoPage |
class |
WebSocketResourceDemoPage |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketChart
A panel that initializes a Google Line chart and uses WebSocketBehavior to register an asynchronous
task that will push some data through the web socket connection.
|
Modifier and Type | Class and Description |
---|---|
class |
NewUserWizard
This wizard shows some basic form use.
|
class |
StaticWizard
This is kind of the hello world example for wizards.
|
class |
StaticWizardWithPanels
This is kind of the hello world example for wizards.
|
class |
WizardPage
Page for displaying a wizard.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
NewUserWizard.newButtonBar(String id)
Use Ajax buttons.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AjaxDisableComponentListener.generateHandlerJavaScript(Component component,
boolean disabled)
Generate the proper enable/disable JavaScript code for the given component.
|
CharSequence |
AjaxDisableComponentListener.getBeforeHandler(Component component) |
CharSequence |
AjaxDisableComponentListener.getCompleteHandler(Component component) |
CharSequence |
AjaxDisableComponentListener.getFailureHandler(Component component) |
void |
AjaxDownloadBehavior.renderHead(Component component,
IHeaderResponse response) |
void |
AjaxFileDropBehavior.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
AjaxLazyLoadPanel<T extends Component>
A panel which load lazily a single content component.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxEditableChoiceLabel<T>
An inplace editor much like
AjaxEditableLabel , but instead of a TextField a
DropDownChoice is displayed. |
class |
AjaxEditableLabel<T>
An implementation of ajaxified edit-in-place component using a
TextField as it's editor. |
class |
AjaxEditableMultiLineLabel<T>
An inplace editor much like
AjaxEditableLabel , but now with support for multi line
content and a text area as its editor. |
class |
AjaxLazyLoadPanel<T extends Component>
A panel which load lazily a single content component.
|
class |
IndicatingAjaxButton
A variant of the
AjaxButton that displays a busy indicator while the ajax request is in
progress. |
class |
IndicatingAjaxFallbackLink<T>
A variant of the
AjaxFallbackLink that displays a busy indicator while the ajax request
is in progress. |
class |
IndicatingAjaxLink<T>
A variant of the
AjaxLink that displays a busy indicator while the ajax request is in
progress. |
Modifier and Type | Method and Description |
---|---|
protected Component |
AjaxEditableLabel.getLabel()
Gets the label component.
|
Component |
AjaxLazyLoadPanel.getLoadingComponent(String id)
Create a loading component shown instead of the actual content until it is
AjaxLazyLoadPanel.isContentReady() . |
protected Component |
AjaxEditableLabel.newLabel(MarkupContainer parent,
String componentId,
IModel<T> model)
Create a new form component instance to serve as label.
|
Modifier and Type | Method and Description |
---|---|
void |
AjaxIndicatorAppender.afterRender(Component component) |
void |
AjaxIndicatorAppender.bind(Component component) |
protected void |
AjaxLazyLoadPanel.handleCallbackScript(IHeaderResponse response,
CharSequence callbackScript,
Component component)
Deprecated.
this method is not called, and will be removed in Wicket 9
|
protected void |
AjaxLazyLoadPanel.onComponentLoaded(Component component,
AjaxRequestTarget target)
Deprecated.
override
AjaxLazyLoadPanel.onContentLoaded(Component, Optional) instead - will be removed in Wicket 9 |
void |
AjaxEditableLabel.EditorAjaxBehavior.renderHead(Component component,
IHeaderResponse response) |
void |
AjaxIndicatorAppender.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
AutoCompleteTextField<T>
An implementation of a textfield with the autoassist ajax behavior
AutoCompleteBehavior . |
class |
DefaultCssAutoCompleteTextField<T>
An
AutoCompleteTextField which automatically includes the default CSS for the
suggestions. |
Modifier and Type | Method and Description |
---|---|
void |
AutoCompleteBehavior.detach(Component component) |
void |
AbstractAutoCompleteBehavior.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
UploadProgressBar
A panel to show the progress of an HTTP upload.
|
Modifier and Type | Class and Description |
---|---|
class |
ModalWindow
Modal window component.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
ModalWindow.getContent()
Returns a content component.
|
Modifier and Type | Method and Description |
---|---|
ModalWindow |
ModalWindow.remove(Component component) |
ModalWindow |
ModalWindow.setContent(Component component)
Sets the content of the modal window.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxFallbackOrderByBorder<S>
Ajaxified version of
OrderByBorder |
class |
AjaxFallbackOrderByLink<S>
Deprecated.
Use
AjaxOrderByLink instead |
class |
AjaxOrderByLink<S>
Ajaxified
OrderByLink |
Modifier and Type | Class and Description |
---|---|
class |
AjaxFallbackDefaultDataTable<T,S>
An implementation of the DataTable that aims to solve the 90% usecase by adding navigation,
headers, an no-records-found toolbars to a standard
DataTable . |
class |
AjaxFallbackHeadersToolbar<S>
Ajaxified
HeadersToolbar |
class |
AjaxNavigationToolbar
Toolbar that displays (Ajax) links used to navigate the pages of the datatable as well as a
message about which rows are being displayed and their total number in the data table.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxTabbedPanel<T extends ITab>
Ajaxified version of the tabbed panel.
|
Modifier and Type | Class and Description |
---|---|
class |
BreadCrumbBar
A component that renders bread crumbs.
|
protected class |
BreadCrumbBar.BreadCrumbsListView
List view for rendering the bread crumbs.
|
class |
BreadCrumbLink
A link that when clicked will set the the active
bread crumb
participant to the one that is returned by BreadCrumbLink.getParticipant(String) . |
Modifier and Type | Method and Description |
---|---|
Component |
IBreadCrumbParticipant.getComponent()
Gets the participating component.
|
protected Component |
BreadCrumbBar.newBreadCrumbComponent(String id,
long index,
int total,
IBreadCrumbParticipant breadCrumbParticipant)
Creates a new bread crumb component.
|
Modifier and Type | Class and Description |
---|---|
class |
BreadCrumbPanel
A panel that participates with a
bread crumb model . |
class |
BreadCrumbPanelLink
Bread crumb link specifically for
bread crumb panels . |
Modifier and Type | Method and Description |
---|---|
Component |
BreadCrumbParticipantDelegate.getComponent() |
Component |
BreadCrumbPanel.getComponent()
The participating component == this.
|
Constructor and Description |
---|
BreadCrumbParticipantDelegate(Component component)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
KittenCaptchaPanel
A unique and fun-to-use captcha technique I developed at Thoof.
|
Modifier and Type | Class and Description |
---|---|
class |
SmartLinkLabel
If you have email addresses or web URLs in the data that you are displaying, then you can
automatically display those pieces of data as hyperlinks, you will not have to take any action to
convert that data.
|
class |
SmartLinkMultiLineLabel
If you have email addresses or web URLs in the data that you are displaying, then you can
automatically display those pieces of data as hyperlinks, you will not have to take any action to
convert that data.
|
Modifier and Type | Class and Description |
---|---|
class |
DateTextField
A TextField that is mapped to a
java.util.Date object. |
Modifier and Type | Class and Description |
---|---|
class |
LocalDateTextField
A TextField that is mapped to a
java.time.LocalDate object and that uses java.time time to
parse and format values. |
class |
LocalDateTimeField
Works on a
LocalDateTime object. |
class |
LocalDateTimeTextField
A TextField that is mapped to a
java.time.LocalDateTime object and that uses java.time time to
parse and format values. |
class |
LocalTimeTextField
A TextField that is mapped to a
java.time.LocalTime object and that uses java.time time to
parse and format values. |
class |
TimeField
Works on a
LocalTime object. |
class |
ZonedDateTimeField
Works on a
ZonedDateTimeTime object. |
Modifier and Type | Class and Description |
---|---|
class |
Palette<T>
Palette is a component that allows the user to easily select and order multiple items by moving
them from one select box into another.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
Palette.getChoicesComponent() |
protected Component |
Palette.getSelectionComponent() |
protected Component |
Palette.newAddAllComponent()
factory method for the addAll component
|
protected Component |
Palette.newAddComponent()
factory method for the addcomponent
|
protected Component |
Palette.newAvailableHeader(String componentId)
factory method for the available items header
|
protected Component |
Palette.newChoicesComponent()
factory method for the available items component
|
protected Component |
Palette.newDownComponent()
factory method for the move down component
|
protected Component |
Palette.newRemoveAllComponent()
factory method for the removeAll component
|
protected Component |
Palette.newRemoveComponent()
factory method for the remove component
|
protected Component |
Palette.newSelectedHeader(String componentId)
factory method for the selected items header
|
protected Component |
Palette.newSelectionComponent()
factory method for the selected items component
|
protected Component |
Palette.newUpComponent()
factory method for the move up component
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptions<T>
Generates html option elements based on iterator specified by getOptionsIterator() and
IChoiceRender specified by the palette
|
class |
Choices<T>
select box containing all available choices of the palette
|
class |
Recorder<T>
Component to keep track of selections on the html side.
|
class |
Selection<T>
select box containing selected choices of the palette
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTheme.onComponentTag(Component component,
ComponentTag tag) |
void |
DefaultTheme.renderHead(Component component,
IHeaderResponse response)
Renders header contributions
|
Modifier and Type | Class and Description |
---|---|
class |
Select<T>
Component that represents a
<select> box. |
class |
SelectOption<T>
Component representing a single
<option> html element |
class |
SelectOptions<T>
Component that makes it easy to produce a list of SelectOption components
Example markup:
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataGridView<T>
Acts as a base for data-grid views.
|
class |
DataGridView<T>
Simple concrete implementation of
AbstractDataGridView |
Modifier and Type | Class and Description |
---|---|
class |
OrderByBorder<S>
A component that wraps markup with an OrderByLink.
|
class |
OrderByLink<S>
A component that represents a sort header.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractToolbar
A base class for data table toolbars
|
class |
ColGroup
A panel that renders <colgroup> with <col> elements
inside it.
|
class |
ColGroup.Col |
class |
DataTable<T,S>
A data table builds on data grid view to introduce toolbars.
|
static class |
DataTable.Caption
A caption for the table.
|
class |
DefaultDataTable<T,S>
An implementation of the DataTable that aims to solve the 90% usecase by adding navigation,
headers, an no-records-found toolbars to a standard
DataTable . |
class |
HeadersToolbar<S>
Toolbars that displays column headers.
|
class |
NavigationToolbar
Toolbar that displays links used to navigate the pages of the datatable as well as a message
about which rows are being displayed and their total number in the data table.
|
class |
NavigatorLabel
Label that provides Showing x to y of z message given for a DataTable.
|
class |
NoRecordsToolbar
A toolbar that displays a "no records found" message when the data table contains no rows.
|
Modifier and Type | Method and Description |
---|---|
Component |
AbstractColumn.getHeader(String componentId) |
Component |
HeaderlessColumn.getHeader(String componentId) |
Component |
IColumn.getHeader(String componentId)
Returns the component that will be used as the header for the column.
|
Modifier and Type | Class and Description |
---|---|
class |
ExportToolbar
A toolbar that provides links to download the data represented by all
IExportableColumn s in the table
exported to formats supported by the IDataExporter s configured. |
Modifier and Type | Method and Description |
---|---|
protected Component |
AbstractExportableColumn.createDisplayComponent(String componentId,
IModel<?> dataModel)
Creates a
Component which will be used to display the content of the column in this row. |
protected Component |
ExportToolbar.createExportLink(String componentId,
IDataExporter dataExporter)
Creates a new link to the exported data for the provided
IDataExporter . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilter
Base class for filters that provides some useful functionality
|
class |
ChoiceFilter<T>
Filter that can be represented by a drop down list of choices
|
class |
FilterForm<T>
A form with filter-related special functionality for its form components.
|
class |
FilterToolbar
Toolbar that creates a form to hold form components used to filter data in the data table.
|
class |
GoAndClearFilter
Filter component that generates a 'go' and 'clear' buttons.
|
class |
GoFilter
Filter component that generates a 'go' button that when pressed submits the filter form
|
class |
NoFilter
Component used to represent a filter component when no filter is provided.
|
class |
TextFilter<T>
Filter that can be represented by a text field
|
Modifier and Type | Method and Description |
---|---|
Component |
ChoiceFilteredPropertyColumn.getFilter(String componentId,
FilterForm<?> form) |
Component |
TextFilteredPropertyColumn.getFilter(String componentId,
FilterForm<?> form) |
Component |
IFilteredColumn.getFilter(String componentId,
FilterForm<?> form)
Returns the component used by user to filter the column.
|
Modifier and Type | Method and Description |
---|---|
String |
FilterForm.getFocusTrackingHandler(Component component)
Returns the javascript focus handler necessary to notify the form of focus tracking changes
on the component
Useful when components want to participate in focus tracking but want to add the handler
their own way.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTree<T>
Abstract base class for
NestedTree and TableTree . |
class |
DefaultNestedTree<T>
An implementation of the NestedTree that aims to solve the 90% usecase by using
Folder s
on a standard NestedTree . |
class |
DefaultTableTree<T,S>
|
class |
NestedTree<T>
A tree with nested markup.
|
class |
Node<T>
Representation of a single node in the tree.
|
class |
TableTree<T,S>
A tree with tabular markup.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Component |
Node.createContent(String id,
IModel<T> model)
Create the component to display the actual node's content.
|
protected Component |
DefaultNestedTree.newContentComponent(String id,
IModel<T> node)
Creates
Folder for each node. |
protected abstract Component |
AbstractTree.newContentComponent(String id,
IModel<T> model)
Create a new component for the content of a node.
|
protected Component |
DefaultTableTree.newContentComponent(String id,
IModel<T> model)
Creates
Folder for each node. |
Component |
AbstractTree.newNodeComponent(String id,
IModel<T> model)
Create a new component for a node.
|
Component |
NestedTree.newNodeComponent(String id,
IModel<T> model)
Overridden to let the node output its markup id.
|
Component |
NestedTree.newSubtree(String id,
IModel<T> model)
Create a new subtree.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckedFolder<T>
|
class |
CheckFolder<T>
|
class |
Folder<T>
A typical folder representation of nodes in a tree.
|
class |
StyledLinkLabel<T>
A styled link with a label.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
CheckedFolder.newCheckBox(String id,
IModel<T> model)
Hook method to create a new checkbox component.
|
protected Component |
StyledLinkLabel.newLabelComponent(String id,
IModel<T> model)
Hook method to create a new label component.
|
Modifier and Type | Class and Description |
---|---|
class |
BranchItem<T>
A branch is a container for a single node and its children inside a
Subtree . |
class |
Subtree<T>
A subtree handles all children of a single node (or the root nodes if a
null node
was given to the constructor). |
Modifier and Type | Method and Description |
---|---|
void |
NodeBorder.afterRender(Component component) |
void |
NodeBorder.beforeRender(Component component) |
void |
NodeBorder.onComponentTag(Component component,
ComponentTag tag) |
Modifier and Type | Method and Description |
---|---|
void |
HumanTheme.onComponentTag(Component component,
ComponentTag tag) |
void |
WindowsTheme.onComponentTag(Component component,
ComponentTag tag) |
void |
HumanTheme.renderHead(Component component,
IHeaderResponse response) |
void |
WindowsTheme.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
TabbedPanel<T extends ITab>
TabbedPanel component represents a panel with tabs that are used to switch between different
content panels inside the TabbedPanel panel.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
TabbedPanel.newTitle(String titleId,
IModel<?> titleModel,
int index)
Factory method for tab titles.
|
Modifier and Type | Class and Description |
---|---|
class |
RatingPanel
Rating component that generates a number of stars where a user can click on to rate something.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
RatingPanel.newRatingLabel(String id,
IModel<? extends Number> rating,
IModel<Integer> nrOfVotes)
Creates a new rating label, showing a message like 'Rated 5.4 from 53 votes'.
|
protected Component |
RatingPanel.newRatingStarBar(String id,
IModel<Integer> nrOfStars)
Creates a new bar filled with stars to click on.
|
Modifier and Type | Class and Description |
---|---|
class |
AjaxWizardButtonBar
A bar of buttons for wizards utilizing
AjaxFormSubmitBehavior . |
class |
CancelButton
Models a cancel button in the wizard.
|
class |
FinishButton
Models a cancel button in the wizard.
|
class |
LastButton
Models a 'last' button in the wizard.
|
class |
NextButton
Models a next button in the wizard.
|
class |
PreviousButton
Models a previous button in the wizard.
|
class |
StaticContentStep
A wizard step that displays the provided static content without expecting any input.
|
class |
Wizard
A wizard is a dialog component that takes users through a number of steps to complete a task.
|
class |
WizardButton
Base class for buttons that work with
the wizard component . |
class |
WizardButtonBar
The default bar of button components for wizards.
|
class |
WizardStep
default implementation of
IWizardStep . |
Modifier and Type | Method and Description |
---|---|
Component |
WizardStep.getHeader(String id,
Component parent,
IWizard wizard) |
Component |
IWizardStep.getHeader(String id,
Component parent,
IWizard wizard)
Gets the header component for this step.
|
Component |
WizardStep.getView(String id,
Component parent,
IWizard wizard) |
Component |
IWizardStep.getView(String id,
Component parent,
IWizard wizard)
Returns the current view this step is displaying.
|
protected Component |
Wizard.newButtonBar(String id)
Create a new button bar.
|
protected Component |
Wizard.newFeedbackPanel(String id)
Create a new feedback panel.
|
protected Component |
Wizard.newOverviewBar(String id)
Create a new overview bar.
|
Modifier and Type | Method and Description |
---|---|
MarkupContainer |
AjaxWizardButtonBar.add(Component... childs) |
Component |
WizardStep.getHeader(String id,
Component parent,
IWizard wizard) |
Component |
IWizardStep.getHeader(String id,
Component parent,
IWizard wizard)
Gets the header component for this step.
|
Component |
WizardStep.getView(String id,
Component parent,
IWizard wizard) |
Component |
IWizardStep.getView(String id,
Component parent,
IWizard wizard)
Returns the current view this step is displaying.
|
Modifier and Type | Class and Description |
---|---|
class |
DynamicWizardStep
Default implementation of a
dynamic wizard step . |
Modifier and Type | Class and Description |
---|---|
class |
FencedFeedbackPanel
A specialized feedback panel that only displays messages from inside a fence defined by a
container component.
|
Modifier and Type | Method and Description |
---|---|
Component |
FeedbackMessage.getReporter()
Gets the reporting component.
|
Modifier and Type | Method and Description |
---|---|
void |
FeedbackMessages.add(Component reporter,
Serializable message,
int level)
Adds a message
|
protected List<FeedbackMessage> |
FeedbackMessagesModel.collectMessages(Component pageResolvingComponent,
IFeedbackMessageFilter filter)
Collects feedback messages
|
void |
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.
|
Constructor and Description |
---|
ComponentFeedbackMessageFilter(Component component)
Constructor
|
FeedbackCollector(Component component)
Constructs a collector that will collect messages from the specified
container |
FeedbackCollector(Component component,
boolean includeSession)
Constructs a collector that will collect messages from
Session and specified
container |
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,
the
fence component and not from any inner fence. |
FencedFeedbackPanel(String id,
Component fence,
IFeedbackMessageFilter filter)
Creates a fenced feedback panel with a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
GuiceComponentInjector.onInstantiation(Component component) |
Modifier and Type | Method and Description |
---|---|
<C extends Component> |
ComponentTag.setMarkupClass(Class<C> wicketHeaderClass)
Set the class of wicket component which contains the wicket:head tag.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentTag.IAutoComponentFactory.newComponent(MarkupContainer container,
ComponentTag tag)
Creates a new instance of auto component to be queued
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Component> |
MarkupStream.getContainerClass()
Get the component/container's Class which is directly associated with the stream.
|
Class<? extends Component> |
MarkupResourceStream.getMarkupClass()
Get the actual component class the markup is directly associated with.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlSpecialTag.onBeforeRender(Component component,
MarkupStream markupStream)
For subclasses to override.
|
void |
ComponentTag.onBeforeRender(Component component,
MarkupStream markupStream)
For subclasses to override.
|
Modifier and Type | Class and Description |
---|---|
class |
HeaderResponseContainer
A container that renders the content that was bucketed into a certain bucket by
FilteringHeaderResponse . |
Modifier and Type | Class and Description |
---|---|
class |
GenericWebMarkupContainer<T>
A
WebMarkupContainer with typesafe getters and setters for the model and its underlying object |
class |
GenericWebPage<T>
A
WebPage with typesafe getters and setters for the model and its underlying object |
class |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
TransparentWebMarkupContainer.findChildComponent(ComponentTag tag) |
Component |
TransparentWebMarkupContainer.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
HeaderPartContainer.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
The tag must be resolved against the panel and not against the page
|
Modifier and Type | Method and Description |
---|---|
void |
HTML5Attributes.onComponentTag(Component component,
ComponentTag tag) |
void |
HTML5Attributes.InstantiationListener.onInstantiation(Component component)
Adds
HTML5Attributes to all FormComponent s. |
void |
IComponentAwareHeaderContributor.renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component-aware wants to contribute to the head
section.
|
Modifier and Type | Class and 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.
|
Constructor and Description |
---|
EnclosureContainer(String id,
Component child)
Construct.
|
Modifier and Type | Class and 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> tag
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
Component |
Border.findComponentToDequeue(ComponentTag tag) |
Component |
Border.BorderBodyContainer.findComponentToDequeue(ComponentTag tag) |
Component |
Border.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component.
|
Modifier and Type | Method and 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 itself
|
void |
BorderBehavior.afterRender(Component component) |
void |
BorderBehavior.beforeRender(Component component) |
IMarkupFragment |
Border.getMarkup(Component child)
Search for the child markup in the file associated with the Border.
|
IMarkupFragment |
Border.BorderBodyContainer.getMarkup(Component child)
Get the child markup which must be in between the <span wicktet:id="myBorder"> tags
|
Border |
Border.queue(Component... components) |
Border |
Border.queueToBorder(Component... children)
Queues children components to the Border itself
|
Border |
Border.remove(Component component) |
Border |
Border.removeFromBorder(Component child)
Removes child from the Border itself
|
Border |
Border.replace(Component replacement) |
Border |
Border.replaceInBorder(Component component)
Replaces component in the Border itself
|
Modifier and Type | Class and Description |
---|---|
class |
PageView
This is a simple Wicket component that displays all components of a Page in a table
representation.
|
Modifier and Type | Class and 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> tag |
class |
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 with
CheckBoxMultipleChoice
. |
class |
CheckBoxSelector
A Javascript-based "Select All" checkbox component that works with a loose collection of
CheckBox 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
A
TextField 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
|
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 - like
Button only with an image. |
class |
LabeledWebMarkupContainer
Default implementation of
ILabelProvider . |
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>>
A
TextField 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>>
A
TextField 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 of
labelProvider'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
A
TextField for HTML5 <input> with type url. |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.onComponentTag(Component component,
ComponentTag tag) |
static <R> R |
FormComponent.visitComponentsPostOrder(Component component,
IVisitor<Component,R> visitor)
Visits any form components inside component if it is a container, or component itself if it
is itself a form component
|
static <R> R |
FormComponent.visitFormComponentsPostOrder(Component component,
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 component
|
Modifier and Type | Method and Description |
---|---|
static <R> R |
FormComponent.visitComponentsPostOrder(Component component,
IVisitor<Component,R> visitor)
Visits any form components inside component if it is a container, or component itself if it
is itself a form component
|
Constructor and Description |
---|
AutoLabel(String id,
Component fc) |
EnumChoiceRenderer(Component resourceSource)
Constructor
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
FilesSelectedBehavior.renderHead(Component component,
IHeaderResponse response) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFormValidator.bind(Component component)
Can be bound to
Form s only. |
void |
FormComponentFeedbackIndicator.setIndicatorFor(Component component) |
Modifier and Type | Class and 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 of
Image 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.
|
Modifier and Type | Method and Description |
---|---|
Component |
Image.setDefaultModel(IModel<?> model) |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
LocalizedImageResource(Component component)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
Include
Component that includes/ renders the import result of an URL, much like JSP include.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
Enclosure.getChild() |
Component |
Enclosure.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Modifier and Type | Class and 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 existing
Image 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.
|
Modifier and Type | Method and Description |
---|---|
Component |
Link.getAnchor()
Gets any anchor component.
|
Modifier and Type | Method and Description |
---|---|
void |
DisabledAttributeLinkBehavior.onComponentTag(Component component,
ComponentTag tag) |
Link<T> |
Link.setAnchor(Component anchor)
Sets an anchor component.
|
Modifier and Type | Class and 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 with
List 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 adds
class="odd" or class="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 a
CompoundPropertyModel . |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Component> |
ListView.renderIterator() |
protected Iterator<Component> |
Loop.renderIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
ListView.renderChild(Component child) |
protected void |
Loop.renderChild(Component child) |
Modifier and Type | Class and 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 component
|
class |
Track
The track tag is used to provide subtitles, captions, descriptions, chapters, metadata to a video
media component
|
Modifier and Type | Class and Description |
---|---|
class |
Audio
An audio media component to playback audio files.
|
Modifier and Type | Class and Description |
---|---|
class |
Video
A video media component to display videos.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Class and 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 displays
FeedbackMessage 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>
A
Panel with typesafe getters and setters for the model and its underlying object |
class |
Panel
A panel is a reusable component that holds markup and other components.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
FeedbackPanel.newMessageDisplayComponent(String id,
FeedbackMessage message)
Generates a component that is used to display the message inside the feedback panel.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
FragmentMarkupSourcingStrategy.chooseMarkup(Component component)
Get the markup stream which shall be used to search for the fragment
|
IMarkupFragment |
AssociatedMarkupSourcingStrategy.findMarkupInAssociatedFileHeader(MarkupContainer container,
Component child)
Search the child's markup in the header section of the markup
|
IMarkupFragment |
AssociatedMarkupSourcingStrategy.getMarkup(MarkupContainer parent,
Component child)
Search for the child's markup in the associated markup file.
|
IMarkupFragment |
IMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Will replace the respective component's method.
|
IMarkupFragment |
FragmentMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Search for the child's markup in the fragment markup.
|
IMarkupFragment |
DefaultMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Get the markup for the child component, which is assumed to be a child of 'container'.
|
abstract IMarkupFragment |
AbstractMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child) |
IMarkupFragment |
BorderMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Return null and thus use
Border.getMarkup(child) to provide the Markup |
protected MarkupContainer |
FragmentMarkupSourcingStrategy.getMarkupProvider(Component component)
Returns markup provider associated with this fragment
|
void |
AssociatedMarkupSourcingStrategy.onComponentTag(Component component,
ComponentTag tag) |
void |
IMarkupSourcingStrategy.onComponentTag(Component component,
ComponentTag tag)
Will be called in addition to
onComponentTag(ComponentTag) and allows the
strategy to modify the component's tag or any of the tag attributes. |
void |
DefaultMarkupSourcingStrategy.onComponentTag(Component component,
ComponentTag tag)
Nothing to add to the response by default
|
void |
AbstractMarkupSourcingStrategy.onComponentTag(Component component,
ComponentTag tag)
Make sure we open up open-close tags to open-body-close
|
void |
IMarkupSourcingStrategy.onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Will replace the respective component's method.
|
void |
FragmentMarkupSourcingStrategy.onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Skip the body markup associated with the 'component'.
|
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.
|
void |
DefaultMarkupSourcingStrategy.onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Invoke the component's onComponentTagBody().
|
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) |
protected void |
AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(Component component)
Render the associated markup markup
|
void |
AssociatedMarkupSourcingStrategy.renderHead(Component component,
HtmlHeaderContainer container)
Render the header from the associated markup file
|
void |
IMarkupSourcingStrategy.renderHead(Component component,
HtmlHeaderContainer container)
Will be called in addition to
internalRenderHead(HtmlHeaderContainer) and allows
the strategy to contribute to the <head> section of the response. |
void |
AbstractMarkupSourcingStrategy.renderHead(Component component,
HtmlHeaderContainer container)
Empty.
|
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.
|
Constructor and Description |
---|
ComponentFeedbackPanel(String id,
Component filter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Component |
WicketLinkTagHandler.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
RelativePathPrefixHandler.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
InlineEnclosureHandler.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
EnclosureHandler.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
WicketMessageTagHandler.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Modifier and Type | Method and Description |
---|---|
void |
WicketMessageTagHandler.AttributeLocalizer.onComponentTag(Component component,
ComponentTag tag) |
Modifier and Type | Method and Description |
---|---|
abstract void |
DeepChildFirstVisitor.component(Component component,
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 void |
ParentFirstHeaderRenderStrategy.renderChildHeaders(HtmlHeaderContainer headerContainer,
Component rootComponent) |
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.
|
void |
AbstractHeaderRenderStrategy.renderHeader(HtmlHeaderContainer headerContainer,
HtmlHeaderContainer.HeaderStreamState headerStreamState,
Component rootComponent) |
void |
IHeaderRenderStrategy.renderHeader(HtmlHeaderContainer headerContainer,
HtmlHeaderContainer.HeaderStreamState headerStreamState,
Component component)
Implements the render strategy
|
void |
ChildFirstHeaderRenderStrategy.renderHeader(HtmlHeaderContainer headerContainer,
HtmlHeaderContainer.HeaderStreamState headerStreamState,
Component rootComponent) |
protected void |
AbstractHeaderRenderStrategy.renderRootComponent(HtmlHeaderContainer headerContainer,
HtmlHeaderContainer.HeaderStreamState headerStreamState,
Component rootComponent)
Render the root component (e.g.
|
Visit<Void> |
DeepChildFirstVisitor.visit(Component rootComponent)
Render the child hierarchy headers.
|
Visit<Void> |
DeepChildFirstVisitor.visit(Component rootComponent,
Visit<Void> visit)
Render the child hierarchy headers.
|
Modifier and Type | Class and 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 index
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<? extends Component> |
RepeatingView.renderIterator() |
protected abstract Iterator<? extends Component> |
AbstractRepeater.renderIterator()
Returns an iterator for the collection of child components to be rendered.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
AbstractRepeater.getMarkup(Component child) |
protected void |
AbstractRepeater.renderChild(Component child)
Render a single child.
|
Modifier and Type | Class and Description |
---|---|
class |
DataView<T>
DataView is a basic implementation of
AbstractPageableView . |
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.
|
Modifier and Type | Class and Description |
---|---|
static class |
AutoLinkResolver.AutolinkBookmarkablePageLink<T>
Autolink components delegate component resolution to their parent components.
|
Modifier and Type | Method and 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 |
HtmlHeaderResolver.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
WicketContainerResolver.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
AutoLinkResolver.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
AutoLinkResolver.AutolinkBookmarkablePageLink.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag) |
Component |
IComponentResolver.resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component.
|
Component |
WicketMessageResolver.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.
|
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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and 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) |
CharSequence |
XsltTransformer.transform(Component component,
CharSequence output)
Apply a XSL transformation to the markup generated by a component.
|
CharSequence |
NoopOutputTransformerContainer.transform(Component component,
CharSequence output) |
CharSequence |
XsltTransformerBehavior.transform(Component component,
CharSequence output) |
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 |
XsltOutputTransformerContainer.transform(Component component,
CharSequence output) |
Modifier and Type | Method and Description |
---|---|
static StringResourceModel |
StringResourceModelMigration.of(String resourceKey,
Component component,
IModel<?> model,
Object... parameters)
Deprecated.
use 'inline method' to get rid of the deprecation warning and complete the
migration to Wicket 7 API.
Original JavaDoc:
Creates a new string resource model using the supplied parameters.
The relative component parameter should generally be supplied, as without it resources can not be obtained from resource bundles that are held relative to a particular component or page. However, for application that use only global resources then this parameter may be null. The model parameter is also optional and only needs to be supplied if value substitutions are to take place on either the resource key or the actual resource strings. The parameters parameter is also optional and is used for substitutions. |
static StringResourceModel |
StringResourceModelMigration.of(String resourceKey,
Component component,
IModel<?> model,
String defaultValue,
Object... parameters)
Deprecated.
use 'inline method' to get rid of the deprecation warning and complete the
migration to Wicket 7 API.
|
Modifier and Type | Class and Description |
---|---|
class |
MockHomePage
Mock Page
|
Modifier and Type | Method and Description |
---|---|
boolean |
IModelComparator.compare(Component component,
Object newObject) |
protected T |
ComponentModel.getObject(Component component)
Returns the object from the model with the use of the component where it is attached to.
|
protected T |
ComponentDetachableModel.getObject(Component component)
Called when getObject is called in order to retrieve the detachable object.
|
protected String |
StringResourceModel.getString(Component component) |
protected String |
CompoundPropertyModel.propertyExpression(Component component)
Returns the property expression that should be used against the target object
|
protected void |
ComponentModel.setObject(Component component,
T object)
Sets the model object for this model.
|
protected void |
ComponentDetachableModel.setObject(Component component,
T object)
Called when setObject is called in order to change the detachable object.
|
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> |
StringResourceModel.wrapOnAssignment(Component component) |
IWrapModel<String> |
ResourceModel.wrapOnAssignment(Component component) |
IWrapModel<T> |
ComponentDetachableModel.wrapOnAssignment(Component comp) |
<C> IWrapModel<C> |
CompoundPropertyModel.wrapOnInheritance(Component component) |
<W> IWrapModel<W> |
IComponentInheritedModel.wrapOnInheritance(Component component) |
Constructor and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Component> |
PartialPageUpdate.markupIdToComponent
The component instances that will be rendered/replaced.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Component> |
PartialPageUpdate.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
PartialPageUpdate.add(Component component,
String markupId)
Adds a component to be updated at the client side with its current markup
|
protected boolean |
PartialPageUpdate.containsAncestorFor(Component component)
Checks if the target contains an ancestor for the given component
|
protected boolean |
PartialPageUpdate.prepareComponent(Component component)
Prepare a single component
|
protected void |
XmlPartialPageUpdate.writeComponent(Response response,
String markupId,
Component component,
String encoding) |
protected abstract void |
PartialPageUpdate.writeComponent(Response response,
String markupId,
Component component,
String encoding)
Writes a single component
|
protected void |
PartialPageUpdate.writeHeaderContribution(Response response,
Component component) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AjaxEnclosureListener.isControllerOfEnclosure(Component component,
Enclosure enclosure)
Check if a given component is the controlling child of a given enclosure
|
Modifier and Type | Method and Description |
---|---|
void |
MultipartFormComponentListener.onAfterRespond(Map<String,Component> map,
AjaxRequestTarget.IJavaScriptResponse response) |
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Component> |
WebSocketRequestHandler.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketRequestHandler.add(Component... components) |
void |
WebSocketRequestHandler.add(Component component,
String markupId) |
void |
WebSocketRequestHandler.focusComponent(Component component) |
protected CharSequence |
BaseWebSocketBehavior.getSessionId(Component component) |
boolean |
BaseWebSocketBehavior.getStatelessHint(Component component) |
void |
WebSocketBehavior.onEvent(Component component,
IEvent<?> event) |
void |
BaseWebSocketBehavior.renderHead(Component component,
IHeaderResponse response) |
Constructor and Description |
---|
WebSocketRequestHandler(Component component,
IWebSocketConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected String |
ComponentStringResourceLoader.getResourcePath(Component component)
get path for resource lookup
|
protected 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 |
InitializerStringResourceLoader.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 |
ValidatorStringResourceLoader.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 |
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 |
NestedStringResourceLoader.loadStringResource(Component component,
String key,
Locale locale,
String style,
String variation) |
Modifier and Type | Method and Description |
---|---|
void |
FrameworkSettings.dispatchEvent(Object sink,
IEvent<?> event,
Component component)
Dispatches event to registered dispatchers
|
Modifier and Type | Method and Description |
---|---|
void |
SpringComponentInjector.onInstantiation(Component component) |
Modifier and Type | Class and Description |
---|---|
static class |
BaseWicketTester.StartComponentInPage
A page that is used as the automatically created page for
BaseWicketTester.startComponentInPage(Class) and the other variations. |
class |
DummyHomePage
A dummy home page, as required by
WicketTester . |
class |
DummyHomePage.TestLink
TestLink class. |
class |
DummyPanelPage
A dummy
Panel Component. |
Modifier and Type | Method and Description |
---|---|
<C extends Component> |
BaseWicketTester.isComponent(String path,
Class<C> expectedComponentClass)
assert component class
|
<C extends Component> |
BaseWicketTester.startComponentInPage(C component)
Process a component.
|
<C extends Component> |
BaseWicketTester.startComponentInPage(C component,
IMarkupFragment pageMarkup)
Process a component.
|
<C extends Component> |
BaseWicketTester.startComponentInPage(Class<C> componentClass)
Process a component.
|
<C extends Component> |
BaseWicketTester.startComponentInPage(Class<C> componentClass,
IMarkupFragment pageMarkup)
Process a component.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
WicketTester.assertComponentFeedbackMessage(Component component,
String key,
IModel<?> model,
IFeedbackMessageFilter filter)
Asserts that there is a feedback message provided by a given component
|
void |
WicketTester.assertComponentOnAjaxResponse(Component component)
Tests that a
Component has been added to a AjaxRequestTarget , using
IPartialPageRequestHandler.add(Component...) . |
void |
WicketTester.assertMarkupLocale(Component component,
Locale expectedLocale)
Asserts that a component's markup has loaded with the given locale
|
void |
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 variation
|
void |
WicketTester.assertUsability(Component component)
Checks whether a component is visible and/or enabled before usage
|
protected Result |
BaseWicketTester.checkUsability(Component component,
boolean throwException)
Checks whether a component is visible and/or enabled before usage
|
void |
WicketTester.clickLink(Component link) |
void |
BaseWicketTester.executeAjaxEvent(Component component,
String event)
Simulates the firing of an Ajax event.
|
void |
WicketTester.executeListener(Class<?> testClass,
Component component,
String filename) |
void |
BaseWicketTester.executeListener(Component component)
Simulates processing URL that invokes an
IRequestListener on a component. |
protected void |
WicketTestCase.executeListener(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 an
IRequestListener on a component. |
void |
BaseWicketTester.invokeListener(Component component,
Behavior behavior)
Simulates invoking an
IRequestListener on a component. |
Result |
BaseWicketTester.isComponentOnAjaxResponse(Component component)
Tests that a
Component has been added to a AjaxRequestTarget , using
IPartialPageRequestHandler.add(org.apache.wicket.Component...) . |
FormTester |
FormTester.setValue(Component formComponent,
String value)
Simulates filling in a field on a
Form . |
FormTester |
FormTester.submit(Component buttonComponent)
A convenience method for submitting the
Form with an alternate button. |
Modifier and Type | Method and Description |
---|---|
void |
WicketTester.assertComponent(String path,
Class<? extends Component> expectedComponentClass)
Asserts a
Component class. |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
void |
StringValidator.onComponentTag(Component component,
ComponentTag tag) |
Modifier and Type | Method and Description |
---|---|
void |
VelocityContributor.detach(Component c)
Allows the behavior to detach any state it has attached during request processing.
|
void |
VelocityJavaScriptContributor.renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
void |
VelocityContributor.renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
Modifier and Type | Class and Description |
---|---|
class |
VelocityPanel
Panel that displays the result of rendering a Velocity template.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.