public static class PluginManagerImpl.RatingFieldRating extends java.lang.Object implements ProgramRatingIf
Constructor and Description |
---|
PluginManagerImpl.RatingFieldRating() |
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 p)
shows a detail dialog for a rating
|
public javax.swing.Icon getIcon()
ProgramRatingIf
getIcon
in interface ProgramRatingIf
public javax.swing.Icon getIconForProgram(Program program)
ProgramRatingIf
getIconForProgram
in interface ProgramRatingIf
program
- program to get icon fornull
if no rating is availablepublic java.lang.String getName()
ProgramRatingIf
getName
in interface ProgramRatingIf
public int getRatingForProgram(Program program)
ProgramRatingIf
getRatingForProgram
in interface ProgramRatingIf
program
- program to get rating forpublic boolean hasDetailsDialog()
ProgramRatingIf
hasDetailsDialog
in interface ProgramRatingIf
true
if the plugin is able to show details of the ratingpublic void showDetailsFor(Program p)
ProgramRatingIf
showDetailsFor
in interface ProgramRatingIf
p
- show dialog for this programTV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)