|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttvraterplugin.RatingIconTextFactory
public class RatingIconTextFactory
The Icon and Text that is displayed in the ProgramTable and various other Dialogs
| Field Summary | |
|---|---|
(package private) static Properties |
_genre
The Genres |
(package private) static ImageIcon[] |
_icons
Icons used to show the Ratings |
| Constructor Summary | |
|---|---|
RatingIconTextFactory()
|
|
| Method Summary | |
|---|---|
static Properties |
getGenres()
Returns the Genre-Property |
static ImageIcon |
getImageIconForRating(int rating)
Returns an Icon for a Rating |
static String |
getStringForRating(int type,
int rating)
Returns the String for a specific Rating |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final ImageIcon[] _icons
static Properties _genre
| Constructor Detail |
|---|
public RatingIconTextFactory()
| Method Detail |
|---|
public static Properties getGenres()
public static ImageIcon getImageIconForRating(int rating)
rating - Rating (0-5)
public static String getStringForRating(int type,
int rating)
type - Type (Rating.OVERALL ...)rating - the actual Rating (0-5)
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||