TV-Browser 2.7.5 API

tvbrowser.core
Class Settings

java.lang.Object
  extended by tvbrowser.core.Settings

public class Settings
extends Object

The Settings class provides access to the settings of the whole application (except the plugins).

Author:
Martin Oberhauser

Field Summary
static int DAILY
           
static int EVERY3DAYS
           
static int GET_DATA_FROM_LOCAL_DISK
           
static int GET_DATA_FROM_SERVER
           
static String INFO_ID
           
static int MAX_COLUMN_WIDTH
          maximum width of the program table columns
static int MIN_COLUMN_WIDTH
          minimum width of the program table columns
static int NEVER
           
static int ONSTARTUP
           
static String PICTURE_ID
           
static StringArrayProperty propAcceptedLicenseArrForServiceIds
          An array with the ids of the TV data service which license was accepted.
static IntProperty propAfternoonTime
          Deprecated.  
static BooleanProperty propAskForAutoDownload
           
static BooleanProperty propAutoDataDownloadEnabled
           
static IntProperty propAutoDownloadPeriod
           
static ChoiceProperty propAutoDownloadType
           
static ShortProperty propAutoDownloadWaitingTime
           
static BooleanProperty propAutoUpdatePlugins
          If the plugin updates should be found automatically
static FontProperty propChannelNameFont
           
static IntProperty propColumnWidth
           
static StringArrayProperty propContextMenuDisabledItems
          All disabled Items of the ContextMenu
static StringArrayProperty propContextMenuOrder
          Order of the Plugins in the Context-Menu.
static StringProperty propCountry
           
static IntProperty propDataServiceAutoUpdateTime
          The time between auto updates of data services
static StringArrayProperty propDataServicesForUpdate
           
static StringArrayProperty propDeactivatedPlugins
          The ID's of the plugins that have been deactivated.
static StringProperty propDefaultContextMenuIf
           
static StringProperty propDefaultFilter
          The user selected default filter
static IntProperty propDefaultNetworkConnectionTimeout
           
static StringArrayProperty propDeleteFilesAtStart
           
static IntProperty propDownloadPeriod
           
static IntProperty propEarlyTime
          Deprecated.  
static BooleanProperty propEnableAntialiasing
           
static IntProperty propEveningTime
          Deprecated.  
static StringProperty propFilterDirectory
           
static DateProperty propFirstStartDate
          Saves the date of the very first TV-Browser start
static StringArrayProperty propHiddenMessageBoxes
          list of hidden message boxes
static StringArrayProperty propHiddenPluginButtons
          Deprecated.  
static BooleanProperty propHttpProxyAuthentifyAtProxy
           
static StringProperty propHttpProxyHost
           
static EncodedStringProperty propHttpProxyPassword
           
static StringProperty propHttpProxyPort
           
static BooleanProperty propHttpProxyUseProxy
           
static StringProperty propHttpProxyUser
           
static StringProperty propIcontheme
          The IconTheme
static BooleanProperty propInternetConnectionCheck
          If the internet connection should be checked before accessing internet
static BooleanProperty propIsPictureShowingDescription
           
static BooleanProperty propIsSearchFieldVisible
          Show the SearchField in the Toolbar
static BooleanProperty propIsSkinLFEnabled
          Deprecated. Deprecated with Version 2.2, now propLookAndFeel is used
static BooleanProperty propIsStatusbarVisible
           
static BooleanProperty propIsTooolbarVisible
           
static BooleanProperty propIsUsingFullscreen
           
static BooleanProperty propIsWindowMaximized
           
static BooleanProperty propJGoodiesShadow
           
static StringProperty propJGoodiesTheme
           
static ColorProperty propKeyboardSelectedColor
          Color for selected Program
static StringProperty propLanguage
           
static DateProperty propLastDownloadDate
           
static DateProperty propLastNTPCheck
          date of last NTP internet time check
static DateProperty propLastPluginsUpdate
           
static StringProperty propLastUsedChannelGroup
          the last active channel group for filtering the channel list
static StringProperty propLastUsedFilter
          the last active program filter
static StringProperty propLastUsedSettingsPath
          the class name of the last settings tab that has been closed with OK before
static StringProperty propLeftSingleClickIf
           
static StringProperty propLogdirectory
           
static StringProperty propLookAndFeel
           
static IntProperty propMiddayTime
          Deprecated.  
static StringProperty propMiddleClickIf
           
static BooleanProperty propMinimizeAfterStartup
           
