tvbrowser.ui.programtable.background
Class TimeBlockBackPainter
java.lang.Object
tvbrowser.ui.programtable.background.AbstractBackPainter
tvbrowser.ui.programtable.background.TimeBlockBackPainter
- All Implemented Interfaces:
- BackgroundPainter
public class TimeBlockBackPainter
- extends AbstractBackPainter
- Author:
- Til Schneider, www.murfman.de
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeBlockBackPainter
public TimeBlockBackPainter()
layoutChanged
public void layoutChanged(ProgramTableLayout layout,
ProgramTableModel model)
- Is called when the table's layout has changed.
- Specified by:
layoutChanged in interface BackgroundPainter- Overrides:
layoutChanged in class AbstractBackPainter
paintBackground
public void paintBackground(Graphics grp,
int columnWidth,
int tableHeight,
int minCol,
int maxCol,
Rectangle clipBounds,
ProgramTableLayout layout,
ProgramTableModel model)
- Paints the background.
- Parameters:
grp - columnWidth - tableHeight - clipBounds - layout - The table's layoutmodel - The table model
getTableWest
public JComponent getTableWest()
- Gets the component that should be shown in the west of the table.
If nothing should be shown in the west, null is returned.
- Specified by:
getTableWest in interface BackgroundPainter- Overrides:
getTableWest in class AbstractBackPainter
- Returns:
- The table west.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)