Module tvbrowser
Package util.program

Class ProgramTextCreator.Configuration

  • Enclosing class:
    ProgramTextCreator

    public static final class ProgramTextCreator.Configuration
    extends java.lang.Object
    Class with configuration for creation of program text.
    Author:
    René Mach
    • Constructor Detail

      • Configuration

        public Configuration​(java.lang.Object[] fieldArr,
                             java.awt.Font titleFont,
                             java.awt.Font bodyFont,
                             ProgramPanelSettings settings,
                             boolean showHelpLinks)
        Parameters:
        fieldArr - The object array with the field types.
        titleFont - The title Font.
        bodyFont - The body Font.
        settings - Settings of the ProgramPanel
        showHelpLinks - Show the Help-Links (Quality of Data, ShowView)
    • Method Detail

      • setZoom

        public void setZoom​(int zoom)
        Parameters:
        zoom - The zoom value for the picture in percent HINT: 100 = original size
      • setUseThemeColors

        public void setUseThemeColors​(boolean useThemeColors)
        Parameters:
        useThemeColors - If the theme colors should be used in the HTML layout.
      • setShowHelpLinks

        public void setShowHelpLinks​(boolean showHelpLinks)
        Parameters:
        showHelpLinks - If the help links should be shown.
      • setShowPersonLinks

        public void setShowPersonLinks​(boolean showPersonLinks)
        Parameters:
        showPersonLinks - If persons should be linked.
      • setShowPluginIcons

        public void setShowPluginIcons​(boolean showPluginIcons)
        Parameters:
        showPluginIcons - If the plugin icons should be shown.
      • setShowShortDescriptionOnlyIfNoDescription

        public void setShowShortDescriptionOnlyIfNoDescription​(boolean showShortDescriptionOnlyIfNoDescription)
        Parameters:
        showShortDescriptionOnlyIfNoDescription - If the short description should only be shown, if no long description is available.