public class BehaviorHolderAttachedObjectTargetImpl extends AttachedObjectTargetImpl implements jakarta.faces.view.BehaviorHolderAttachedObjectTarget
| Constructor and Description |
|---|
BehaviorHolderAttachedObjectTargetImpl()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEvent()
|
List<jakarta.faces.component.UIComponent> |
getTargets(jakarta.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 jakarta.faces.view.BehaviorHolderAttachedObjectTargetpublic void setDefaultEvent(boolean defaultEvent)
defaultEvent - the defaultEvent to setpublic List<jakarta.faces.component.UIComponent> getTargets(jakarta.faces.component.UIComponent topLevelComponent)
jakarta.faces.view.AttachedObjectTarget
Returns 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(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.util.List<jakarta.faces.view.AttachedObjectHandler>) method to take the appropriate action on
the attached object.
getTargets in interface jakarta.faces.view.AttachedObjectTargetgetTargets in class AttachedObjectTargetImpltopLevelComponent - the top level component for this composite component.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.