public class BehaviorHolderAttachedObjectTargetImpl extends AttachedObjectTargetImpl implements BehaviorHolderAttachedObjectTarget
ATTACHED_OBJECT_TARGETS_KEY| Constructor and Description |
|---|
BehaviorHolderAttachedObjectTargetImpl()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEvent()
|
List<UIComponent> |
getTargets(UIComponent topLevelComponent)
Returns the
|
boolean |
isDefaultEvent()
|
void |
setDefaultEvent(boolean defaultEvent)
|
void |
setEvent(String event)
|
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic BehaviorHolderAttachedObjectTargetImpl()
public String getEvent()
public void setEvent(String event)
event - the event to setpublic boolean isDefaultEvent()
isDefaultEvent in interface BehaviorHolderAttachedObjectTargetpublic void setDefaultEvent(boolean defaultEvent)
defaultEvent - the defaultEvent to setpublic List<UIComponent> getTargets(UIComponent topLevelComponent)
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 AttachedObjectTargetgetTargets in class AttachedObjectTargetImpltopLevelComponent - the top level component for this
composite component.Copyright © 1997–2019 Eclipse Foundation. All rights reserved.