static BooleanProperty propMouseOver
           
static ColorProperty propMouseOverColor
          Color for Mouse-Over
static IntProperty propNetworkCheckTimeout
           
static BooleanProperty propNowOnRestore
           
static BooleanProperty propNTPTimeCheck
          enable checking date and time via NTP if no TV data can be downloaded
static StringProperty propOneImageBackground
           
static BooleanProperty propOnlyMinimizeWhenWindowClosing
           
static IntProperty propPictureDuration
           
static IntProperty propPictureEndTime
           
static StringArrayProperty propPicturePluginIds
           
static IntProperty propPictureStartTime
           
static IntProperty propPictureType
           
static BooleanProperty propPluginInfoDialogWasShown
          Saves if the plugin info dialog was allready shown
static StringArrayProperty propPluginOrder
          The order of the plugin IDs.
static StringProperty propPluginsDirectory
           
static IntProperty propPluginsPictureSetting
          The setting that contains the global picture settings value
static BooleanProperty propPluginViewIsLeft
          If the plugin view is on the left side and the channel list on the right side.
static ProgramFieldTypeArrayProperty propProgramInfoFields
           
static FontProperty propProgramInfoFont
           
static ColorProperty propProgramPanelForegroundColor
          Color of the foreground of a program pranel
static ColorProperty propProgramPanelMarkedHigherMediumPriorityColor
          Color for Programs marked with HIGHER_MEDIUM_PRIORITY
static ColorProperty propProgramPanelMarkedLowerMediumPriorityColor
          Color for Programs marked with LOWER_MEDIUM_PRIORITY
static ColorProperty propProgramPanelMarkedMaxPriorityColor
          Color for Programs marked with MAX_PRIORITY
static ColorProperty propProgramPanelMarkedMediumPriorityColor
          Color for Programs marked with MEDIUM_PRIORITY
static ColorProperty propProgramPanelMarkedMinPriorityColor
          Color for Programs marked with MIN_PRIORITY
static IntProperty propProgramPanelUsedDefaultMarkPriority
          Used default mark priority for markings of plugins.
static BooleanProperty propProgramPanelUsesExtraSpaceForMarkIcons
          Used to track if a program panel should use addtional space for the mark icons
static BooleanProperty propProgramPanelWithMarkingsShowingBoder
          Used to enable border on marked programs
static ColorProperty propProgramTableBackgroundSingleColor
           
static ColorProperty propProgramTableColorOnAirDark
          Color for Program on Air - This shows how much was shown til now
static ColorProperty propProgramTableColorOnAirLight
          Color for Program on Air - This shows how much is not shown til now
static IntProperty propProgramTableEndOfDay
           
static StringArrayProperty propProgramTableIconPlugins
           
static BooleanProperty propProgramTableMarkedDefaultPriorityShowsColor
          Deprecated. since 2.5.3
static BooleanProperty propProgramTableOnAirProgramsShowingBorder
          Used to enable border on on air programs
static IntProperty propProgramTableStartOfDay
           
static FontProperty propProgramTimeFont
           
static FontProperty propProgramTitleFont
           
static ByteProperty propSelectedChannelCategoryIndex
          Saves the selected channel category filter index
static ShortProperty propSelectedChannelCountryIndex
          Saves the selected channel country filter index
static IntProperty propSettingsDialogDividerLocation
           
static BooleanProperty propShowAssistant
           
static BooleanProperty propShowBrowserOpenDialog
          Show the "The Browser was opened"-Dialog
static BooleanProperty propShowChannelIconsInChannellist
           
static BooleanProperty propShowChannelIconsInProgramTable
           
static BooleanProperty propShowChannelNamesInChannellist
           
static BooleanProperty propShowChannelNamesInProgramTable
           
static BooleanProperty propShowChannels
           
static BooleanProperty propShowChannelTooltipInProgramTable
          show tooltip with large channel icon
static BooleanProperty propShowDatelist
           
static BooleanProperty propShowFilterBar
           
static BooleanProperty propShowPluginView
           
static BooleanProperty propShowTimeButtons
           
static StringProperty propSkinLFThemepack
           
static ColorProperty propSplashBackgroundColor
          Background-Color
static ColorProperty propSplashForegroundColor
          Foreground-Color
static StringProperty propSplashImage
          The Splash-Image
static BooleanProperty propSplashShow
           
static IntProperty propSplashTextPosX
          The X-Position of the Text in the Splash
