TV-Browser 2.7.5 API

tvbrowser.ui.programtable.background
Interface BackgroundPainter

All Known Implementing Classes:
AbstractBackPainter, AbstractCellBasedBackPainter, OneImageBackPainter, SingleColorBackPainter, TimeBlockBackPainter, TimeOfDayBackPainter

public interface BackgroundPainter

Author:
Til Schneider, www.murfman.de

Method Summary
 JComponent getTableWest()
          Gets the component that should be shown in the west of the table.
 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.
 

Method Detail

layoutChanged

void layoutChanged(ProgramTableLayout layout,
                   ProgramTableModel model)
Is called when the table's layout has changed.


paintBackground

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

getTableWest

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.

Returns:
The table west.

TV-Browser 2.7.5 API

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