@Generated(value="component.stg") public class UIEvent extends AbstractUIEvent implements javax.faces.component.behavior.ClientBehaviorHolder
component.stg with class
EventTagDeclaration.| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIEvent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfirmation()
Text to use as confirmation message.
|
String |
getDefaultEventName() |
ClientBehaviors |
getEvent()
The name of the event as an instance of {
|
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getFragment()
The identifier of the page fragment which should
be brought into focus when the target page is
rendered.
|
String |
getLink()
Link to an arbitrary URL, either an internal link or an external link.
|
String |
getOutcome()
Link to an internal facelet page, like the outcome of an action.
|
String |
getTarget()
Name of a frame where the resource retrieved via this hyperlink is to be
displayed.
|
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,
Object state) |
void |
setConfirmation(String confirmation) |
void |
setEvent(ClientBehaviors event) |
void |
setFragment(String fragment) |
void |
setLink(String link) |
void |
setOmit(boolean omit) |
void |
setOutcome(String outcome) |
void |
setTarget(String target) |
void |
setTransition(boolean transition) |
isDisabled, isRendered, processDecodes, processEvent, queueEvent, setDisabledaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, 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, visitTreegetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getFamily()
getFamily in class javax.faces.component.UICommandpublic String getFragment()
getFragment in class AbstractUICommandBasepublic void setFragment(String fragment)
public String getLink()
Link to an arbitrary URL, either an internal link or an external link. For internal URLs, a session id will be added, if needed (when cookies disabled). The context path needs to be added manually e.g. #{request.contextPath}. For JSF navigation to a viewId use the outcome attribute!
The semantic of this attributes has been changed from Tobago 3 to 4!
getLink in class AbstractUICommandBasepublic void setLink(String link)
public String getConfirmation()
getConfirmation in class AbstractUICommandBasepublic void setConfirmation(String confirmation)
public ClientBehaviors getEvent()
getEvent in class AbstractUIEventpublic void setEvent(ClientBehaviors event)
setEvent in class AbstractUIEventpublic boolean isOmit()
falseisOmit in class AbstractUICommandBasepublic void setOmit(boolean omit)
setOmit in class AbstractUICommandBasepublic String getOutcome()
getOutcome in class AbstractUICommandBasepublic void setOutcome(String outcome)
public boolean isTransition()
trueisTransition in class AbstractUICommandBasepublic void setTransition(boolean transition)
public String getTarget()
getTarget in class AbstractUICommandBasepublic void setTarget(String target)
public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.