static IntProperty propSplashTextPosY
          The Y-Position of the Text in the Splash
static ChannelArrayProperty propSubscribedChannels
           
static ChoiceProperty propTableBackgroundStyle
           
static ChoiceProperty propTableLayout
           
static StringProperty propTimeBlockBackground1
           
static StringProperty propTimeBlockBackground2
           
static BooleanProperty propTimeBlockShowWest
           
static IntProperty propTimeBlockSize
           
static StringProperty propTimeBlockWestImage1
           
static StringProperty propTimeBlockWestImage2
           
static IntArrayProperty propTimeButtons
           
static StringProperty propTimeOfDayBackgroundAfternoon
           
static StringProperty propTimeOfDayBackgroundEarly
           
static StringProperty propTimeOfDayBackgroundEdge
           
static StringProperty propTimeOfDayBackgroundEvening
           
static StringProperty propTimeOfDayBackgroundMidday
           
static StringProperty propTimezone
           
static BooleanProperty propTitelAlwaysVisible
           
static StringArrayProperty propToolbarButtons
           
static ChoiceProperty propToolbarButtonStyle
           
static StringProperty propToolbarLocation
           
static BooleanProperty propToolbarUseBigIcons
           
static IntProperty propTrayChannelWidth
           
static BooleanProperty propTrayImportantProgramsContainsDate
           
static BooleanProperty propTrayImportantProgramsContainsIcon
           
static BooleanProperty propTrayImportantProgramsContainsName
           
static BooleanProperty propTrayImportantProgramsContainsTime
           
static BooleanProperty propTrayImportantProgramsContainsToolTip
           
static BooleanProperty propTrayImportantProgramsEnabled
           
static BooleanProperty propTrayImportantProgramsInSubMenu
           
static IntProperty propTrayImportantProgramsPriority
           
static IntProperty propTrayImportantProgramsSize
           
static BooleanProperty propTrayIsEnabled
           
static BooleanProperty propTrayMinimizeTo
           
static BooleanProperty propTrayNowProgramsContainsIcon
           
static BooleanProperty propTrayNowProgramsContainsName
           
static BooleanProperty propTrayNowProgramsContainsTime
           
static BooleanProperty propTrayNowProgramsContainsToolTip
           
static BooleanProperty propTrayNowProgramsEnabled
           
static BooleanProperty propTrayNowProgramsInSubMenu
           
static BooleanProperty propTrayOnTimeProgramsContainsIcon
           
static BooleanProperty propTrayOnTimeProgramsContainsName
           
static BooleanProperty propTrayOnTimeProgramsContainsTime
           
static BooleanProperty propTrayOnTimeProgramsContainsToolTip
           
static ColorProperty propTrayOnTimeProgramsDarkBackground
           
static BooleanProperty propTrayOnTimeProgramsEnabled
           
static BooleanProperty propTrayOnTimeProgramsInSubMenu
           
static ColorProperty propTrayOnTimeProgramsLightBackground
           
static BooleanProperty propTrayOnTimeProgramsShowProgress
           
static BooleanProperty propTraySoonProgramsContainsIcon
           
static BooleanProperty propTraySoonProgramsContainsName
           
static BooleanProperty propTraySoonProgramsContainsTime
           
static BooleanProperty propTraySoonProgramsContainsToolTip
           
static BooleanProperty propTraySoonProgramsEnabled
           
static ChannelArrayProperty propTraySpecialChannels
           
static BooleanProperty propTrayUseSpecialChannels
           
static VersionProperty propTVBrowserVersion
           
static BooleanProperty propTVBrowserVersionIsStable
           
static StringProperty propTVDataDirectory
           
static BooleanProperty propTwelveHourFormat
          Use 12-Hour Format?
static StringArrayProperty propUsedChannelGroups
           
static BooleanProperty propUseDefaultFonts
           
static StringProperty propUserDefinedWebbrowser
           
static StringProperty propVariant
           
static SplitViewProperty propViewDateChannel
           
static SplitViewProperty propViewMainframe
           
static SplitViewProperty propViewNavigation
           
static SplitViewProperty propViewRoot
           
static IntProperty propWindowHeight
           
static IntProperty propWindowWidth
           
static IntProperty propWindowX
           
static IntProperty propWindowY
           
static int WEEKLY
           
 
Constructor Summary
Settings()
           
 
Method Summary
static DefaultSettings getDefaultSettings()
          Returns the Default-Settings.
