tvbrowser.ui.programtable

## Class CompactLayout

- java.lang.Object
- - tvbrowser.ui.programtable.AbstractProgramTableLayout
  - - tvbrowser.ui.programtable.CompactLayout

- All Implemented Interfaces:
    ProgramTableLayout

      public class CompactLayout
      extends AbstractProgramTableLayout

  This layout has (nearly) the same height for each column. The height of all columns is defined by the height of the channel column with the largest sum of panel heights. In all other columns space is added after each program to "stretch" the column to the same height. algorithm:
- find the column with the largest height (using preferred size of panels)
- make all columns equally high, do this by adding the same amount of empty space at the end of each panel in a column

Author:
  Til Schneider, www.murfman.de

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompactLayout()` Creates a new instance of CompactLayout.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `updateLayout(ProgramTableModel model)`

    - ### Methods inherited from class tvbrowser.ui.programtable.AbstractProgramTableLayout

      `getColumnStart, setColumnStarts`

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

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

- - ### Constructor Detail

    - #### CompactLayout

          public CompactLayout()

      Creates a new instance of CompactLayout.

  - ### Method Detail

    - #### updateLayout

          public void updateLayout(ProgramTableModel model)

TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)