org.lobobrowser.settings
Class GeneralSettings

java.lang.Object
  extended by org.lobobrowser.settings.GeneralSettings
All Implemented Interfaces:
java.io.Serializable

public class GeneralSettings
extends java.lang.Object
implements java.io.Serializable

General browser settings. This is a singleton class with an instance obtained by calling getInstance().

See Also:
Serialized Form

Method Summary
 java.lang.String getIeVersion()
           
 java.awt.Rectangle getInitialWindowBounds()
           
static GeneralSettings getInstance()
          Gets the class singleton.
 java.lang.String getMozVersion()
           
 java.lang.String[] getStartupURLs()
          Gets URLs that the browser should open when it starts up.
 boolean isSpoofIE()
           
 void restoreDefaults()
           
 void save()
           
 void saveChecked()
           
 void setIeVersion(java.lang.String ieVersion)
           
 void setInitialWindowBounds(java.awt.Rectangle initialWindowBounds)
           
 void setMozVersion(java.lang.String mozVersion)
           
 void setSpoofIE(boolean spoofIE)
           
 void setStartupURLs(java.lang.String[] urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GeneralSettings getInstance()
Gets the class singleton.


save

public void save()

restoreDefaults

public void restoreDefaults()

saveChecked

public void saveChecked()
                 throws java.io.IOException
Throws:
java.io.IOException

getStartupURLs

public java.lang.String[] getStartupURLs()
Gets URLs that the browser should open when it starts up.

See Also:
setStartupURLs(String[])

setStartupURLs

public void setStartupURLs(java.lang.String[] urls)

getInitialWindowBounds

public java.awt.Rectangle getInitialWindowBounds()

setInitialWindowBounds

public void setInitialWindowBounds(java.awt.Rectangle initialWindowBounds)

getIeVersion

public java.lang.String getIeVersion()

setIeVersion

public void setIeVersion(java.lang.String ieVersion)

isSpoofIE

public boolean isSpoofIE()

setSpoofIE

public void setSpoofIE(boolean spoofIE)

getMozVersion

public java.lang.String getMozVersion()

setMozVersion

public void setMozVersion(java.lang.String mozVersion)


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]