static String getTimePattern()
           
static String getUserDirectoryName()
          Returns the user directory.
static String getUserSettingsDirName()
           
static void handleChangedSettings()
           
static void layoutWindow(String windowId, Window window)
          Sets the window position and size for the given window with the values of the given id.
static void layoutWindow(String windowId, Window window, Dimension defaultSize)
          Sets the window position and size for the given window with the values of the given id.
static void loadSettings()
          Reads the settings from settings file.
static void storeSettings(boolean log)
          Store all settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO_ID

public static final String INFO_ID
See Also:
Constant Field Values

PICTURE_ID

public static final String PICTURE_ID
See Also:
Constant Field Values

GET_DATA_FROM_SERVER

public static final int GET_DATA_FROM_SERVER
See Also:
Constant Field Values

GET_DATA_FROM_LOCAL_DISK

public static final int GET_DATA_FROM_LOCAL_DISK
See Also:
Constant Field Values

NEVER

public static final int NEVER
See Also:
Constant Field Values

DAILY

public static final int DAILY
See Also:
Constant Field Values

ONSTARTUP

public static final int ONSTARTUP
See Also:
Constant Field Values

EVERY3DAYS

public static final int EVERY3DAYS
See Also:
Constant Field Values

WEEKLY

public static final int WEEKLY
See Also:
Constant Field Values

propTVBrowserVersion

public static final VersionProperty propTVBrowserVersion

propTVBrowserVersionIsStable

public static final BooleanProperty propTVBrowserVersionIsStable

propUseDefaultFonts

public static final BooleanProperty propUseDefaultFonts

propEnableAntialiasing

public static final BooleanProperty propEnableAntialiasing

propTVDataDirectory

public static final StringProperty propTVDataDirectory

propPluginsDirectory

public static final StringProperty propPluginsDirectory

propFilterDirectory

public static final StringProperty propFilterDirectory

propSubscribedChannels

public static final ChannelArrayProperty propSubscribedChannels

propEarlyTime

public static final IntProperty propEarlyTime
Deprecated. 

propMiddayTime

public static final IntProperty propMiddayTime
Deprecated. 

propAfternoonTime

public static final IntProperty propAfternoonTime
Deprecated. 

propEveningTime

public static final IntProperty propEveningTime
Deprecated. 

propTableLayout

public static final ChoiceProperty propTableLayout

propTableBackgroundStyle

public static final ChoiceProperty propTableBackgroundStyle

propOneImageBackground

public static final StringProperty propOneImageBackground

propTimeBlockSize

public static final IntProperty propTimeBlockSize

propTimeBlockBackground1

public static final StringProperty propTimeBlockBackground1

propTimeBlockBackground2

public static final StringProperty propTimeBlockBackground2

propTimeBlockWestImage1

public static final StringProperty propTimeBlockWestImage1

propTimeBlockWestImage2

public static final StringProperty propTimeBlockWestImage2

propTimeBlockShowWest

public static final BooleanProperty propTimeBlockShowWest

propTimeOfDayBackgroundEdge

public static final StringProperty propTimeOfDayBackgroundEdge

propTimeOfDayBackgroundEarly

public static final StringProperty propTimeOfDayBackgroundEarly

propTimeOfDayBackgroundMidday

public static final StringProperty propTimeOfDayBackgroundMidday

propTimeOfDayBackgroundAfternoon

public static final StringProperty propTimeOfDayBackgroundAfternoon

propTimeOfDayBackgroundEvening

public static final StringProperty propTimeOfDayBackgroundEvening

propShowAssistant

public static final BooleanProperty propShowAssistant

propUserDefinedWebbrowser

public static final StringProperty propUserDefinedWebbrowser

propProgramTableBackgroundSingleColor

public static final ColorProperty propProgramTableBackgroundSingleColor

propTrayIsEnabled

public static final BooleanProperty propTrayIsEnabled

propTrayMinimizeTo

public static final BooleanProperty propTrayMinimizeTo

propOnlyMinimizeWhenWindowClosing

public static final BooleanProperty propOnlyMinimizeWhenWindowClosing

propNowOnRestore

public static final BooleanProperty propNowOnRestore

propTrayUseSpecialChannels

public static final BooleanProperty propTrayUseSpecialChannels

propTraySpecialChannels

public static final ChannelArrayProperty propTraySpecialChannels

propTrayChannelWidth

public static final IntProperty propTrayChannelWidth

