public class TopicLink<T extends Topic> extends AbstractBookmarkablePageLink<T>
Modifier and Type | Field and Description |
---|---|
protected FieldsViewModel |
fieldsViewModel |
pageClassName, parameters
Constructor and Description |
---|
TopicLink(String id,
org.apache.wicket.model.IModel<T> topicModel) |
TopicLink(String id,
org.apache.wicket.model.IModel<T> topicModel,
FieldsViewModel fieldsViewModel) |
Modifier and Type | Method and Description |
---|---|
boolean |
getEscapeLabel()
Return true if the label text should be escaped.
|
protected String |
getLabel() |
Class<? extends org.apache.wicket.Page> |
getPageClass()
Get tge page class registered with the link
|
org.apache.wicket.PageParameters |
getPageParameters() |
Topic |
getTopic() |
boolean |
isEnabled() |
boolean |
isVisible() |
protected void |
onComponentTag(org.apache.wicket.markup.ComponentTag tag) |
void |
onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream,
org.apache.wicket.markup.ComponentTag openTag) |
void |
onDetach() |
getStatelessHint, getURL, linksTo, onClick, setParameter, setParameter, setParameter
appendAnchor, getAnchor, getAutoEnable, getModel, getModelObject, getOnClickScript, getOnClickScript, getPopupSettings, onLinkClicked, setAnchor, setAutoEnable, setModel, setModelObject, setPopupSettings
disableLink, getAfterDisabledLink, getBeforeDisabledLink, isLinkEnabled, onBeforeRender, setAfterDisabledLink, setBeforeDisabledLink
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
protected FieldsViewModel fieldsViewModel
public TopicLink(String id, org.apache.wicket.model.IModel<T> topicModel, FieldsViewModel fieldsViewModel)
public boolean getEscapeLabel()
public Class<? extends org.apache.wicket.Page> getPageClass()
AbstractBookmarkablePageLink
getPageClass
in class AbstractBookmarkablePageLink<T extends Topic>
public Topic getTopic()
public org.apache.wicket.PageParameters getPageParameters()
getPageParameters
in class AbstractBookmarkablePageLink<T extends Topic>
protected void onComponentTag(org.apache.wicket.markup.ComponentTag tag)
public void onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream, org.apache.wicket.markup.ComponentTag openTag)
onComponentTagBody
in class org.apache.wicket.markup.html.link.AbstractLink
protected String getLabel()
public boolean isVisible()
isVisible
in class org.apache.wicket.Component
public boolean isEnabled()
public void onDetach()
onDetach
in class org.apache.wicket.Component