TV-Browser 2.7.5 API

tvbrowser.ui.programtable.background
Class TimeOfDayBackPainter

java.lang.Object
  extended by tvbrowser.ui.programtable.background.AbstractBackPainter
      extended by tvbrowser.ui.programtable.background.AbstractCellBasedBackPainter
          extended by tvbrowser.ui.programtable.background.TimeOfDayBackPainter
All Implemented Interfaces:
BackgroundPainter

public class TimeOfDayBackPainter
extends AbstractCellBasedBackPainter

Author:
Til Schneider, www.murfman.de

Constructor Summary
TimeOfDayBackPainter()
           
 
Method Summary
protected  Image getBackgroundImageFor(Program prog)
          Gets the background image for the given program.
protected  Image getOuterBackgroundImage()
          Gets the background image for the outer areas, where no programs are.
 void layoutChanged(ProgramTableLayout layout, ProgramTableModel model)
          Is called when the table's layout has changed.
 
Methods inherited from class tvbrowser.ui.programtable.background.AbstractCellBasedBackPainter
paintBackground
 
Methods inherited from class tvbrowser.ui.programtable.background.AbstractBackPainter
fillImage, getTableWest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeOfDayBackPainter

public TimeOfDayBackPainter()
Method Detail

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

getOuterBackgroundImage

protected Image getOuterBackgroundImage()
Gets the background image for the outer areas, where no programs are.

Specified by:
getOuterBackgroundImage in class AbstractCellBasedBackPainter
Returns:
The background image for the outer areas

getBackgroundImageFor

protected Image getBackgroundImageFor(Program prog)
Gets the background image for the given program.

Specified by:
getBackgroundImageFor in class AbstractCellBasedBackPainter
Parameters:
prog - The program.
Returns:
The background image for the given program.

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)