propTrayOnTimeProgramsEnabled

public static final BooleanProperty propTrayOnTimeProgramsEnabled

propTrayOnTimeProgramsInSubMenu

public static final BooleanProperty propTrayOnTimeProgramsInSubMenu

propTrayOnTimeProgramsContainsTime

public static final BooleanProperty propTrayOnTimeProgramsContainsTime

propTrayOnTimeProgramsContainsIcon

public static final BooleanProperty propTrayOnTimeProgramsContainsIcon

propTrayOnTimeProgramsContainsName

public static final BooleanProperty propTrayOnTimeProgramsContainsName

propTrayOnTimeProgramsContainsToolTip

public static final BooleanProperty propTrayOnTimeProgramsContainsToolTip

propTrayOnTimeProgramsShowProgress

public static final BooleanProperty propTrayOnTimeProgramsShowProgress

propTrayOnTimeProgramsDarkBackground

public static final ColorProperty propTrayOnTimeProgramsDarkBackground

propTrayOnTimeProgramsLightBackground

public static final ColorProperty propTrayOnTimeProgramsLightBackground

propTrayNowProgramsEnabled

public static final BooleanProperty propTrayNowProgramsEnabled

propTrayNowProgramsInSubMenu

public static final BooleanProperty propTrayNowProgramsInSubMenu

propTrayNowProgramsContainsTime

public static final BooleanProperty propTrayNowProgramsContainsTime

propTrayNowProgramsContainsIcon

public static final BooleanProperty propTrayNowProgramsContainsIcon

propTrayNowProgramsContainsName

public static final BooleanProperty propTrayNowProgramsContainsName

propTrayNowProgramsContainsToolTip

public static final BooleanProperty propTrayNowProgramsContainsToolTip

propTraySoonProgramsEnabled

public static final BooleanProperty propTraySoonProgramsEnabled

propTraySoonProgramsContainsTime

public static final BooleanProperty propTraySoonProgramsContainsTime

propTraySoonProgramsContainsIcon

public static final BooleanProperty propTraySoonProgramsContainsIcon

propTraySoonProgramsContainsName

public static final BooleanProperty propTraySoonProgramsContainsName

propTraySoonProgramsContainsToolTip

public static final BooleanProperty propTraySoonProgramsContainsToolTip

propTrayImportantProgramsPriority

public static final IntProperty propTrayImportantProgramsPriority

propTrayImportantProgramsEnabled

public static final BooleanProperty propTrayImportantProgramsEnabled

propTrayImportantProgramsInSubMenu

public static final BooleanProperty propTrayImportantProgramsInSubMenu

propTrayImportantProgramsSize

public static final IntProperty propTrayImportantProgramsSize

propTrayImportantProgramsContainsIcon

public static final BooleanProperty propTrayImportantProgramsContainsIcon

propTrayImportantProgramsContainsName

public static final BooleanProperty propTrayImportantProgramsContainsName

propTrayImportantProgramsContainsDate

public static final BooleanProperty propTrayImportantProgramsContainsDate

propTrayImportantProgramsContainsTime

public static final BooleanProperty propTrayImportantProgramsContainsTime

propTrayImportantProgramsContainsToolTip

public static final BooleanProperty propTrayImportantProgramsContainsToolTip

propToolbarButtonStyle

public static final ChoiceProperty propToolbarButtonStyle

propIsTooolbarVisible

public static final BooleanProperty propIsTooolbarVisible

propIsStatusbarVisible

public static final BooleanProperty propIsStatusbarVisible

propIsSkinLFEnabled

public static final BooleanProperty propIsSkinLFEnabled
Deprecated. Deprecated with Version 2.2, now propLookAndFeel is used

propSkinLFThemepack

public static final StringProperty propSkinLFThemepack

propJGoodiesTheme

public static final StringProperty propJGoodiesTheme

propJGoodiesShadow

public static final BooleanProperty propJGoodiesShadow

propLookAndFeel

public static final StringProperty propLookAndFeel

propColumnWidth

public static final IntProperty propColumnWidth

propTimeButtons

public static final IntArrayProperty propTimeButtons

propHiddenPluginButtons

public static final StringArrayProperty propHiddenPluginButtons
Deprecated. 

propToolbarButtons

public static final StringArrayProperty propToolbarButtons

propToolbarUseBigIcons

public static final BooleanProperty propToolbarUseBigIcons

propToolbarLocation

public static final StringProperty propToolbarLocation

