TV-Browser 2.7.5 API

tvbrowser.extras.programinfo
Class ProgramInfo

java.lang.Object
  extended by tvbrowser.extras.programinfo.ProgramInfo

public class ProgramInfo
extends Object

TV-Browser

Author:
Martin Oberhauser

Field Summary
protected static Localizer mLocalizer
           
 
Method Summary
protected  ActionMenu getContextMenuActions(Program program)
           
protected  boolean getExpanded(String key)
           
protected  String getId()
           
static ProgramInfo getInstance()
           
protected  Object[] getOrder()
           
protected  PluginPictureSettings getPictureSettings()
           
protected  String getProperty(String key, String def)
           
 Properties getSettings()
           
protected  String getUserfont(String value, String def)
           
 void handleTvBrowserStartFinished()
          Inits the ProgramInfoDialog.
protected  boolean isShowFunctions()
           
static boolean isShowing()
          return whether the program info is currently shown or is to be shown immediately
protected  boolean isShowTextSearchButton()
           
 int parseNumber(String str)
          Parses a Number from a String.
protected  void setExpanded(String key, boolean value)
           
protected  void setLook()
           
protected  void setOrder()
           
protected  void setSettings(Dimension d)
           
protected  void setShowFunctions(boolean value)
           
protected  void setShowTextSearchButton(boolean value)
           
 void showProgramInformation(Program program)
           
protected  void showProgramInformation(Program program, boolean showSettings)
           
 void store()
          Save settings.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mLocalizer

protected static final Localizer mLocalizer
Method Detail

handleTvBrowserStartFinished

public void handleTvBrowserStartFinished()
Inits the ProgramInfoDialog.


getContextMenuActions

protected ActionMenu getContextMenuActions(Program program)

getInstance

public static ProgramInfo getInstance()
Returns:
An instance of this class

getSettings

public Properties getSettings()
Returns:
Settings

store

public void store()
Save settings.


parseNumber

public int parseNumber(String str)
Parses a Number from a String.

Parameters:
str - Number in String to Parse
Returns:
Number if successfull. Default is 0

showProgramInformation

protected void showProgramInformation(Program program,
                                      boolean showSettings)

setSettings

protected void setSettings(Dimension d)

getExpanded

protected boolean getExpanded(String key)

setExpanded

protected void setExpanded(String key,
                           boolean value)

getProperty

protected String getProperty(String key,
                             String def)

getUserfont

protected String getUserfont(String value,
                             String def)

getOrder

protected Object[] getOrder()

setOrder

protected void setOrder()

setLook

protected void setLook()

setShowFunctions

protected void setShowFunctions(boolean value)

isShowFunctions

protected boolean isShowFunctions()

setShowTextSearchButton

protected void setShowTextSearchButton(boolean value)

isShowTextSearchButton

protected boolean isShowTextSearchButton()

toString

public String toString()
Overrides:
toString in class Object

getId

protected String getId()

getPictureSettings

protected PluginPictureSettings getPictureSettings()

isShowing

public static boolean isShowing()
return whether the program info is currently shown or is to be shown immediately

Returns:

showProgramInformation

public void showProgramInformation(Program program)

TV-Browser 2.7.5 API

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