T
- the model object typepublic class ResourceLink<T>
extends org.apache.wicket.markup.html.link.ResourceLink<T>
implements com.googlecode.wicket.jquery.core.IJQueryWidget
ResourceLink
Constructor and Description |
---|
ResourceLink(String id,
org.apache.wicket.request.resource.IResource resource)
Constructor
|
ResourceLink(String id,
org.apache.wicket.request.resource.IResource resource,
String icon)
Constructor
|
ResourceLink(String id,
org.apache.wicket.request.resource.ResourceReference reference)
Constructor
|
ResourceLink(String id,
org.apache.wicket.request.resource.ResourceReference reference,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor
|
ResourceLink(String id,
org.apache.wicket.request.resource.ResourceReference reference,
org.apache.wicket.request.mapper.parameter.PageParameters parameters,
String icon)
Constructor
|
ResourceLink(String id,
org.apache.wicket.request.resource.ResourceReference reference,
String icon)
Constructor
|
Modifier and Type | Method and Description |
---|---|
com.googlecode.wicket.jquery.core.JQueryBehavior |
newWidgetBehavior(String selector) |
void |
onBeforeRender(com.googlecode.wicket.jquery.core.JQueryBehavior behavior) |
void |
onConfigure(com.googlecode.wicket.jquery.core.JQueryBehavior behavior) |
protected void |
onInitialize() |
getURL, onClick, onResourceRequested
appendAnchor, getAnchor, getAutoEnable, getModel, getModelObject, getOnClickScript, getPopupSettings, getStatelessHint, isEnabled, linksTo, onComponentTag, onLinkClicked, setAnchor, setAutoEnable, setModel, setModelObject, setPopupSettings
disableLink, getAfterDisabledLink, getBeforeDisabledLink, getBody, isLinkEnabled, onBeforeRender, onComponentTagBody, onDetach, setAfterDisabledLink, setBeforeDisabledLink, setBody
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ResourceLink(String id, org.apache.wicket.request.resource.ResourceReference reference)
id
- the markup idreference
- the shared resource to link topublic ResourceLink(String id, org.apache.wicket.request.resource.ResourceReference reference, String icon)
id
- the markup idreference
- the shared resource to link toicon
- either a KendoIcon
constant or a 'k-i-icon' css classpublic ResourceLink(String id, org.apache.wicket.request.resource.ResourceReference reference, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
id
- the markup idreference
- the shared resource to link toparameters
- the resource parameterspublic ResourceLink(String id, org.apache.wicket.request.resource.ResourceReference reference, org.apache.wicket.request.mapper.parameter.PageParameters parameters, String icon)
id
- the markup idreference
- the shared resource to link toparameters
- the resource parametersicon
- either a KendoIcon
constant or a 'k-i-icon' css classpublic ResourceLink(String id, org.apache.wicket.request.resource.IResource resource)
id
- the markup idresource
- the resourceprotected void onInitialize()
onInitialize
in class org.apache.wicket.Component
public void onConfigure(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
onConfigure
in interface com.googlecode.wicket.jquery.core.IJQueryWidget
public void onBeforeRender(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
onBeforeRender
in interface com.googlecode.wicket.jquery.core.IJQueryWidget
public com.googlecode.wicket.jquery.core.JQueryBehavior newWidgetBehavior(String selector)
newWidgetBehavior
in interface com.googlecode.wicket.jquery.core.IJQueryWidget
Copyright © 2015 7thWeb. All rights reserved.