Package jmri.jmrit.vsdecoder
Class VSDecoderPreferences
java.lang.Object
jmri.jmrit.vsdecoder.VSDecoderPreferences
Manage VSDecoder Preferences.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classAn extension of the abstract XmlFile. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an AddressListener.booleanbooleanbooleanbooleanvoidRemove an AddressListener.voidsave()voidvoidsetAutoLoadVSDFile(boolean b) voidsetAutoStartEngine(boolean b) voidvoidvoidvoidsetMasterVolume(int v) voidsetUseBlocksSetting(boolean b)
-
Field Details
-
VSDPreferencesFileName
- See Also:
-
DefaultMasterVolume
- See Also:
-
-
Constructor Details
-
VSDecoderPreferences
-
VSDecoderPreferences
public VSDecoderPreferences()
-
-
Method Details
-
set
-
compareTo
-
save
-
getDefaultVSDFilePath
-
setDefaultVSDFilePath
-
isAutoStartingEngine
-
setAutoStartEngine
-
isAutoLoadingVSDFile
-
setUseBlocksSetting
-
getUseBlocksSetting
-
setAutoLoadVSDFile
-
getListenerPosition
-
setListenerPosition
-
getListenerPhysicalLocation
-
setListenerPosition
-
setMasterVolume
-
getMasterVolume
-
addPropertyChangeListener
Add an AddressListener.AddressListeners are notified when the user selects a new address and when a Throttle is acquired for that address.
- Parameters:
l- listener to add.
-
removePropertyChangeListener
Remove an AddressListener.- Parameters:
l- listener to remove.
-