org.apache.myfaces.trinidad.change

## Class AddComponentChange

- java.lang.Object
- - org.apache.myfaces.trinidad.change.ComponentChange
  - - org.apache.myfaces.trinidad.change.AddComponentChange

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    AddChildComponentChange, SetFacetChildComponentChange

      public abstract class AddComponentChange
      extends ComponentChange

  Base class for specialized Change that when applied will add a component instance to the component tree.
  Version:
    $Name: $ ($Revision: adfrt/faces/adf-faces-api/src/main/java/oracle/adf/view/faces/change/AddComponentChange.java#0 $) $Date: 10-nov-2005.19:09:55 $
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AddComponentChange(javax.faces.component.UIComponent component)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.faces.component.UIComponent` | `getComponent()` Returns the component that is to be added either as a child or a facet while applying this Change.

    - ### Methods inherited from class org.apache.myfaces.trinidad.change.ComponentChange

      `changeComponent`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AddComponentChange

          protected AddComponentChange(javax.faces.component.UIComponent component)

  - ### Method Detail

    - #### getComponent

          public javax.faces.component.UIComponent getComponent()

      Returns the component that is to be added either as a child or a facet while applying this Change. Returns `null` if the component cannot be successfully re-constructed.

Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.