net.sourceforge.rssowl.controller.properties
Class PropertyChangeManager
java.lang.Object
net.sourceforge.rssowl.controller.properties.PropertyChangeManager
- public class PropertyChangeManager
- extends Object
The PropertyChangeManager watches all settings the user has made in the
PreferencesDialog and saves the settings after exit with click on "OK"
Button. If the user leaves without pressing "OK", the settings are no longer
used and removed.
- Version:
- 1.1.3
- Author:
- Benjamin Pasero
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
amphetaRateId
private String amphetaRateId
amphetaRatePassword
private String amphetaRatePassword
amphetaRateUsername
private String amphetaRateUsername
animateNewsPopup
private boolean animateNewsPopup
autoCloseNewsPopup
private boolean autoCloseNewsPopup
autoOpenEachNews
private boolean autoOpenEachNews
autoOpenEmptyNews
private boolean autoOpenEmptyNews
autoSortNews
private boolean autoSortNews
blockPopups
private boolean blockPopups
bloggerArguments
private String bloggerArguments
bloggerPath
private String bloggerPath
checkForUpdate
private boolean checkForUpdate
confirmBlogrollDeletion
private boolean confirmBlogrollDeletion
confirmCategoryDeletion
private boolean confirmCategoryDeletion
confirmFavoriteDeletion
private boolean confirmFavoriteDeletion
connectionTimeout
private int connectionTimeout
customBrowserArguments
private String customBrowserArguments
customBrowserPath
private String customBrowserPath
dialogFont
private org.eclipse.swt.graphics.Font dialogFont
displaySingleTab
private boolean displaySingleTab
favDefaultAutoReloadInterval
private int favDefaultAutoReloadInterval
favDefaultOpenOnStartup
private boolean favDefaultOpenOnStartup
favDefaultReloadOnStartup
private boolean favDefaultReloadOnStartup
focusNewTabs
private boolean focusNewTabs
headerFont
private org.eclipse.swt.graphics.Font headerFont
hotkeys
private Hashtable hotkeys
htmlFormatMail
private boolean htmlFormatMail
isDoubleClickOpen
private boolean isDoubleClickOpen
isThreeColumnGUI
private boolean isThreeColumnGUI
linkColor
private org.eclipse.swt.graphics.RGB linkColor
localCacheFeeds
private boolean localCacheFeeds
mailBody
private String mailBody
mailSubject
private String mailSubject
markAllReadOnMinimize
private boolean markAllReadOnMinimize
markFeedReadOnTabClose
private boolean markFeedReadOnTabClose
maxConnectionCount
private int maxConnectionCount
openBrowserExtern
private boolean openBrowserExtern
openBrowserInNewTab
private boolean openBrowserInNewTab
proxySettingsSave
private Hashtable proxySettingsSave
reopenFeeds
private boolean reopenFeeds
rssOwlGui
private GUI rssOwlGui
selectedEncoding
private String selectedEncoding
selectedLanguage
private String selectedLanguage
showChannelInfo
private boolean showChannelInfo
showErrors
private boolean showErrors
showSystrayIcon
private boolean showSystrayIcon
showTabCloseButton
private boolean showTabCloseButton
showTrayPopup
private boolean showTrayPopup
simpleTabs
private boolean simpleTabs
sortOrder
private Vector sortOrder
syntaxHighlightColor
private org.eclipse.swt.graphics.RGB syntaxHighlightColor
tableFont
private org.eclipse.swt.graphics.Font tableFont
textFont
private org.eclipse.swt.graphics.Font textFont
trayOnExit
private boolean trayOnExit
trayOnStartup
private boolean trayOnStartup
treeFont
private org.eclipse.swt.graphics.Font treeFont
updateProxyForAllFavorites
private boolean updateProxyForAllFavorites
useAuthentification
private boolean useAuthentification
useBrowserForNewsText
private boolean useBrowserForNewsText
PropertyChangeManager
public PropertyChangeManager(GUI rssOwlGui)
- Instantiates a new PropertyChangeManager
- Parameters:
rssOwlGui
- The Maincontroller
getAmphetaRateId
public String getAmphetaRateId()
- Returns:
- Returns the amphetaRateId.
getAmphetaRatePassword
public String getAmphetaRatePassword()
- Returns:
- Returns the amphetaRatePassword.
getAmphetaRateUsername
public String getAmphetaRateUsername()
- Returns:
- Returns the amphetaRateUsername.
getBloggerArguments
public String getBloggerArguments()
- Returns:
- Returns the bloggerArguments.
getBloggerPath
public String getBloggerPath()
- Returns:
- Returns the bloggerPath.
getConnectionTimeout
public int getConnectionTimeout()
- Returns:
- int The connectionTimeout
getCustomBrowserArguments
public String getCustomBrowserArguments()
- Returns:
- Returns the customBrowserArguments.
getCustomBrowserPath
public String getCustomBrowserPath()
- Returns:
- Returns the customBrowserPath.
getDialogFont
public org.eclipse.swt.graphics.Font getDialogFont()
- Returns:
- Returns the dialogFont.
getFavDefaultAutoReloadInterval
public int getFavDefaultAutoReloadInterval()
- Returns:
- Returns the favDefaultAutoReloadInterval.
getHeaderFont
public org.eclipse.swt.graphics.Font getHeaderFont()
- Returns:
- Returns the headerFont.
getHotkeys
public Hashtable getHotkeys()
- Returns:
- Returns the hotkeys.
getLinkColor
public org.eclipse.swt.graphics.RGB getLinkColor()
- Returns:
- Returns the linkColor.
getMailBody
public String getMailBody()
- Returns:
- Returns the mailBody.
getMailSubject
public String getMailSubject()
- Returns:
- Returns the mailSubject.
getMaxConnectionCount
public int getMaxConnectionCount()
- Returns:
- the maxConnectionCount
getProxySettingsSave
public Hashtable getProxySettingsSave()
- Returns:
- Returns the proxySettings.
getSelectedEncoding
public String getSelectedEncoding()
- Returns:
- Returns the selectedEncoding.
getSelectedLanguage
public String getSelectedLanguage()
- Returns:
- Returns the selectedLanguage.
getSortOrder
public Vector getSortOrder()
- Returns:
- Returns the sortOrder.
getSyntaxHighlightColor
public org.eclipse.swt.graphics.RGB getSyntaxHighlightColor()
- Returns:
- Returns the syntaxHighlightColor.
getTableFont
public org.eclipse.swt.graphics.Font getTableFont()
- Returns:
- Returns the tableFont.
getTextFont
public org.eclipse.swt.graphics.Font getTextFont()
- Returns:
- Returns the textFont.
getTreeFont
public org.eclipse.swt.graphics.Font getTreeFont()
- Returns:
- Returns the treeFont.
isAnimateNewsPopup
public boolean isAnimateNewsPopup()
- Returns:
- Returns the animateNewsPopup.
isAutoCloseNewsPopup
public boolean isAutoCloseNewsPopup()
- Returns:
- Returns the autoCloseNewsPopup
isAutoOpenEachNews
public boolean isAutoOpenEachNews()
- Returns:
- Returns the autoOpenEachNews.
isAutoOpenEmptyNews
public boolean isAutoOpenEmptyNews()
- Returns:
- Returns the autoOpenEmpyNews.
isAutoSortNews
public boolean isAutoSortNews()
- Returns:
- Returns the autoSortNews.
isBlockPopups
public boolean isBlockPopups()
- Returns:
- Returns the blockPopups.
isCheckForUpdate
public boolean isCheckForUpdate()
- Returns:
- Returns the checkForUpdate.
isConfirmBlogrollDeletion
public boolean isConfirmBlogrollDeletion()
- Returns:
- Returns the confirmBlogrollDeletion.
isConfirmCategoryDeletion
public boolean isConfirmCategoryDeletion()
- Returns:
- Returns the confirmCategoryDeletion.
isConfirmFavoriteDeletion
public boolean isConfirmFavoriteDeletion()
- Returns:
- Returns the confirmFavoriteDeletion.
isDisplaySingleTab
public boolean isDisplaySingleTab()
- Returns:
- Returns the displaySingleTab.
isDoubleClickOpen
public boolean isDoubleClickOpen()
- Returns:
- Returns the isDoubleClickOpen.
isFavDefaultOpenOnStartup
public boolean isFavDefaultOpenOnStartup()
- Returns:
- Returns the favDefaultOpenOnStartup.
isFavDefaultReloadOnStartup
public boolean isFavDefaultReloadOnStartup()
- Returns:
- Returns the favDefaultReloadOnStartup.
isFocusNewTabs
public boolean isFocusNewTabs()
- Returns:
- Returns the focusNewTabs.
isHtmlFormatMail
public boolean isHtmlFormatMail()
- Returns:
- Returns the htmlFormatMail.
isLocalCacheFeeds
public boolean isLocalCacheFeeds()
- Returns:
- Returns the localCacheFeeds.
isMarkAllReadOnMinimize
public boolean isMarkAllReadOnMinimize()
- Returns:
- Returns the markAllReadOnMinimize.
isMarkFeedReadOnTabClose
public boolean isMarkFeedReadOnTabClose()
- Returns:
- Returns the markFeedReadOnTabClose.
isOpenBrowserExtern
public boolean isOpenBrowserExtern()
- Returns:
- Returns the openBrowserExtern.
isOpenBrowserInNewTab
public boolean isOpenBrowserInNewTab()
- Returns:
- Returns the openBrowserInNewTab.
isReopenFeeds
public boolean isReopenFeeds()
- Returns:
- Returns the reopenFeeds.
isShowChannelInfo
public boolean isShowChannelInfo()
- Returns:
- Returns the showChannelInfo.
isShowErrors
public boolean isShowErrors()
- Returns:
- Returns the showErrors.
isShowSystrayIcon
public boolean isShowSystrayIcon()
- Returns:
- Returns the showSystrayIcon.
isShowTabCloseButton
public boolean isShowTabCloseButton()
- Returns:
- boolean The showTabCloseButton
isShowTrayPopup
public boolean isShowTrayPopup()
- Returns:
- Returns the showTrayPopup.
isSimpleTabs
public boolean isSimpleTabs()
- Returns:
- Returns the simpleTabs.
isThreeColumnGUI
public boolean isThreeColumnGUI()
- Returns:
- Returns the isThreeColumnGUI.
isTrayOnExit
public boolean isTrayOnExit()
- Returns:
- Returns the trayOnExit.
isTrayOnStartup
public boolean isTrayOnStartup()
- Returns:
- Returns the trayOnStartup.
isUpdateProxyForAllFavorites
public boolean isUpdateProxyForAllFavorites()
- Returns:
- Returns the updateAllFavorites.
isUseBrowserForNewsText
public boolean isUseBrowserForNewsText()
- Returns:
- Returns the useBrowserForNewsText.
saveProperties
public void saveProperties()
- Save properties the user has made
setAmphetaRateId
public void setAmphetaRateId(String amphetaRateId)
- Parameters:
amphetaRateId
- The amphetaRateId to set.
setAmphetaRatePassword
public void setAmphetaRatePassword(String amphetaRatePassword)
- Parameters:
amphetaRatePassword
- The amphetaRatePassword to set.
setAmphetaRateUsername
public void setAmphetaRateUsername(String amphetaRateUsername)
- Parameters:
amphetaRateUsername
- The amphetaRateUsername to set.
setAnimateNewsPopup
public void setAnimateNewsPopup(boolean animateNewsPopup)
- Parameters:
animateNewsPopup
- The animateNewsPopup to set.
setAutoCloseNewsPopup
public void setAutoCloseNewsPopup(boolean autoCloseNewsPopup)
- Parameters:
autoCloseNewsPopup
- The autoCloseNewsPopup to set
setAutoOpenEachNews
public void setAutoOpenEachNews(boolean autoOpenNews)
- Parameters:
autoOpenNews
- The autoOpenEachNews to set.
setAutoOpenEmptyNews
public void setAutoOpenEmptyNews(boolean autoOpenEmpyNews)
- Parameters:
autoOpenEmpyNews
- The autoOpenEmpyNews to set.
setAutoSortNews
public void setAutoSortNews(boolean autoSortNews)
- Parameters:
autoSortNews
- The autoSortNews to set.
setBlockPopups
public void setBlockPopups(boolean blockPopups)
- Parameters:
blockPopups
- The blockPopups to set.
setBloggerArguments
public void setBloggerArguments(String bloggerArguments)
- Parameters:
bloggerArguments
- The bloggerArguments to set.
setBloggerPath
public void setBloggerPath(String bloggerPath)
- Parameters:
bloggerPath
- The bloggerPath to set.
setCheckForUpdate
public void setCheckForUpdate(boolean checkForUpdate)
- Parameters:
checkForUpdate
- The checkForUpdate to set.
setConfirmBlogrollDeletion
public void setConfirmBlogrollDeletion(boolean confirmBlogrollDeletion)
- Parameters:
confirmBlogrollDeletion
- The confirmBlogrollDeletion to set.
setConfirmCategoryDeletion
public void setConfirmCategoryDeletion(boolean confirmCategoryDeletion)
- Parameters:
confirmCategoryDeletion
- The confirmCategoryDeletion to set.
setConfirmFavoriteDeletion
public void setConfirmFavoriteDeletion(boolean confirmFavoriteDeletion)
- Parameters:
confirmFavoriteDeletion
- The confirmFavoriteDeletion to set.
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
- Parameters:
connectionTimeout
- The connectionTimeout to set.
setCustomBrowserArguments
public void setCustomBrowserArguments(String customBrowserArguments)
- Parameters:
customBrowserArguments
- The customBrowserArguments to set.
setCustomBrowserPath
public void setCustomBrowserPath(String customBrowserPath)
- Parameters:
customBrowserPath
- The customBrowserPath to set.
setDialogFont
public void setDialogFont(org.eclipse.swt.graphics.Font dialogFont)
- Parameters:
dialogFont
- The dialogFont to set.
setDisplaySingleTab
public void setDisplaySingleTab(boolean displaySingleTab)
- Parameters:
displaySingleTab
- The displaySingleTab to set.
setDoubleClickOpen
public void setDoubleClickOpen(boolean isDoubleClickOpen)
- Parameters:
isDoubleClickOpen
- The isDoubleClickOpen to set.
setFavDefaultAutoReloadInterval
public void setFavDefaultAutoReloadInterval(int favDefaultAutoReloadInterval)
- Parameters:
favDefaultAutoReloadInterval
- The favDefaultAutoReloadInterval to
set.
setFavDefaultOpenOnStartup
public void setFavDefaultOpenOnStartup(boolean favDefaultOpenOnStartup)
- Parameters:
favDefaultOpenOnStartup
- The favDefaultOpenOnStartup to set.
setFavDefaultReloadOnStartup
public void setFavDefaultReloadOnStartup(boolean favDefaultReloadOnStartup)
- Parameters:
favDefaultReloadOnStartup
- The favDefaultReloadOnStartup to set.
setFocusNewTabs
public void setFocusNewTabs(boolean focusNewTabs)
- Parameters:
focusNewTabs
- The focusNewTabs to set.
setHeaderFont
public void setHeaderFont(org.eclipse.swt.graphics.Font headerFont)
- Parameters:
headerFont
- The headerFont to set.
setHotkeys
public void setHotkeys(Hashtable hotkeys)
- Parameters:
hotkeys
- The hotkeys to set.
setHtmlFormatMail
public void setHtmlFormatMail(boolean htmlFormatMail)
- Parameters:
htmlFormatMail
- The htmlFormatMail to set.
setLinkColor
public void setLinkColor(org.eclipse.swt.graphics.RGB linkColor)
- Parameters:
linkColor
- The linkColor to set.
setLocalCacheFeeds
public void setLocalCacheFeeds(boolean localCacheFeeds)
- Parameters:
localCacheFeeds
- The localCacheFeeds to set.
setMailBody
public void setMailBody(String mailBody)
- Parameters:
mailBody
- The mailBody to set.
setMailSubject
public void setMailSubject(String mailSubject)
- Parameters:
mailSubject
- The mailSubject to set.
setMarkAllReadOnMinimize
public void setMarkAllReadOnMinimize(boolean markAllReadOnMinimize)
- Parameters:
markAllReadOnMinimize
- The markAllReadOnMinimize to set.
setMarkFeedReadOnTabClose
public void setMarkFeedReadOnTabClose(boolean markFeedReadOnTabClose)
- Parameters:
markFeedReadOnTabClose
- The markFeedReadOnTabClose to set.
setMaxConnectionCount
public void setMaxConnectionCount(int maxConnectionCount)
- Parameters:
maxConnectionCount
- The maxConnectionCount to set.
setOpenBrowserExtern
public void setOpenBrowserExtern(boolean openBrowserExtern)
- Parameters:
openBrowserExtern
- The openBrowserExtern to set.
setOpenBrowserInNewTab
public void setOpenBrowserInNewTab(boolean openBrowserInNewTab)
- Parameters:
openBrowserInNewTab
- The openBrowserInNewTab to set.
setProxySettings
public void setProxySettings(Hashtable proxySettings)
- Copy the proxySettings Hashtable
- Parameters:
proxySettings
- The proxySettings to set.
setReopenFeeds
public void setReopenFeeds(boolean reopenFeeds)
- Parameters:
reopenFeeds
- The reopenFeeds to set.
setSelectedEncoding
public void setSelectedEncoding(String selectedEncoding)
- Parameters:
selectedEncoding
- The selectedEncoding to set.
setSelectedLanguage
public void setSelectedLanguage(String selectedLanguage)
- Parameters:
selectedLanguage
- The selectedLanguage to set.
setShowChannelInfo
public void setShowChannelInfo(boolean showChannelInfo)
- Parameters:
showChannelInfo
- The showChannelInfo to set.
setShowErrors
public void setShowErrors(boolean showErrors)
- Parameters:
showErrors
- The showErrors to set.
setShowSystrayIcon
public void setShowSystrayIcon(boolean showSystrayIcon)
- Parameters:
showSystrayIcon
- The showSystrayIcon to set.
setShowTabCloseButton
public void setShowTabCloseButton(boolean showTabCloseButton)
- Parameters:
showTabCloseButton
- The showTabCloseButton to set
setShowTrayPopup
public void setShowTrayPopup(boolean showTrayPopup)
- Parameters:
showTrayPopup
- The showTrayPopup to set.
setSimpleTabs
public void setSimpleTabs(boolean simpleTabs)
- Parameters:
simpleTabs
- The simpleTabs to set.
setSortOrder
public void setSortOrder(Vector sortOrder)
- Parameters:
sortOrder
- The sortOrder to set.
setSyntaxHighlightColor
public void setSyntaxHighlightColor(org.eclipse.swt.graphics.RGB syntaxHighlightColor)
- Parameters:
syntaxHighlightColor
- The syntaxHighlightColor to set.
setTableFont
public void setTableFont(org.eclipse.swt.graphics.Font tableFont)
- Parameters:
tableFont
- The tableFont to set.
setTextFont
public void setTextFont(org.eclipse.swt.graphics.Font textFont)
- Parameters:
textFont
- The textFont to set.
setThreeColumnGUI
public void setThreeColumnGUI(boolean isThreeColumnGUI)
- Parameters:
isThreeColumnGUI
- The isThreeColumnGUI to set.
setTrayOnExit
public void setTrayOnExit(boolean trayOnExit)
- Parameters:
trayOnExit
- The trayOnExit to set.
setTrayOnStartup
public void setTrayOnStartup(boolean trayOnStartup)
- Parameters:
trayOnStartup
- The trayOnStartup to set.
setTreeFont
public void setTreeFont(org.eclipse.swt.graphics.Font treeFont)
- Parameters:
treeFont
- The treeFont to set.
setUpdateProxyForAllFavorites
public void setUpdateProxyForAllFavorites(boolean updateAllFavorites)
- Parameters:
updateAllFavorites
- The updateAllFavorites to set.
setUseAuthentification
public void setUseAuthentification(boolean useAuthentification)
- Parameters:
useAuthentification
- The useAuthentification to set.
setUseBrowserForNewsText
public void setUseBrowserForNewsText(boolean useBrowserForNewsText)
- Parameters:
useBrowserForNewsText
- The useBrowserForNewsText to set.
RSSOwl - RSS / RDF / Atom Newsreader