Class PreferencesModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.preferences.model.PreferencesModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class PreferencesModel extends com.jgoodies.binding.beans.Model- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_COMM_PORTSstatic StringPROPERTY_DETECTED_NETBIDIB_SERVICES
-
Constructor Summary
Constructors Constructor Description PreferencesModel(org.bidib.wizard.common.model.settings.GlobalSettingsInterface globalSettings, org.bidib.wizard.common.model.settings.WizardSettingsInterface wizardSettings, org.bidib.wizard.common.model.settings.MiscSettingsInterface miscSettings, org.bidib.wizard.common.model.settings.Misc2SettingsInterface misc2Settings, org.bidib.wizard.common.model.settings.ExperimentalSettingsInterface experimentalSettings, org.bidib.wizard.common.model.settings.NetBidibSettingsInterface netBidibSettings, org.bidib.jbidibc.netbidib.pairingstore.PairingStore pairingStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.bidib.wizard.api.model.common.CommPort>getAvailableCommPorts()com.jgoodies.common.collect.ArrayListModel<DayOfWeek>getDayOfWeekList()Set<org.bidib.wizard.api.model.common.NetBidibServiceInfo>getDetectedNetBidibServices()org.bidib.wizard.common.model.settings.ExperimentalSettingsInterfacegetExperimentalSettings()org.bidib.wizard.common.model.settings.GlobalSettingsInterfacegetGlobalSettings()com.jgoodies.common.collect.ArrayListModel<String>getLanguageList()org.bidib.wizard.common.model.settings.Misc2SettingsInterfacegetMisc2Settings()org.bidib.wizard.common.model.settings.MiscSettingsInterfacegetMiscSettings()org.bidib.wizard.common.model.settings.NetBidibSettingsInterfacegetNetBidibSettings()org.bidib.jbidibc.netbidib.pairingstore.PairingStoregetPairingStore()com.jgoodies.common.collect.ArrayListModel<String>getSerialProviderList()org.bidib.wizard.common.model.settings.WizardSettingsInterfacegetWizardSettings()voidsetAvailableCommPorts(Set<org.bidib.wizard.api.model.common.CommPort> commPorts)Set the commPorts and notify the listenersvoidsetDetectedNetBidibServices(Set<org.bidib.wizard.api.model.common.NetBidibServiceInfo> detectedNetBidibServices)StringtoString()-
Methods inherited from class com.jgoodies.binding.beans.Model
createPropertyChangeSupport, firePropertyChange
-
Methods inherited from class com.jgoodies.common.bean.Bean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
-
-
-
Field Detail
-
PROPERTY_COMM_PORTS
public static final String PROPERTY_COMM_PORTS
- See Also:
- Constant Field Values
-
PROPERTY_DETECTED_NETBIDIB_SERVICES
public static final String PROPERTY_DETECTED_NETBIDIB_SERVICES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreferencesModel
public PreferencesModel(org.bidib.wizard.common.model.settings.GlobalSettingsInterface globalSettings, org.bidib.wizard.common.model.settings.WizardSettingsInterface wizardSettings, org.bidib.wizard.common.model.settings.MiscSettingsInterface miscSettings, org.bidib.wizard.common.model.settings.Misc2SettingsInterface misc2Settings, org.bidib.wizard.common.model.settings.ExperimentalSettingsInterface experimentalSettings, org.bidib.wizard.common.model.settings.NetBidibSettingsInterface netBidibSettings, org.bidib.jbidibc.netbidib.pairingstore.PairingStore pairingStore)
-
-
Method Detail
-
getAvailableCommPorts
public Set<org.bidib.wizard.api.model.common.CommPort> getAvailableCommPorts()
-
setAvailableCommPorts
public void setAvailableCommPorts(Set<org.bidib.wizard.api.model.common.CommPort> commPorts)
Set the commPorts and notify the listeners- Parameters:
commPorts- the commPorts to set
-
setDetectedNetBidibServices
public void setDetectedNetBidibServices(Set<org.bidib.wizard.api.model.common.NetBidibServiceInfo> detectedNetBidibServices)
-
getDetectedNetBidibServices
public Set<org.bidib.wizard.api.model.common.NetBidibServiceInfo> getDetectedNetBidibServices()
-
getSerialProviderList
public com.jgoodies.common.collect.ArrayListModel<String> getSerialProviderList()
- Returns:
- the serial provider list
-
getDayOfWeekList
public com.jgoodies.common.collect.ArrayListModel<DayOfWeek> getDayOfWeekList()
- Returns:
- the day of week list
-
getLanguageList
public com.jgoodies.common.collect.ArrayListModel<String> getLanguageList()
-
getGlobalSettings
public org.bidib.wizard.common.model.settings.GlobalSettingsInterface getGlobalSettings()
- Returns:
- the globalSettings
-
getWizardSettings
public org.bidib.wizard.common.model.settings.WizardSettingsInterface getWizardSettings()
- Returns:
- the wizardSettings
-
getMiscSettings
public org.bidib.wizard.common.model.settings.MiscSettingsInterface getMiscSettings()
- Returns:
- the miscSettings
-
getMisc2Settings
public org.bidib.wizard.common.model.settings.Misc2SettingsInterface getMisc2Settings()
- Returns:
- the misc2Settings
-
getExperimentalSettings
public org.bidib.wizard.common.model.settings.ExperimentalSettingsInterface getExperimentalSettings()
- Returns:
- the experimentalSettings
-
getNetBidibSettings
public org.bidib.wizard.common.model.settings.NetBidibSettingsInterface getNetBidibSettings()
- Returns:
- the netBidibSettings
-
getPairingStore
public org.bidib.jbidibc.netbidib.pairingstore.PairingStore getPairingStore()
- Returns:
- the pairingStore
-
-