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)
|
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public BehaviorHolderAttachedObjectTargetImpl()
public String getEvent()
public void setEvent(String event)
event
- the event to setpublic boolean isDefaultEvent()
isDefaultEvent
in interface BehaviorHolderAttachedObjectTarget
public void setDefaultEvent(boolean defaultEvent)
defaultEvent
- the defaultEvent to setpublic List<UIComponent> getTargets(UIComponent topLevelComponent)
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(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 AttachedObjectTarget
getTargets
in class AttachedObjectTargetImpl
topLevelComponent
- the top level component for this
composite component.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.