|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgramRatingIf
This Interface makes it possible for plugins to offer rating infos to other plugins
Method Summary | |
---|---|
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 |
Method Detail |
---|
java.lang.String getName()
javax.swing.Icon getIcon()
int getRatingForProgram(Program program)
program
- program to get rating for
javax.swing.Icon getIconForProgram(Program program)
program
- program to get icon for
null
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 program
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |