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(java.awt.Graphics grp,
int columnWidth,
int tableHeight,
int minCol,
int maxCol,
java.awt.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 java.awt.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 java.awt.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 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)