Package org.eclipse.handly.ui.viewer

# Class ColumnDescription

java.lang.Object
org.eclipse.handly.ui.viewer.ColumnDescription

public class ColumnDescription extends Object
Combines a `ColumnLayoutData` with a header for a table column.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ColumnDescription(String header, org.eclipse.jface.viewers.ColumnLayoutData layout)`
  Constructs a column description.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final String`
  `getHeader()`
  Returns the column header.
  `final org.eclipse.jface.viewers.ColumnLayoutData`
  `getLayoutData()`
  Returns the column layout data.

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

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

- ## Constructor Details

  - ### ColumnDescription

    public ColumnDescription(String header, org.eclipse.jface.viewers.ColumnLayoutData layout)
    Constructs a column description.
    Parameters:
      `header` - a column header, or `null` if none
      `layout` - a column layout data (not `null`)

- ## Method Details

  - ### getHeader

    public final String getHeader()
    Returns the column header.
    Returns:
      the column header, or `null` if none

  - ### getLayoutData

    public final org.eclipse.jface.viewers.ColumnLayoutData getLayoutData()
    Returns the column layout data.
    Returns:
      the column layout data (never `null`)