public interface ProgramRatingIf
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon()
Icon for this interface that is displayed by other plugins
|
javax.swing.Icon |
getIconForProgram(Program program)
Get Icon for the rating.
|
java.lang.String |
getName()
Name for this interface that is displayed by other plugins
|
int |
getRatingForProgram(Program program)
Returns a rating for this program.
|
boolean |
hasDetailsDialog()
Has this plugin a dialog that displays details about this rating?
|
void |
showDetailsFor(Program program)
shows a detail dialog for a rating
|
java.lang.String getName()
javax.swing.Icon getIcon()
int getRatingForProgram(Program program)
program
- program to get rating forjavax.swing.Icon getIconForProgram(Program program)
program
- program to get icon fornull
if no rating is availableboolean hasDetailsDialog()
true
if the plugin is able to show details of the ratingvoid showDetailsFor(Program program)
program
- show dialog for this programTV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)