propLeftSingleClickIf

public static final StringProperty propLeftSingleClickIf

propDefaultContextMenuIf

public static final StringProperty propDefaultContextMenuIf

propMiddleClickIf

public static final StringProperty propMiddleClickIf

propLastUsedFilter

public static final StringProperty propLastUsedFilter
the last active program filter


propLastUsedChannelGroup

public static final StringProperty propLastUsedChannelGroup
the last active channel group for filtering the channel list


propPluginOrder

public static final StringArrayProperty propPluginOrder
The order of the plugin IDs.

In former times this property hold the list of plugin class names that should be activated on startup (in the right order). Now it holds IDs, not class names and activation is controlled by propDeactivatedPlugins.


propContextMenuOrder

public static final StringArrayProperty propContextMenuOrder
Order of the Plugins in the Context-Menu.


propContextMenuDisabledItems

public static final StringArrayProperty propContextMenuDisabledItems
All disabled Items of the ContextMenu


propDeactivatedPlugins

public static final StringArrayProperty propDeactivatedPlugins
The ID's of the plugins that have been deactivated.

NOTE: By remembering the deactivated plugins rather the activated plugins new plugins are activated automatically.


propDownloadPeriod

public static final IntProperty propDownloadPeriod

propAutoDownloadType

public static final ChoiceProperty propAutoDownloadType

propAutoDownloadPeriod

public static final IntProperty propAutoDownloadPeriod

propAskForAutoDownload

public static final BooleanProperty propAskForAutoDownload

propLastDownloadDate

public static final DateProperty propLastDownloadDate

propProgramTitleFont

public static final FontProperty propProgramTitleFont

propProgramInfoFont

public static final FontProperty propProgramInfoFont

propChannelNameFont

public static final FontProperty propChannelNameFont

propProgramTimeFont

public static final FontProperty propProgramTimeFont

propProgramInfoFields

public static final ProgramFieldTypeArrayProperty propProgramInfoFields

propProgramTableIconPlugins

public static final StringArrayProperty propProgramTableIconPlugins

propProgramTableOnAirProgramsShowingBorder

public static final BooleanProperty propProgramTableOnAirProgramsShowingBorder
Used to enable border on on air programs


propProgramTableColorOnAirDark

public static final ColorProperty propProgramTableColorOnAirDark
Color for Program on Air - This shows how much was shown til now


propProgramTableColorOnAirLight

public static final ColorProperty propProgramTableColorOnAirLight
Color for Program on Air - This shows how much is not shown til now


propProgramTableMarkedDefaultPriorityShowsColor

public static final BooleanProperty propProgramTableMarkedDefaultPriorityShowsColor
Deprecated. since 2.5.3
Used to enable color marking for default mark priority


propProgramPanelUsesExtraSpaceForMarkIcons

public static final BooleanProperty propProgramPanelUsesExtraSpaceForMarkIcons
Used to track if a program panel should use addtional space for the mark icons


propProgramPanelWithMarkingsShowingBoder

public static final BooleanProperty propProgramPanelWithMarkingsShowingBoder
Used to enable border on marked programs


propProgramPanelUsedDefaultMarkPriority

public static final IntProperty propProgramPanelUsedDefaultMarkPriority
Used default mark priority for markings of plugins.


propProgramPanelMarkedMinPriorityColor

public static final ColorProperty propProgramPanelMarkedMinPriorityColor
Color for Programs marked with MIN_PRIORITY


propProgramPanelMarkedLowerMediumPriorityColor

public static final ColorProperty propProgramPanelMarkedLowerMediumPriorityColor
Color for Programs marked with LOWER_MEDIUM_PRIORITY


propProgramPanelMarkedMediumPriorityColor

public static final ColorProperty propProgramPanelMarkedMediumPriorityColor
Color for Programs marked with MEDIUM_PRIORITY


propProgramPanelMarkedHigherMediumPriorityColor

public static final ColorProperty propProgramPanelMarkedHigherMediumPriorityColor
Color for Programs marked with HIGHER_MEDIUM_PRIORITY


propProgramPanelMarkedMaxPriorityColor

public static final ColorProperty propProgramPanelMarkedMaxPriorityColor
Color for Programs marked with MAX_PRIORITY


propProgramPanelForegroundColor

public static final ColorProperty propProgramPanelForegroundColor
Color of the foreground of a program pranel


propMouseOver

public static final BooleanProperty propMouseOver

propMouseOverColor

