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 |
CompactLayout()
Creates a new instance of CompactLayout. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompactLayout
public CompactLayout()
- Creates a new instance of CompactLayout.
updateLayout
public void updateLayout(ProgramTableModel model)
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)