Top Description Inners Fields Constructors Methods
com.sun.faces.component

public Class PassthroughElement

extends UIPanel
implements ClientBehaviorHolder
Class Inheritance
All Implemented Interfaces
jakarta.faces.component.behavior.ClientBehaviorHolder
Imports
java.util.ArrayList, .Collection, .List, jakarta.el.ValueExpression, jakarta.faces.component.behavior.ClientBehaviorHolder

Causes all child components of this component to be rendered. This is useful in scenarios where a parent component is expecting a single component to be present, but the application wishes to render more than one.

By default, the rendererType property must be set to "jakarta.faces.passthrough.Element". This value can be changed by calling the setRendererType() method.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static enum

Field Summary

Modifier and TypeField and Description
public static final String
COMPONENT_TYPE

Hides jakarta.faces.component.UIPanel.COMPONENT_TYPE.

The standard component type for this component.

private static final List<String>
private static final String
Inherited from jakarta.faces.component.UIPanel:
COMPONENT_FAMILY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getDefaultEventName()

Overrides jakarta.faces.component.UIComponentBase.getDefaultEventName.

Implements jakarta.faces.component.behavior.ClientBehaviorHolder.getDefaultEventName.

Returns the default event name for this ClientBehaviorHolder implementation.

public Collection<String>
getEventNames()

Overrides jakarta.faces.component.UIComponentBase.getEventNames.

Implements jakarta.faces.component.behavior.ClientBehaviorHolder.getEventNames.

Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.

public String

Returns:

the value of the onclick property.
getOnclick
()

Return the value of the onclick property.

public String

Returns:

the value of the ondblclick property.
getOndblclick
()

Return the value of the ondblclick property.

public String

Returns:

the value of the onkeydown property.
getOnkeydown
()

Return the value of the onkeydown property.

public String

Returns:

the value of the onkeypress property.
getOnkeypress
()

Return the value of the onkeypress property.

public String

Returns:

the value of the onkeyup property.
getOnkeyup
()

Return the value of the onkeyup property.

public String

Returns:

the value of the onmousedown property.
getOnmousedown
()

Return the value of the onmousedown property.

public String

Returns:

the value of the onmousemove property.
getOnmousemove
()

Return the value of the onmousemove property.

public String

Returns:

the value of the onmouseout property.
getOnmouseout
()

Return the value of the onmouseout property.

public String

Returns:

the value of the onmouseover property.
getOnmouseover
()

Return the value of the onmouseover property.

public String

Returns:

the value of the onmouseup property.
getOnmouseup
()

Return the value of the onmouseup property.

public String

Returns:

the value of the style property.
getStyle
()

Return the value of the style property.

public String

Returns:

the value of the styleClass property.
getStyleClass
()

Return the value of the styleClass property.

private void
public void
setOnclick(String
the value of the onclick property.
onclick
)

Set the value of the onclick property.

public void
setOndblclick(String
the value of the ondblclick property.
ondblclick
)

Set the value of the ondblclick property.

public void
setOnkeydown(String
the value of the onkeydown property.
onkeydown
)

Set the value of the onkeydown property.

public void
setOnkeypress(String
the value of the onkeypress property.
onkeypress
)

Set the value of the onkeypress property.

public void
setOnkeyup(String
the value of the onkeyup property.
onkeyup
)

Set the value of the onkeyup property.

public void
setOnmousedown(String
the value of the onmousedown property.
onmousedown
)

Set the value of the onmousedown property.

public void
setOnmousemove(String
the value of the onmousemove property.
onmousemove
)

Set the value of the onmousemove property.

public void
setOnmouseout(String
the value of the onmouseout property.
onmouseout
)

Set the value of the onmouseout property.

public void
setOnmouseover(String
the value of the onmouseover property.
onmouseover
)

Set the value of the onmouseover property.

public void
setOnmouseup(String
the value of the onmouseup property.
onmouseup
)

Set the value of the onmouseup property.

