Class BehaviorHolderAttachedObjectTargetImpl
java.lang.Object
com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl
com.sun.faces.facelets.tag.composite.BehaviorHolderAttachedObjectTargetImpl
- All Implemented Interfaces:
AttachedObjectTarget
,BehaviorHolderAttachedObjectTarget
public class BehaviorHolderAttachedObjectTargetImpl extends AttachedObjectTargetImpl implements BehaviorHolderAttachedObjectTarget
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BehaviorHolderAttachedObjectTargetImpl()
-
Method Summary
Modifier and Type Method Description String
getEvent()
List<UIComponent>
getTargets(UIComponent topLevelComponent)
Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.boolean
isDefaultEvent()
void
setDefaultEvent(boolean defaultEvent)
void
setEvent(String event)
-
Constructor Details
-
BehaviorHolderAttachedObjectTargetImpl
public BehaviorHolderAttachedObjectTargetImpl()
-
-
Method Details
-
getEvent
- Returns:
- the event
-
setEvent
- Parameters:
event
- the event to set
-
isDefaultEvent
public boolean isDefaultEvent()- Specified by:
isDefaultEvent
in interfaceBehaviorHolderAttachedObjectTarget
- Returns:
- the defaultEvent
-
setDefaultEvent
public void setDefaultEvent(boolean defaultEvent)- Parameters:
defaultEvent
- the defaultEvent to set
-
getTargets
Description copied from interface:AttachedObjectTarget
Returns the
List<UIComponent>
that thisAttachedObjectTarget
exposes. Each attached object exposed by the composite component author may point at multipleUIComponent
instances within the composite component. This method is used by theViewDeclarationLanguage.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.- Specified by:
getTargets
in interfaceAttachedObjectTarget
- Overrides:
getTargets
in classAttachedObjectTargetImpl
- Parameters:
topLevelComponent
- the top level component for this composite component.- Returns:
- the result as specified above
-