util.program
Class ProgramTextCreator
java.lang.Object
util.program.ProgramTextCreator
public class ProgramTextCreator
- extends Object
Creates the String for the ProgramInfoDialog
|
Method Summary |
static String |
createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
boolean showImage,
boolean showHelpLinks)
|
static String |
createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
PluginPictureSettings settings,
boolean showHelpLinks,
int zoom)
|
static String |
createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
ProgramPanelSettings settings,
boolean showHelpLinks,
int zoom)
|
static String |
createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
ProgramPanelSettings settings,
boolean showHelpLinks,
int zoom,
boolean showPluginIcons)
|
static Object[] |
getDefaultOrder()
|
static String |
getDurationTypeString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TVBROWSER_URL_PROTOCOL
public static final String TVBROWSER_URL_PROTOCOL
- The used link protocol for actor links
- See Also:
- Constant Field Values
ProgramTextCreator
public ProgramTextCreator()
createInfoText
public static String createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
boolean showImage,
boolean showHelpLinks)
- Parameters:
prog - The Program to showdoc - The HTMLDocument.fieldArr - The object array with the field types.tFont - The title Font.bFont - The body Font.showImage - If the image should be shown if it is available.showHelpLinks - Show the Help-Links (Quality of Data, custom information)
- Returns:
- The HTML String.
createInfoText
public static String createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
ProgramPanelSettings settings,
boolean showHelpLinks,
int zoom)
- Parameters:
prog - The Program to showdoc - The HTMLDocument.fieldArr - The object array with the field types.tFont - The title Font.bFont - The body Font.settings - Settings of the ProgramPanelshowHelpLinks - Show the Help-Links (Quality of Data, custom information)zoom - The zoom value for the picture.
- Returns:
- The HTML String.
- Since:
- 2.2.2
createInfoText
public static String createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
PluginPictureSettings settings,
boolean showHelpLinks,
int zoom)
- Parameters:
prog - The Program to showdoc - The HTMLDocument.fieldArr - The object array with the field types.tFont - The title Font.bFont - The body Font.settings - Settings of the ProgramPanelshowHelpLinks - Show the Help-Links (Quality of Data, custom information)zoom - The zoom value for the picture.
- Returns:
- The HTML String.
- Since:
- 2.6
createInfoText
public static String createInfoText(Program prog,
ExtendedHTMLDocument doc,
Object[] fieldArr,
Font tFont,
Font bFont,
ProgramPanelSettings settings,
boolean showHelpLinks,
int zoom,
boolean showPluginIcons)
- Parameters:
prog - The Program to showdoc - The HTMLDocument.fieldArr - The object array with the field types.tFont - The title Font.bFont - The body Font.settings - Settings of the ProgramPanelshowHelpLinks - Show the Help-Links (Quality of Data, custom information)zoom - The zoom value for the picture.showPluginIcons - If the plugin icons should be shown.
- Returns:
- The HTML String.
- Since:
- 2.5.3
getDefaultOrder
public static Object[] getDefaultOrder()
- Returns:
- The default order of the entries.
getDurationTypeString
public static String getDurationTypeString()
- Returns:
- The String for the duration/end of a program.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)