SupportFieldId
, SupportsAccessKey
, Visual
@Generated("component.stg") public class UILink extends AbstractUILink implements SupportsAccessKey, Visual
component.stg
with class
LinkTagDeclaration
.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
COMPONENT_FAMILY |
|
static java.lang.String |
COMPONENT_TYPE |
Constructor | Description |
---|---|
UILink() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Character |
getAccessKey() |
The access key of this control.
|
java.lang.String |
getConfirmation() |
Text to use as confirmation message.
|
CustomClass |
getCustomClass() |
Sets a CSS class in its parent, if the parent supports it.
|
java.lang.String |
getDefaultEventName() |
|
java.util.Collection<java.lang.String> |
getEventNames() |
|
java.lang.String |
getFamily() |
|
java.lang.String |
getFragment() |
The identifier of the page fragment which should
be brought into focus when the target page is
rendered.
|
java.lang.String |
getImage() |
Url to an image to display.
|
java.lang.String |
getLabel() |
A localized user presentable label for this component.
|
java.lang.String |
getLink() |
Link to an arbitrary URL, either an internal link or an external link.
|
Markup |
getMarkup() |
|
java.lang.String |
getOutcome() |
Link to an internal facelet page, like the outcome of an action.
|
java.lang.Integer |
getTabIndex() |
Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
|
java.lang.String |
getTarget() |
Name of a frame where the resource retrieved via this hyperlink is to be
displayed.
|
java.lang.String |
getTip() |
Text value to display as tooltip.
|
boolean |
isOmit() |
Flag indicating that the action of this element, will not be executed from client side
(e. g. when the user clicks a button.
|
boolean |
isTransition() |
Specify, if the command calls an JSF-Action.
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
|
void |
setAccessKey(java.lang.Character accessKey) |
|
void |
setConfirmation(java.lang.String confirmation) |
|
void |
setCustomClass(CustomClass customClass) |
|
void |
setFragment(java.lang.String fragment) |
|
void |
setImage(java.lang.String image) |
|
void |
setLabel(java.lang.String label) |
|
void |
setLink(java.lang.String link) |
|
void |
setMarkup(Markup markup) |
|
void |
setOmit(boolean omit) |
|
void |
setOutcome(java.lang.String outcome) |
|
void |
setTabIndex(java.lang.Integer tabIndex) |
|
void |
setTarget(java.lang.String target) |
|
void |
setTip(java.lang.String tip) |
|
void |
setTransition(boolean transition) |
getFieldId, isParentOfCommands
isDisabled, isRendered, processDecodes, processEvent, queueEvent, setDisabled
addClientBehavior, getClientBehaviors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getRendererType
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultEventName()
getDefaultEventName
in class javax.faces.component.UIComponentBase
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UICommand
public java.lang.String getImage()
getImage
in class AbstractUILink
public void setImage(java.lang.String image)
public java.lang.String getLink()
getLink
in class AbstractUICommandBase
public void setLink(java.lang.String link)
public java.lang.Integer getTabIndex()
getTabIndex
in class AbstractUILink
public void setTabIndex(java.lang.Integer tabIndex)
public java.lang.String getConfirmation()
getConfirmation
in class AbstractUICommandBase
public void setConfirmation(java.lang.String confirmation)
public java.lang.String getLabel()
getLabel
in interface SupportsAccessKey
getLabel
in class AbstractUICommand
public void setLabel(java.lang.String label)
public boolean isTransition()
true
isTransition
in class AbstractUICommandBase
public void setTransition(boolean transition)
public java.lang.String getTarget()
getTarget
in class AbstractUICommandBase
public void setTarget(java.lang.String target)
public java.lang.String getFragment()
getFragment
in class AbstractUICommandBase
public void setFragment(java.lang.String fragment)
public java.lang.Character getAccessKey()
getAccessKey
in interface SupportsAccessKey
public void setAccessKey(java.lang.Character accessKey)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public java.lang.String getTip()
public void setTip(java.lang.String tip)
public boolean isOmit()
false
isOmit
in class AbstractUICommandBase
public void setOmit(boolean omit)
setOmit
in class AbstractUICommandBase
public java.lang.String getOutcome()
getOutcome
in class AbstractUICommandBase
public void setOutcome(java.lang.String outcome)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.