net.sf.jasperreports.engine.component

## Class BaseComponentContext

- java.lang.Object
- - net.sf.jasperreports.engine.component.BaseComponentContext

- All Implemented Interfaces:
    java.io.Serializable, ComponentContext

      public class BaseComponentContext
      extends java.lang.Object
      implements ComponentContext, java.io.Serializable

  Version:
    $Id: BaseComponentContext.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseComponentContext()`
    `BaseComponentContext(ComponentContext context, JRBaseObjectFactory objectFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JRComponentElement` | `getComponentElement()` Returns the component element that wraps the component.
    `void` | `setComponentElement(JRComponentElement element)`

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

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

- - ### Constructor Detail

    - #### BaseComponentContext

          public BaseComponentContext()

    - #### BaseComponentContext

          public BaseComponentContext(ComponentContext context,
                              JRBaseObjectFactory objectFactory)

  - ### Method Detail

    - #### setComponentElement

          public void setComponentElement(JRComponentElement element)

    - #### getComponentElement

          public JRComponentElement getComponentElement()

      Description copied from interface: `ComponentContext`
      Returns the component element that wraps the component.
      Specified by:
        `getComponentElement` in interface `ComponentContext`
      Returns:
        the current component element

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com