Top Fields Constructors Methods
com.sun.faces.facelets.tag.composite

public Class BehaviorHolderAttachedObjectTargetImpl

extends AttachedObjectTargetImpl
implements BehaviorHolderAttachedObjectTarget
Class Inheritance
All Implemented Interfaces
jakarta.faces.view.BehaviorHolderAttachedObjectTarget, jakarta.faces.view.AttachedObjectTarget
Imports
java.util.ArrayList, .List, jakarta.faces.component.UIComponent, jakarta.faces.view.BehaviorHolderAttachedObjectTarget

Field Summary

Modifier and TypeField and Description
private boolean
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the event
getEvent
()

public List<UIComponent>
getTargets(UIComponent
the top level component for this composite component.
topLevelComponent
)

Overrides com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl.getTargets.

Implements jakarta.faces.view.AttachedObjectTarget.getTargets.

Returns the List<UIComponent> that this AttachedObjectTarget exposes.

public boolean
public void
setDefaultEvent(boolean
the defaultEvent to set
defaultEvent
)

public void
setEvent(String
the event to set
event
)

Inherited from com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl:
getNamegetTargetsListsetNamesetTargetsList

Field Detail

defaultEventback to summary
private boolean defaultEvent
eventback to summary
private String event

Constructor Detail

BehaviorHolderAttachedObjectTargetImplback to summary
public BehaviorHolderAttachedObjectTargetImpl()

Method Detail

getEventback to summary
public String getEvent()

Returns:String

the event

getTargetsback to summary
public List<UIComponent> getTargets(UIComponent topLevelComponent)

Overrides com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl.getTargets.

Implements jakarta.faces.view.AttachedObjectTarget.getTargets.

Doc from jakarta.faces.view.AttachedObjectTarget.getTargets.

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 jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects method to take the appropriate action on the attached object.

Parameters
topLevelComponent:UIComponent

the top level component for this composite component.

Returns:List<UIComponent>

the result as specified above

Annotations
@Override
isDefaultEventback to summary
public boolean isDefaultEvent()

Implements jakarta.faces.view.BehaviorHolderAttachedObjectTarget.isDefaultEvent.

Returns:boolean

the defaultEvent

Annotations
@Override
setDefaultEventback to summary
public void setDefaultEvent(boolean defaultEvent)

Parameters
defaultEvent:boolean

the defaultEvent to set

setEventback to summary
public void setEvent(String event)

Parameters
event:String

the event to set