TV-Browser 2.7.5 API

printplugin.printer
Class ProgramIcon

java.lang.Object
  extended by printplugin.printer.ProgramIcon
All Implemented Interfaces:
Icon

public class ProgramIcon
extends Object
implements Icon


Constructor Summary
ProgramIcon(Program prog)
           
ProgramIcon(Program prog, ProgramIconSettings settings, int width, boolean showChannelName)
           
ProgramIcon(Program prog, ProgramIconSettings settings, int width, boolean showChannelName, boolean showEndTime)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component component, Graphics g, int posX, int posY)
           
 void setMaximumHeight(int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramIcon

public ProgramIcon(Program prog)

ProgramIcon

public ProgramIcon(Program prog,
                   ProgramIconSettings settings,
                   int width,
                   boolean showChannelName,
                   boolean showEndTime)

ProgramIcon

public ProgramIcon(Program prog,
                   ProgramIconSettings settings,
                   int width,
                   boolean showChannelName)
Method Detail

setMaximumHeight

public void setMaximumHeight(int height)

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

paintIcon

public void paintIcon(Component component,
                      Graphics g,
                      int posX,
                      int posY)
Specified by:
paintIcon in interface Icon

TV-Browser 2.7.5 API

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