@Deprecated public final class DisabledLinkBehavior extends Behavior
Markup tags <a>, <link> and <area> are replaced with a <span>. By
default tags are enclosed in an <em> tag.
| Modifier and Type | Class and Description |
|---|---|
static class |
DisabledLinkBehavior.LinkInstantiationListener
Deprecated.
|
| Constructor and Description |
|---|
DisabledLinkBehavior()
Deprecated.
Enclose each disabled link in
<em>. |
DisabledLinkBehavior(String beforeDisabledLink,
String afterDisabledLink)
Deprecated.
Enclose each disabled link in the given markup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterRender(Component component)
Deprecated.
Called when a component that has this behavior coupled was rendered.
|
void |
beforeRender(Component component)
Deprecated.
Called when a component is about to render.
|
String |
getAfterDisabledLink()
Deprecated.
Gets the insertion string to allow disabled links to look like Disabled link .
|
String |
getBeforeDisabledLink()
Deprecated.
Gets the insertion string to allow disabled links to look like Disabled link .
|
void |
onComponentTag(Component component,
ComponentTag tag)
Deprecated.
Called any time a component that has this behavior registered is rendering the component tag.
|
DisabledLinkBehavior |
setAfterDisabledLink(String afterDisabledLink)
Deprecated.
Sets the insertion string to allow disabled links to look like Disabled link .
|
DisabledLinkBehavior |
setBeforeDisabledLink(String beforeDisabledLink)
Deprecated.
Sets the insertion string to allow disabled links to look like Disabled link .
|
bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove, renderHead, unbindpublic DisabledLinkBehavior()
<em>.public DisabledLinkBehavior setAfterDisabledLink(String afterDisabledLink)
afterDisabledLink - The insertion stringpublic String getAfterDisabledLink()
public DisabledLinkBehavior setBeforeDisabledLink(String beforeDisabledLink)
beforeDisabledLink - The insertion stringpublic String getBeforeDisabledLink()
public void beforeRender(Component component)
BehaviorbeforeRender in class Behaviorcomponent - the component that has this behavior coupledpublic void onComponentTag(Component component, ComponentTag tag)
BehavioronComponentTag in class Behaviorcomponent - the component that renders this tag currentlytag - the tag that is renderedpublic void afterRender(Component component)
BehaviorafterRender in class Behaviorcomponent - the component that has this behavior coupledCopyright © 2006–2021 Apache Software Foundation. All rights reserved.