com.orsoncharts.table

## Class ElementInfo

- java.lang.Object
- - com.orsoncharts.table.ElementInfo

-     public class ElementInfo
      extends java.lang.Object

  An object that pairs an element with its dimension for one specific graphics target.
  Since:
    1.1

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElementInfo(TableElement element, java.awt.geom.Dimension2D dimension)` Creates a new instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.awt.geom.Dimension2D` | `getDimension()` Returns the element's size.
    `TableElement` | `getElement()` Returns the element.

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

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

- - ### Constructor Detail

    - #### ElementInfo

          public ElementInfo(TableElement element,
                             java.awt.geom.Dimension2D dimension)

      Creates a new instance.
      Parameters:
        `element` - the element (`null` not permitted).
        `dimension` - the dimension (`null` not permitted).

  - ### Method Detail

    - #### getElement

          public TableElement getElement()

      Returns the element.
      Returns:
        The element (never `null`).

    - #### getDimension

          public java.awt.geom.Dimension2D getDimension()

      Returns the element's size.
      Returns:
        The element's size (never `null`).