public void
setStyle(String
the value of the style property.
style
)

Set the value of the style property.

public void
setStyleClass(String
the value of the styleClass property.
styleClass
)

Set the value of the styleClass property.

Inherited from jakarta.faces.component.UIPanel:
getFamily

Field Detail

COMPONENT_TYPEback to summary
public static final String COMPONENT_TYPE

Hides jakarta.faces.component.UIPanel.COMPONENT_TYPE.

The standard component type for this component.

EVENT_NAMESback to summary
private static final List<String> EVENT_NAMES
OPTIMIZED_PACKAGEback to summary
private static final String OPTIMIZED_PACKAGE

Constructor Detail

PassthroughElementback to summary
public PassthroughElement()

Method Detail

getDefaultEventNameback to summary
public String getDefaultEventName()

Overrides jakarta.faces.component.UIComponentBase.getDefaultEventName.

Implements jakarta.faces.component.behavior.ClientBehaviorHolder.getDefaultEventName.

Doc from jakarta.faces.component.behavior.ClientBehaviorHolder.getDefaultEventName.

Returns the default event name for this ClientBehaviorHolder implementation. This must be one of the event names returned by getEventNames or null if the component does not have a default event.

Returns:String

the default event name.

Annotations
@Override
getEventNamesback to summary
public Collection<String> getEventNames()

Overrides jakarta.faces.component.UIComponentBase.getEventNames.

Implements jakarta.faces.component.behavior.ClientBehaviorHolder.getEventNames.

Doc from jakarta.faces.component.behavior.ClientBehaviorHolder.getEventNames.

Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.

Returns:Collection<String>

an unmodifiable collection of event names.

Annotations
@Override
getOnclickback to summary
public String getOnclick()

Return the value of the onclick property.

Contents: Javascript code executed when a pointer button is clicked over this element.

Returns:String

the value of the onclick property.

getOndblclickback to summary
public String getOndblclick()

Return the value of the ondblclick property.

Contents: Javascript code executed when a pointer button is double clicked over this element.

Returns:String

the value of the ondblclick property.

getOnkeydownback to summary
public String getOnkeydown()

Return the value of the onkeydown property.

Contents: Javascript code executed when a key is pressed down over this element.

Returns:String

the value of the onkeydown property.

getOnkeypressback to summary
public String getOnkeypress()

Return the value of the onkeypress property.

Contents: Javascript code executed when a key is pressed and released over this element.

Returns:String

the value of the onkeypress property.

getOnkeyupback to summary
public String getOnkeyup()

Return the value of the onkeyup property.

Contents: Javascript code executed when a key is released over this element.

Returns:String

the value of the onkeyup property.

getOnmousedownback to summary
public String getOnmousedown()

Return the value of the onmousedown property.

Contents: Javascript code executed when a pointer button is pressed down over this element.

Returns:String

the value of the onmousedown property.

getOnmousemoveback to summary
public String getOnmousemove()

Return the value of the onmousemove property.

Contents: Javascript code executed when a pointer button is moved within this element.

Returns:String

the value of the onmousemove property.

getOnmouseoutback to summary
public String getOnmouseout()

Return the value of the onmouseout property.

Contents: Javascript code executed when a pointer button is moved away from this element.

Returns:String

the value of the onmouseout property.

getOnmouseoverback to summary
public String getOnmouseover()

Return the value of the onmouseover property.

Contents: Javascript code executed when a pointer button is moved onto this element.

Returns:String

the value of the onmouseover property.

getOnmouseupback to summary
public String getOnmouseup()

Return the value of the onmouseup property.

Contents: Javascript code executed when a pointer button is released over this element.

Returns:String

the value of the onmouseup property.

getStyleback to summary
public String getStyle()

Return the value of the style property.

Contents: CSS style(s) to be applied when this component is rendered.

Returns:String

the value of the style property.

getStyleClassback to summary
public String getStyleClass()

