TV-Browser 2.7.5 API

tvbrowser.ui.programtable.background
Class OneImageBackPainter

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

public class OneImageBackPainter
extends AbstractBackPainter

Author:
Til Schneider, www.murfman.de

Constructor Summary
OneImageBackPainter()
           
 
Method Summary
 void layoutChanged(ProgramTableLayout layout, ProgramTableModel model)
          Is called when the table's layout has changed.
 void paintBackground(Graphics grp, int columnWidth, int tableHeight, int minCol, int maxCol, Rectangle clipBounds, ProgramTableLayout layout, ProgramTableModel model)
          Paints the background.
 
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

OneImageBackPainter

public OneImageBackPainter()
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

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 layout
model - The table model

TV-Browser 2.7.5 API

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