TV-Browser 2.7.5 API

tvbrowser.core
Class ChannelUserSettings

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

public class ChannelUserSettings
extends Object

The ChannelUserSettings class holds all information of channel properties which can changed by the user.


Constructor Summary
ChannelUserSettings()
           
 
Method Summary
 String getChannelName()
           
 int getDaylightSavingTimeCorrection()
           
 int getEndTimeLimit()
          Gets the end time limit in minutes of day.
 String getIconFileName()
           
static ChannelUserSettings getSettings(Channel ch)
           
 int getStartTimeLimit()
          Gets the start time limit in minutes of day.
 String getWebPage()
           
 boolean isTimeLimited()
          Gets if the start and end time limit should be used.
 void setChannelName(String channelName)
           
 void setDaylightSavingTimeCorrection(int correction)
           
 void setEndTimeLimit(int endTimeLimit)
          Sets the end time limit to the new value.
 void setIconFileName(String iconFileName)
           
 void setStartTimeLimit(int startTimeLimit)
          Sets the start time limit to the new value.
 void setWebPage(String webpage)
           
 boolean useUserIconFile()
           
 void useUserIconFile(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelUserSettings

public ChannelUserSettings()
Method Detail

getSettings

public static ChannelUserSettings getSettings(Channel ch)

setDaylightSavingTimeCorrection

public void setDaylightSavingTimeCorrection(int correction)

setChannelName

public void setChannelName(String channelName)

setIconFileName

public void setIconFileName(String iconFileName)

useUserIconFile

public void useUserIconFile(boolean b)

getDaylightSavingTimeCorrection

public int getDaylightSavingTimeCorrection()

getChannelName

public String getChannelName()

getIconFileName

public String getIconFileName()

useUserIconFile

public boolean useUserIconFile()

getWebPage

public String getWebPage()

setWebPage

public void setWebPage(String webpage)

getStartTimeLimit

public int getStartTimeLimit()
Gets the start time limit in minutes of day. This is used to exclude programs from the day program that starts before the start time limit.

Returns:
The start time limit in minutes of day.
Since:
2.2.4/2.6

setStartTimeLimit

public void setStartTimeLimit(int startTimeLimit)
Sets the start time limit to the new value.

Parameters:
startTimeLimit - The new value for start time limit in minutes of day.
Since:
2.2.4/2.6

getEndTimeLimit

public int getEndTimeLimit()
Gets the end time limit in minutes of day. This is used to exclude programs from the day program that starts after the end time limit.

Returns:
The start time limit in minutes of day.
Since:
2.2.4/2.6

setEndTimeLimit

public void setEndTimeLimit(int endTimeLimit)
Sets the end time limit to the new value.

Parameters:
endTimeLimit - The new value for end time limit in minutes of day.
Since:
2.2.4/2.6

isTimeLimited

public boolean isTimeLimited()
Gets if the start and end time limit should be used.

Returns:
True if the time limit is used, false otherwise.
Since:
2.2.4/2.6

TV-Browser 2.7.5 API

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