Return the value of the styleClass property.

Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" property on generated markup.

Returns:String

the value of the styleClass property.

handleAttributeback to summary
private void handleAttribute(String name, Object value)
setOnclickback to summary
public void setOnclick(String onclick)

Set the value of the onclick property.

Parameters
onclick:String

the value of the onclick property.

setOndblclickback to summary
public void setOndblclick(String ondblclick)

Set the value of the ondblclick property.

Parameters
ondblclick:String

the value of the ondblclick property.

setOnkeydownback to summary
public void setOnkeydown(String onkeydown)

Set the value of the onkeydown property.

Parameters
onkeydown:String

the value of the onkeydown property.

setOnkeypressback to summary
public void setOnkeypress(String onkeypress)

Set the value of the onkeypress property.

Parameters
onkeypress:String

the value of the onkeypress property.

setOnkeyupback to summary
public void setOnkeyup(String onkeyup)

Set the value of the onkeyup property.

Parameters
onkeyup:String

the value of the onkeyup property.

setOnmousedownback to summary
public void setOnmousedown(String onmousedown)

Set the value of the onmousedown property.

Parameters
onmousedown:String

the value of the onmousedown property.

setOnmousemoveback to summary
public void setOnmousemove(String onmousemove)

Set the value of the onmousemove property.

Parameters
onmousemove:String

the value of the onmousemove property.

setOnmouseoutback to summary
public void setOnmouseout(String onmouseout)

Set the value of the onmouseout property.

Parameters
onmouseout:String

the value of the onmouseout property.

setOnmouseoverback to summary
public void setOnmouseover(String onmouseover)

Set the value of the onmouseover property.

Parameters
onmouseover:String

the value of the onmouseover property.

setOnmouseupback to summary
public void setOnmouseup(String onmouseup)

Set the value of the onmouseup property.

Parameters
onmouseup:String

the value of the onmouseup property.

setStyleback to summary
public void setStyle(String style)

Set the value of the style property.

Parameters
style:String

the value of the style property.

setStyleClassback to summary
public void setStyleClass(String styleClass)

Set the value of the styleClass property.

Parameters
styleClass:String

the value of the styleClass property.

com.sun.faces.component back to summary

protected final Enum PassthroughElement.PropertyKeys

extends Enum<PassthroughElement.PropertyKeys>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
public static final PassthroughElement.PropertyKeys
pack-priv String

Constructor Summary

AccessConstructor and Description
private
PropertyKeys(String toString)

private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.

public static PassthroughElement.PropertyKeys
public static PassthroughElement.PropertyKeys[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

onclickback to summary
public static final PassthroughElement.PropertyKeys onclick
ondblclickback to summary
public static final PassthroughElement.PropertyKeys ondblclick
onkeydownback to summary
public static final PassthroughElement.PropertyKeys onkeydown
onkeypressback to summary
public static final PassthroughElement.PropertyKeys onkeypress
onkeyupback to summary
public static final PassthroughElement.PropertyKeys onkeyup
onmousedownback to summary
public static final PassthroughElement.PropertyKeys onmousedown
onmousemoveback to summary
public static final PassthroughElement.PropertyKeys onmousemove
onmouseoutback to summary
public static final PassthroughElement.PropertyKeys onmouseout
onmouseoverback to summary
public static final PassthroughElement.PropertyKeys onmouseover
onmouseupback to summary
public static final PassthroughElement.PropertyKeys onmouseup
styleback to summary
public static final PassthroughElement.PropertyKeys style
styleClassback to summary
public static final PassthroughElement.PropertyKeys styleClass
toStringback to summary
pack-priv String toString

Constructor Detail

PropertyKeysback to summary
private PropertyKeys(String toString)
PropertyKeysback to summary
private PropertyKeys()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

Annotations
@Override
valueOfback to summary
public static PassthroughElement.PropertyKeys valueOf(String name)
valuesback to summary
public static PassthroughElement.PropertyKeys[] values()