de.beamertool.util.configuration
Class Settings
java.lang.Object
de.beamertool.util.configuration.Settings
- All Implemented Interfaces:
- SettingsMBean, Serializable
public class Settings
- extends Object
- implements Serializable, SettingsMBean
Contains all settings used by beamer-tool and beamer-tool_admin
- Author:
- ocm-zeeman
- See Also:
- Serialized Form
|
Constructor Summary |
Settings(String fileName)
Constructs an Settings-object with the properties from the given filename
and beamer-tool's default for unset properties. |
Settings
public Settings(String fileName)
- Constructs an Settings-object with the properties from the given filename
and beamer-tool's default for unset properties.
- Parameters:
fileName -
getDefaultSettings
public static SettingsMBean getDefaultSettings()
- Returns a Settings-Object with all propteries set to beamer-tool's
defaults
- Returns:
- - beamer-tool's defaults
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getBackgroundColor
public Color getBackgroundColor()
- Specified by:
getBackgroundColor in interface SettingsMBean
getBadWordList
public Collection<String> getBadWordList()
- Specified by:
getBadWordList in interface SettingsMBean
getChatAlignment
public Integer getChatAlignment()
- Specified by:
getChatAlignment in interface SettingsMBean
getChatHeight
public Integer getChatHeight()
- Specified by:
getChatHeight in interface SettingsMBean
getCommercialPath
public String getCommercialPath()
- Specified by:
getCommercialPath in interface SettingsMBean
getCommercialPreText
public String getCommercialPreText()
- Specified by:
getCommercialPreText in interface SettingsMBean
getCommercialRotatio
public Integer getCommercialRotatio()
- Specified by:
getCommercialRotatio in interface SettingsMBean
getCommercialText
public Collection<String> getCommercialText()
- Specified by:
getCommercialText in interface SettingsMBean
getCommercialTextInterval
public Integer getCommercialTextInterval()
- Specified by:
getCommercialTextInterval in interface SettingsMBean
getCubeColor
public Color getCubeColor()
- Specified by:
getCubeColor in interface SettingsMBean
getGsmDeviceBaudrate
public Integer getGsmDeviceBaudrate()
- Specified by:
getGsmDeviceBaudrate in interface SettingsMBean
getGsmDevicePin
public String getGsmDevicePin()
- Specified by:
getGsmDevicePin in interface SettingsMBean
getGsmDevicePort
public String getGsmDevicePort()
- Specified by:
getGsmDevicePort in interface SettingsMBean
getGsmDeviceType
public MobileType getGsmDeviceType()
- Specified by:
getGsmDeviceType in interface SettingsMBean
getHeight
public Integer getHeight()
- Specified by:
getHeight in interface SettingsMBean
getLogFileName
public String getLogFileName()
- Specified by:
getLogFileName in interface SettingsMBean
getMessagePresentation
public MessagePresentation getMessagePresentation()
- Specified by:
getMessagePresentation in interface SettingsMBean
getNotificationColor
public Color getNotificationColor()
- Specified by:
getNotificationColor in interface SettingsMBean
getNotificationFont
public Font getNotificationFont()
- Specified by:
getNotificationFont in interface SettingsMBean
getPicturePath
public String getPicturePath()
- Specified by:
getPicturePath in interface SettingsMBean
getRemoteControlHost
public String getRemoteControlHost()
- Specified by:
getRemoteControlHost in interface SettingsMBean
getRemoteControlPort
public Integer getRemoteControlPort()
- Specified by:
getRemoteControlPort in interface SettingsMBean
getRemotePassword
public String getRemotePassword()
- Specified by:
getRemotePassword in interface SettingsMBean
getSlideshowInterval
public Integer getSlideshowInterval()
- Specified by:
getSlideshowInterval in interface SettingsMBean
getSmileyReplaceStrings
public Map<String,String> getSmileyReplaceStrings()
- Specified by:
getSmileyReplaceStrings in interface SettingsMBean
getText3dCount
public Integer getText3dCount()
- Specified by:
getText3dCount in interface SettingsMBean
getText3dOrientation
public MessageOrientation getText3dOrientation()
- Specified by:
getText3dOrientation in interface SettingsMBean
getTextBackgroundColor1
public Color getTextBackgroundColor1()
- Specified by:
getTextBackgroundColor1 in interface SettingsMBean
getTextBackgroundColor2
public Color getTextBackgroundColor2()
- Specified by:
getTextBackgroundColor2 in interface SettingsMBean
getTextColor1
public Color getTextColor1()
- Specified by:
getTextColor1 in interface SettingsMBean
getTextColor2
public Color getTextColor2()
- Specified by:
getTextColor2 in interface SettingsMBean
getTextFont
public Font getTextFont()
- Specified by:
getTextFont in interface SettingsMBean
getTitleBackgroundColor
public Color getTitleBackgroundColor()
- Specified by:
getTitleBackgroundColor in interface SettingsMBean
getTitleColor
public Color getTitleColor()
- Specified by:
getTitleColor in interface SettingsMBean
getTitleFont
public Font getTitleFont()
- Specified by:
getTitleFont in interface SettingsMBean
getTitleText
public String getTitleText()
- Specified by:
getTitleText in interface SettingsMBean
getWidth
public Integer getWidth()
- Specified by:
getWidth in interface SettingsMBean
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isChatOnTop
public Boolean isChatOnTop()
- Specified by:
isChatOnTop in interface SettingsMBean
isDeleteMessages
public Boolean isDeleteMessages()
- Specified by:
isDeleteMessages in interface SettingsMBean
isFilterMessages
public Boolean isFilterMessages()
- Specified by:
isFilterMessages in interface SettingsMBean
isGsmDeviceVirtual
public Boolean isGsmDeviceVirtual()
- Specified by:
isGsmDeviceVirtual in interface SettingsMBean
isOnlySlideshow
public Boolean isOnlySlideshow()
- Specified by:
isOnlySlideshow in interface SettingsMBean
isSlideshow3d
public Boolean isSlideshow3d()
- Specified by:
isSlideshow3d in interface SettingsMBean
isSlieshow3d
public Boolean isSlieshow3d()
- Specified by:
isSlieshow3d in interface SettingsMBean
isSms2chat
public Boolean isSms2chat()
- Specified by:
isSms2chat in interface SettingsMBean
isText3d
public Boolean isText3d()
- Specified by:
isText3d in interface SettingsMBean
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
saveSettings
public void saveSettings(String fileName)
throws IOException,
SaveSettingsException
- Saves this settings object to the given file
- Parameters:
fileName -
- Throws:
IOException
SaveSettingsException
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
- Specified by:
setBackgroundColor in interface SettingsMBean
setBadWordList
public void setBadWordList(Collection<String> badWordList)
- Specified by:
setBadWordList in interface SettingsMBean
setChatAlignment
public void setChatAlignment(Integer chatAlignment)
- Specified by:
setChatAlignment in interface SettingsMBean
setChatHeight
public void setChatHeight(Integer chatHeight)
- Specified by:
setChatHeight in interface SettingsMBean
setChatOnTop
public void setChatOnTop(Boolean chatOnTop)
- Specified by:
setChatOnTop in interface SettingsMBean
setCommercialPath
public void setCommercialPath(String commercialPath)
- Specified by:
setCommercialPath in interface SettingsMBean
setCommercialPreText
public void setCommercialPreText(String commercialPreText)
- Specified by:
setCommercialPreText in interface SettingsMBean
setCommercialRotatio
public void setCommercialRotatio(Integer commercialRotatio)
- Specified by:
setCommercialRotatio in interface SettingsMBean
setCommercialText
public void setCommercialText(Collection<String> commercialText)
- Specified by:
setCommercialText in interface SettingsMBean
setCommercialTextInterval
public void setCommercialTextInterval(Integer commercialTextInterval)
- Specified by:
setCommercialTextInterval in interface SettingsMBean
setCubeColor
public void setCubeColor(Color cubeColor)
- Specified by:
setCubeColor in interface SettingsMBean
setDeleteMessages
public void setDeleteMessages(Boolean deleteMessages)
- Specified by:
setDeleteMessages in interface SettingsMBean
setFilterMessages
public void setFilterMessages(Boolean filterMessages)
- Specified by:
setFilterMessages in interface SettingsMBean
setGsmDeviceBaudrate
public void setGsmDeviceBaudrate(Integer gsmDeviceBaudrate)
- Specified by:
setGsmDeviceBaudrate in interface SettingsMBean
setGsmDevicePin
public void setGsmDevicePin(String gsmDevicePin)
- Specified by:
setGsmDevicePin in interface SettingsMBean
setGsmDevicePort
public void setGsmDevicePort(String gsmDevicePort)
- Specified by:
setGsmDevicePort in interface SettingsMBean
setGsmDeviceType
public void setGsmDeviceType(MobileType gsmDeviceType)
- Specified by:
setGsmDeviceType in interface SettingsMBean
setGsmDeviceVirtual
public void setGsmDeviceVirtual(Boolean gsmDeviceVirtual)
- Specified by:
setGsmDeviceVirtual in interface SettingsMBean
setHeight
public void setHeight(Integer height)
- Specified by:
setHeight in interface SettingsMBean
setLogFileName
public void setLogFileName(String logFileName)
- Specified by:
setLogFileName in interface SettingsMBean
setMessagePresentation
public void setMessagePresentation(MessagePresentation messagePresentation)
- Specified by:
setMessagePresentation in interface SettingsMBean
setNotificationColor
public void setNotificationColor(Color notificationColor)
- Specified by:
setNotificationColor in interface SettingsMBean
setNotificationFont
public void setNotificationFont(Font notificationFont)
- Specified by:
setNotificationFont in interface SettingsMBean
setOnlySlideshow
public void setOnlySlideshow(Boolean onlySlideshow)
- Specified by:
setOnlySlideshow in interface SettingsMBean
setPicturePath
public void setPicturePath(String picturePath)
- Specified by:
setPicturePath in interface SettingsMBean
setRemoteControlHost
public void setRemoteControlHost(String remoteControlHost)
- Specified by:
setRemoteControlHost in interface SettingsMBean
setRemoteControlPort
public void setRemoteControlPort(Integer remoteControlPort)
- Specified by:
setRemoteControlPort in interface SettingsMBean
setRemotePassword
public void setRemotePassword(String remotePassword)
- Specified by:
setRemotePassword in interface SettingsMBean
setSlideshow3d
public void setSlideshow3d(Boolean slideshow3d)
- Specified by:
setSlideshow3d in interface SettingsMBean
setSlideshowInterval
public void setSlideshowInterval(Integer slideshowInterval)
- Specified by:
setSlideshowInterval in interface SettingsMBean
setSlieshow3d
public void setSlieshow3d(Boolean slieshow3d)
- Specified by:
setSlieshow3d in interface SettingsMBean
setSmileyReplaceStrings
public void setSmileyReplaceStrings(Map<String,String> smileyReplaceStrings)
- Specified by:
setSmileyReplaceStrings in interface SettingsMBean
setSms2chat
public void setSms2chat(Boolean sms2chat)
- Specified by:
setSms2chat in interface SettingsMBean
setText3d
public void setText3d(Boolean text3d)
- Specified by:
setText3d in interface SettingsMBean
setText3dCount
public void setText3dCount(Integer text3dCount)
- Specified by:
setText3dCount in interface SettingsMBean
setText3dOrientation
public void setText3dOrientation(MessageOrientation text3dOrientation)
- Specified by:
setText3dOrientation in interface SettingsMBean
setTextBackgroundColor1
public void setTextBackgroundColor1(Color textBackgroundColor1)
- Specified by:
setTextBackgroundColor1 in interface SettingsMBean
setTextBackgroundColor2
public void setTextBackgroundColor2(Color textBackgroundColor2)
- Specified by:
setTextBackgroundColor2 in interface SettingsMBean
setTextColor1
public void setTextColor1(Color textColor1)
- Specified by:
setTextColor1 in interface SettingsMBean
setTextColor2
public void setTextColor2(Color textColor2)
- Specified by:
setTextColor2 in interface SettingsMBean
setTextFont
public void setTextFont(Font textFont)
- Specified by:
setTextFont in interface SettingsMBean
setTitleBackgroundColor
public void setTitleBackgroundColor(Color titleBackgroundColor)
- Specified by:
setTitleBackgroundColor in interface SettingsMBean
setTitleColor
public void setTitleColor(Color titleColor)
- Specified by:
setTitleColor in interface SettingsMBean
setTitleFont
public void setTitleFont(Font titleFont)
- Specified by:
setTitleFont in interface SettingsMBean
setTitleText
public void setTitleText(String titleText)
- Specified by:
setTitleText in interface SettingsMBean
setWidth
public void setWidth(Integer width)
- Specified by:
setWidth in interface SettingsMBean