tvbrowser.ui.programtable.background
Class AbstractCellBasedBackPainter
java.lang.Object
tvbrowser.ui.programtable.background.AbstractBackPainter
tvbrowser.ui.programtable.background.AbstractCellBasedBackPainter
- All Implemented Interfaces:
- BackgroundPainter
- Direct Known Subclasses:
- TimeOfDayBackPainter
public abstract class AbstractCellBasedBackPainter
- 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 |
AbstractCellBasedBackPainter
public AbstractCellBasedBackPainter()
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
getOuterBackgroundImage
protected abstract Image getOuterBackgroundImage()
- Gets the background image for the outer areas, where no programs are.
- Returns:
- The background image for the outer areas
getBackgroundImageFor
protected abstract Image getBackgroundImageFor(Program prog)
- Gets the background image for the given program.
- Parameters:
prog - The program.
- Returns:
- The background image for the given program.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)