public interface Program
Modifier and Type | Field and Description |
---|---|
static int |
INFO_AUDIO_DESCRIPTION
Audio description is available for people with limited vision.
|
static int |
INFO_AUDIO_DOLBY_DIGITAL_5_1 |
static int |
INFO_AUDIO_DOLBY_SURROUND |
static int |
INFO_AUDIO_MONO |
static int |
INFO_AUDIO_STEREO |
static int |
INFO_AUDIO_TWO_CHANNEL_TONE |
static int |
INFO_CATEGORIE_MAGAZINE_INFOTAINMENT
This program is a magazine or infotainment
|
static int |
INFO_CATEGORIE_MOVIE
This program is a movie.
|
static int |
INFO_CATEGORIE_NEWS
This program is News
|
static int |
INFO_CATEGORIE_SERIES
This program is a series.
|
static int |
INFO_CATEGORIE_SHOW
This program is Show
|
static int |
INFO_LIVE
Program is live.
|
static int |
INFO_NEW
This program has not been on air before.
|
static int |
INFO_ORIGINAL_WITH_SUBTITLE
Original with subtitle.
|
static int |
INFO_SUBTITLE
Deprecated.
Use
INFO_SUBTITLE_FOR_AURALLY_HANDICAPPED
or INFO_ORIGINAL_WITH_SUBTITLE instead. |
static int |
INFO_SUBTITLE_FOR_AURALLY_HANDICAPPED
A subtitle for aurally handicapped.
|
static int |
INFO_VISION_16_TO_9 |
static int |
INFO_VISION_4_TO_3 |
static int |
INFO_VISION_BLACK_AND_WHITE |
static int |
IS_VALID_STATE |
static int |
WAS_DELETED_STATE |
static int |
WAS_UPDATED_STATE |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds a ChangeListener to the program.
|
byte[] |
getBinaryField(ProgramFieldType type)
Gets the value of a binary field from the program.
|
Channel |
getChannel() |
Date |
getDate() |
String |
getDateString() |
String |
getDescription() |
int |
getFieldCount()
Gets the number of fields this program has.
|
Iterator |
getFieldIterator()
Gets an iterator over the types of all fields this program has.
|
int |
getHours()
Gets the hour-component of the start time of the program.
|
String |
getID()
Gets the ID of this program.
|
int |
getInfo() |
int |
getIntField(ProgramFieldType type)
Gets the value of a int field from the program.
|
String |
getIntFieldAsString(ProgramFieldType type)
Gets the value of a int field as String.
|
int |
getLength()
Gets the length of this program in minutes.
|
PluginAccess[] |
getMarkedByPlugins()
Deprecated.
Use
getMarkerArr() |
Marker[] |
getMarkerArr()
Gets all
Marker s that have marked this program. |
int |
getMinutes()
Gets the minute-component of the start time of the program.
|
int |
getProgramState()
Returns the state of this program.
|
String |
getShortInfo() |
int |
getStartTime()
Gets the the start time of the program in minutes after midnight.
|
String |
getTextField(ProgramFieldType type)
Gets the value of a text field from the program.
|
int |
getTimeField(ProgramFieldType type)
Gets the value of a time field from the program.
|
String |
getTimeFieldAsString(ProgramFieldType type)
Gets the value of a time field as String of the pattern "h:mm".
|
String |
getTimeString() |
String |
getTitle() |
boolean |
isExpired()
Gets whether this program is expired.
|
boolean |
isOnAir()
Gets whether this program is marked as "on air".
|
void |
mark(Marker plugin)
Marks the program for a plugin.
|
void |
mark(Plugin javaPlugin)
Marks the program for a Java plugin.
|
void |
removeChangeListener(ChangeListener listener)
Removes a ChangeListener from the program.
|
void |
unmark(Marker plugin)
Removes the marks from the program for a plugin.
|
void |
unmark(Plugin javaPlugin)
Removes the marks from the program for a Java plugin.
|
static final int INFO_VISION_BLACK_AND_WHITE
static final int INFO_VISION_4_TO_3
static final int INFO_VISION_16_TO_9
static final int INFO_AUDIO_MONO
static final int INFO_AUDIO_STEREO
static final int INFO_AUDIO_DOLBY_SURROUND
static final int INFO_AUDIO_DOLBY_DIGITAL_5_1
static final int INFO_AUDIO_TWO_CHANNEL_TONE
static final int IS_VALID_STATE
static final int WAS_UPDATED_STATE
static final int WAS_DELETED_STATE
static final int INFO_SUBTITLE_FOR_AURALLY_HANDICAPPED
static final int INFO_LIVE
static final int INFO_ORIGINAL_WITH_SUBTITLE
static final int INFO_SUBTITLE
static final int INFO_CATEGORIE_MOVIE
static final int INFO_CATEGORIE_SERIES
static final int INFO_NEW
static final int INFO_AUDIO_DESCRIPTION
static final int INFO_CATEGORIE_NEWS
static final int INFO_CATEGORIE_SHOW
static final int INFO_CATEGORIE_MAGAZINE_INFOTAINMENT
void addChangeListener(ChangeListener listener)
listener
- the ChangeListener to addremoveChangeListener(javax.swing.event.ChangeListener)
void removeChangeListener(ChangeListener listener)
listener
- the ChangeListener to removeaddChangeListener(javax.swing.event.ChangeListener)
String getID()
String getTitle()
String getShortInfo()
String getDescription()
int getStartTime()
int getHours()
int getMinutes()
int getLength()
int getInfo()
String getTimeString()
String getDateString()
Channel getChannel()
Date getDate()
byte[] getBinaryField(ProgramFieldType type)
type
- The type of the wanted field. Must have a binary format.null
, if there is no
value for this field.String getTextField(ProgramFieldType type)
type
- The type of the wanted field. Must have a text format.null
, if there is no
value for this field.int getIntField(ProgramFieldType type)
type
- The type of the wanted field. Must have a int format.-1
, if there is no
value for this field.String getIntFieldAsString(ProgramFieldType type)
type
- The type of the wanted field. Must have a int format.null
, if there is
no value for this field.int getTimeField(ProgramFieldType type)
type
- The type of the wanted field. Must have a time format.-1
, if there is no
value for this field.String getTimeFieldAsString(ProgramFieldType type)
type
- The type of the wanted field. Must have a time format.null
, if there is
no value for this field.int getFieldCount()
Iterator getFieldIterator()
ProgramFieldType
s.void mark(Plugin javaPlugin)
javaPlugin
- The plugin to mark the program for.void unmark(Plugin javaPlugin)
If the program wasn't marked for the plugin, nothing happens.
javaPlugin
- The plugin to remove the mark for.void mark(Marker plugin)
plugin
- The plugin to mark the program for.void unmark(Marker plugin)
If the program wasn't marked for the plugin, nothing happens.
plugin
- The plugin to remove the mark for.boolean isOnAir()
PluginAccess[] getMarkedByPlugins()
getMarkerArr()
PluginAccess
s that have marked this program.boolean isExpired()
int getProgramState()
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)