public static final ColorProperty propMouseOverColor
Color for Mouse-Over


propKeyboardSelectedColor

public static final ColorProperty propKeyboardSelectedColor
Color for selected Program


propTitelAlwaysVisible

public static final BooleanProperty propTitelAlwaysVisible

propIsWindowMaximized

public static final BooleanProperty propIsWindowMaximized

propIsUsingFullscreen

public static final BooleanProperty propIsUsingFullscreen

propWindowWidth

public static final IntProperty propWindowWidth

propWindowHeight

public static final IntProperty propWindowHeight

propWindowX

public static final IntProperty propWindowX

propWindowY

public static final IntProperty propWindowY

propSettingsDialogDividerLocation

public static final IntProperty propSettingsDialogDividerLocation

propProgramTableStartOfDay

public static final IntProperty propProgramTableStartOfDay

propProgramTableEndOfDay

public static final IntProperty propProgramTableEndOfDay

propHttpProxyUseProxy

public static final BooleanProperty propHttpProxyUseProxy

propDefaultNetworkConnectionTimeout

public static final IntProperty propDefaultNetworkConnectionTimeout

propNetworkCheckTimeout

public static final IntProperty propNetworkCheckTimeout

propPictureType

public static final IntProperty propPictureType

propPicturePluginIds

public static final StringArrayProperty propPicturePluginIds

propPictureStartTime

public static final IntProperty propPictureStartTime

propPictureEndTime

public static final IntProperty propPictureEndTime

propPictureDuration

public static final IntProperty propPictureDuration

propIsPictureShowingDescription

public static final BooleanProperty propIsPictureShowingDescription

propHttpProxyHost

public static final StringProperty propHttpProxyHost

propHttpProxyPort

public static final StringProperty propHttpProxyPort

propHttpProxyAuthentifyAtProxy

public static final BooleanProperty propHttpProxyAuthentifyAtProxy

propHttpProxyUser

public static final StringProperty propHttpProxyUser

propHttpProxyPassword

public static final EncodedStringProperty propHttpProxyPassword

propDataServicesForUpdate

public static final StringArrayProperty propDataServicesForUpdate

propShowPluginView

public static final BooleanProperty propShowPluginView

propShowTimeButtons

public static final BooleanProperty propShowTimeButtons

propShowChannels

public static final BooleanProperty propShowChannels

propShowDatelist

public static final BooleanProperty propShowDatelist

propShowFilterBar

public static final BooleanProperty propShowFilterBar

propViewRoot

public static final SplitViewProperty propViewRoot

propViewMainframe

public static final SplitViewProperty propViewMainframe

propViewNavigation

public static final SplitViewProperty propViewNavigation

propViewDateChannel

public static final SplitViewProperty propViewDateChannel

propSplashShow

public static final BooleanProperty propSplashShow

propSplashImage

public static final StringProperty propSplashImage
The Splash-Image


propSplashTextPosX

public static final IntProperty propSplashTextPosX
The X-Position of the Text in the Splash


propSplashTextPosY

public static final IntProperty propSplashTextPosY
The Y-Position of the Text in the Splash


propSplashBackgroundColor

public static final ColorProperty propSplashBackgroundColor
Background-Color


propSplashForegroundColor

public static final ColorProperty propSplashForegroundColor
Foreground-Color


propLanguage

public static final StringProperty propLanguage

propCountry

public static final StringProperty propCountry

propVariant

public static final StringProperty propVariant

propTimezone

public static final StringProperty propTimezone

propMinimizeAfterStartup

public static final BooleanProperty propMinimizeAfterStartup

propLogdirectory

public static final StringProperty propLogdirectory

propShowChannelIconsInProgramTable

public static final BooleanProperty propShowChannelIconsInProgramTable

propShowChannelNamesInProgramTable

public static final BooleanProperty propShowChannelNamesInProgramTable

propShowChannelIconsInChannellist

public static final BooleanProperty propShowChannelIconsInChannellist

propShowChannelNamesInChannellist

public static final BooleanProperty propShowChannelNamesInChannellist

propUsedChannelGroups

public static final StringArrayProperty propUsedChannelGroups

propDeleteFilesAtStart

public static final StringArrayProperty propDeleteFilesAtStart

propIcontheme

public static final StringProperty propIcontheme
The IconTheme


propShowBrowserOpenDialog

public static final BooleanProperty propShowBrowserOpenDialog
Show the "The Browser was opened"-Dialog


