- java.lang.Object
-
- util.program.ProgramTextCreator
-
public class ProgramTextCreator extends java.lang.Object
Creates the String for the ProgramInfoDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProgramTextCreator.Configuration
Class with configuration for creation of program text.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TVBROWSER_URL_PROTOCOL
The used link protocol for actor links
-
Constructor Summary
Constructors Constructor Description ProgramTextCreator()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, boolean showImage, boolean showHelpLinks)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, PluginPictureSettings settings, boolean showHelpLinks, int zoom)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons, boolean showPersonLinks)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons, boolean showPersonLinks, boolean useThemeColors)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.static java.lang.String
createInfoText(Program prog, ExtendedHTMLDocument doc, ProgramTextCreator.Configuration config)
static java.lang.Object[]
getDefaultOrder()
static ProgramInfo[]
getDefaultOrderOfActivatedPluginInfo()
static java.lang.Object[]
getDefaultOrderWithActivatedPluginInfo()
static java.lang.String
getDurationTypeString()
-
-
-
Field Detail
-
TVBROWSER_URL_PROTOCOL
public static final java.lang.String TVBROWSER_URL_PROTOCOL
The used link protocol for actor links- See Also:
- Constant Field Values
-
-
Method Detail
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, boolean showImage, boolean showHelpLinks)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)- Returns:
- The HTML String.
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)zoom
- The zoom value for the picture.- Returns:
- The HTML String.
- Since:
- 2.2.2
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, PluginPictureSettings settings, boolean showHelpLinks, int zoom)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)zoom
- The zoom value for the picture.- Returns:
- The HTML String.
- Since:
- 2.6
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)zoom
- The zoom value for the picture.showPluginIcons
- If the plugin icons should be shown.- Returns:
- The HTML String.
- Since:
- 2.5.3
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons, boolean showPersonLinks)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)zoom
- The zoom value for the picture.showPluginIcons
- If the plugin icons should be shown.showPersonLinks
- If person links should be shown.- Returns:
- The HTML String.
- Since:
- 3.0
-
createInfoText
@Deprecated(since="3.4.5") public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, java.lang.Object[] fieldArr, java.awt.Font tFont, java.awt.Font bFont, ProgramPanelSettings settings, boolean showHelpLinks, int zoom, boolean showPluginIcons, boolean showPersonLinks, boolean useThemeColors)
Deprecated.since 3.4.5 usecreateInfoText(Program, ExtendedHTMLDocument, Configuration)
instead.- 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, ShowView)zoom
- The zoom value for the picture.showPluginIcons
- If the plugin icons should be shown.showPersonLinks
- If person links should be shown.useThemeColors
- If theme colors should be used.- Returns:
- The HTML String.
- Since:
- 3.1
-
createInfoText
public static java.lang.String createInfoText(Program prog, ExtendedHTMLDocument doc, ProgramTextCreator.Configuration config)
- Parameters:
prog
- The Program to showdoc
- The HTMLDocument.config
- The configuration for creating of the info text.- Returns:
- The HTML String.
- Since:
- 3.4.5
-
getDefaultOrder
public static java.lang.Object[] getDefaultOrder()
- Returns:
- The default order of the entries.
-
getDefaultOrderOfActivatedPluginInfo
public static ProgramInfo[] getDefaultOrderOfActivatedPluginInfo()
-
getDefaultOrderWithActivatedPluginInfo
public static java.lang.Object[] getDefaultOrderWithActivatedPluginInfo()
-
getDurationTypeString
public static java.lang.String getDurationTypeString()
- Returns:
- The String for the duration/end of a program.
-
-