public class BehaviorHolderAttachedObjectTargetImpl extends AttachedObjectTargetImpl implements javax.faces.view.BehaviorHolderAttachedObjectTarget
| Constructor and Description |
|---|
BehaviorHolderAttachedObjectTargetImpl()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEvent()
|
List<javax.faces.component.UIComponent> |
getTargets(javax.faces.component.UIComponent topLevelComponent)
Returns the
|
boolean |
isDefaultEvent()
|
void |
setDefaultEvent(boolean defaultEvent)
|
void |
setEvent(String event)
|
getNamepublic BehaviorHolderAttachedObjectTargetImpl()
public String getEvent()
public void setEvent(String event)
event - the event to setpublic boolean isDefaultEvent()
isDefaultEvent in interface javax.faces.view.BehaviorHolderAttachedObjectTargetpublic void setDefaultEvent(boolean defaultEvent)
defaultEvent - the defaultEvent to setpublic List<javax.faces.component.UIComponent> getTargets(javax.faces.component.UIComponent topLevelComponent)
javax.faces.view.AttachedObjectTargetReturns the
List<UIComponent> that this
AttachedObjectTarget exposes. Each attached
object exposed by the composite component author
may point at multiple UIComponent instances within
the composite component. This method is used by the ViewDeclarationLanguage.retargetAttachedObjects(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.util.List<javax.faces.view.AttachedObjectHandler>)
method to take the appropriate action on the attached object.
getTargets in interface javax.faces.view.AttachedObjectTargetgetTargets in class AttachedObjectTargetImpltopLevelComponent - the top level component for this
composite component.Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.