propIsSearchFieldVisible

public static final BooleanProperty propIsSearchFieldVisible
Show the SearchField in the Toolbar


propTwelveHourFormat

public static final BooleanProperty propTwelveHourFormat
Use 12-Hour Format?


propAcceptedLicenseArrForServiceIds

public static final StringArrayProperty propAcceptedLicenseArrForServiceIds
An array with the ids of the TV data service which license was accepted.


propLastUsedSettingsPath

public static final StringProperty propLastUsedSettingsPath
the class name of the last settings tab that has been closed with OK before


MAX_COLUMN_WIDTH

public static final int MAX_COLUMN_WIDTH
maximum width of the program table columns

See Also:
Constant Field Values

MIN_COLUMN_WIDTH

public static final int MIN_COLUMN_WIDTH
minimum width of the program table columns

See Also:
Constant Field Values

propPluginsPictureSetting

public static final IntProperty propPluginsPictureSetting
The setting that contains the global picture settings value


propDefaultFilter

public static final StringProperty propDefaultFilter
The user selected default filter


propAutoUpdatePlugins

public static final BooleanProperty propAutoUpdatePlugins
If the plugin updates should be found automatically


propLastPluginsUpdate

public static final DateProperty propLastPluginsUpdate

propNTPTimeCheck

public static final BooleanProperty propNTPTimeCheck
enable checking date and time via NTP if no TV data can be downloaded


propLastNTPCheck

public static final DateProperty propLastNTPCheck
date of last NTP internet time check


propInternetConnectionCheck

public static final BooleanProperty propInternetConnectionCheck
If the internet connection should be checked before accessing internet


propPluginViewIsLeft

public static final BooleanProperty propPluginViewIsLeft
If the plugin view is on the left side and the channel list on the right side.

Since:
2.7

propDataServiceAutoUpdateTime

public static final IntProperty propDataServiceAutoUpdateTime
The time between auto updates of data services

Since:
2.7

propHiddenMessageBoxes

public static final StringArrayProperty propHiddenMessageBoxes
list of hidden message boxes

Since:
2.7

propShowChannelTooltipInProgramTable

public static final BooleanProperty propShowChannelTooltipInProgramTable
show tooltip with large channel icon

Since:
2.7

propFirstStartDate

public static final DateProperty propFirstStartDate
Saves the date of the very first TV-Browser start


propPluginInfoDialogWasShown

public static final BooleanProperty propPluginInfoDialogWasShown
Saves if the plugin info dialog was allready shown


propSelectedChannelCategoryIndex

public static final ByteProperty propSelectedChannelCategoryIndex
Saves the selected channel category filter index


propSelectedChannelCountryIndex

public static final ShortProperty propSelectedChannelCountryIndex
Saves the selected channel country filter index


propAutoDataDownloadEnabled

public static final BooleanProperty propAutoDataDownloadEnabled

propAutoDownloadWaitingTime

public static final ShortProperty propAutoDownloadWaitingTime
Constructor Detail

Settings

public Settings()
Method Detail

getDefaultSettings

public static DefaultSettings getDefaultSettings()
Returns the Default-Settings. These Settings are stored in the mac, windows and linux.properties-Files

Returns:
Default-Settings

getUserDirectoryName

public static String getUserDirectoryName()
Returns the user directory. (e.g.: ~/.tvbrowser/)


getUserSettingsDirName

public static String getUserSettingsDirName()

storeSettings

public static void storeSettings(boolean log)
                          throws TvBrowserException
Store all settings. This method is called on quitting the application.

Parameters:
log - If it should be written into the log.
Throws:
TvBrowserException - Exception while saving the settings

loadSettings

public static void loadSettings()
Reads the settings from settings file. If there is no settings file, default settings are used.


handleChangedSettings

public static void handleChangedSettings()

getTimePattern

public static String getTimePattern()
Returns:
The Time-Pattern for SimpleFormatter's

layoutWindow

public static final void layoutWindow(String windowId,
                                      Window window)
Sets the window position and size for the given window with the values of the given id.

Parameters:
windowId - The id of the values to set.
window - The window to layout.
Since:
2.7

layoutWindow

public static final void layoutWindow(String windowId,
                                      Window window,
                                      Dimension defaultSize)
Sets the window position and size for the given window with the values of the given id.

Parameters:
windowId - The id of the values to set.
window - The window to layout.
defaultSize - The default size for the window.
Since:
2.7

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)