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
-
Fields inherited from interface jakarta.faces.view.AttachedObjectTarget
ATTACHED_OBJECT_TARGETS_KEY
-
-
Constructor Summary
Constructors Constructor Description BehaviorHolderAttachedObjectTargetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEvent()List<UIComponent>getTargets(UIComponent topLevelComponent)Returns theList<UIComponent>that thisAttachedObjectTargetexposes.booleanisDefaultEvent()voidsetDefaultEvent(boolean defaultEvent)voidsetEvent(String event)-
Methods inherited from class com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.faces.view.AttachedObjectTarget
getName
-
-
-
-
Method Detail
-
getEvent
public String getEvent()
- Returns:
- the event
-
setEvent
public void setEvent(String event)
- Parameters:
event- the event to set
-
isDefaultEvent
public boolean isDefaultEvent()
- Specified by:
isDefaultEventin interfaceBehaviorHolderAttachedObjectTarget- Returns:
- the defaultEvent
-
setDefaultEvent
public void setDefaultEvent(boolean defaultEvent)
- Parameters:
defaultEvent- the defaultEvent to set
-
getTargets
public List<UIComponent> getTargets(UIComponent topLevelComponent)
Description copied from interface:AttachedObjectTargetReturns the
List<UIComponent>that thisAttachedObjectTargetexposes. Each attached object exposed by the composite component author may point at multipleUIComponentinstances 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:
getTargetsin interfaceAttachedObjectTarget- Overrides:
getTargetsin classAttachedObjectTargetImpl- Parameters:
topLevelComponent- the top level component for this composite component.- Returns:
- the result as specified above
-
-