public class TimeBlockBackPainter extends AbstractBackPainter
Modifier and Type | Class and Description |
---|---|
(package private) class |
TimeBlockBackPainter.TimeBlockTableWest |
Constructor and Description |
---|
TimeBlockBackPainter() |
Modifier and Type | Method and Description |
---|---|
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.
|
fillImage
public void layoutChanged(ProgramTableLayout layout, ProgramTableModel model)
layoutChanged
in interface BackgroundPainter
layoutChanged
in class AbstractBackPainter
public void paintBackground(Graphics grp, int columnWidth, int tableHeight, int minCol, int maxCol, Rectangle clipBounds, ProgramTableLayout layout, ProgramTableModel model)
grp
- columnWidth
- tableHeight
- clipBounds
- layout
- The table's layoutmodel
- The table modelpublic JComponent getTableWest()
If nothing should be shown in the west, null is returned.
getTableWest
in interface BackgroundPainter
getTableWest
in class AbstractBackPainter
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)