@Deprecated public class MenuItemComponent extends org.apache.wicket.markup.html.WebComponent
Constructor and Description |
---|
MenuItemComponent(String id,
org.apache.wicket.model.IModel<MenuItem> urlModel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getId(String link)
Deprecated.
|
static String |
getImgId(String link)
Deprecated.
Generates a consistent String for id and class to match on the <img> tag.
|
boolean |
isRollOverOnSelect()
Deprecated.
If true, will Show rollover even on selection (not just focus)
|
protected void |
onComponentTag(org.apache.wicket.markup.ComponentTag tag)
Deprecated.
Define the Alternate text, Title and any additional content to the
MenuItemState
One can add additional tags to the Component tag based on MenuItemState and its specific type. |
protected void |
setAlternate(org.apache.wicket.markup.ComponentTag tag,
String text)
Deprecated.
|
protected void |
setImageLink(org.apache.wicket.markup.ComponentTag tag,
String link)
Deprecated.
Also sets the
|
void |
setRollOverOnSelect(boolean rollOverOnSelect)
Deprecated.
If true, will Show rollover even on selection (not just focus)
|
protected void |
setTitle(org.apache.wicket.markup.ComponentTag tag,
String text)
Deprecated.
|
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, 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, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTagBody, onConfigure, onDetach, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModel, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMarkupStream, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
protected void onComponentTag(org.apache.wicket.markup.ComponentTag tag)
MenuItemState
MenuItemState
to add more content, images etc to the State
, if required.onComponentTag
in class org.apache.wicket.Component
ContentMenuItemState
public static final String getImgId(String link)
link
- protected void setImageLink(org.apache.wicket.markup.ComponentTag tag, String link)
tag
- link
- protected void setAlternate(org.apache.wicket.markup.ComponentTag tag, String text)
protected void setTitle(org.apache.wicket.markup.ComponentTag tag, String text)
public boolean isRollOverOnSelect()
public void setRollOverOnSelect(boolean rollOverOnSelect)
Copyright © 2018. All rights reserved.