Package jmri.jmrit.vsdecoder
Class VSDConfig
- java.lang.Object
-
- jmri.jmrit.vsdecoder.VSDConfig
-
public class VSDConfig extends java.lang.Object
Data capsule ("Model"?) for passing configuration between the GUI and the VSDecoder itself.
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.
-
-
Field Summary
Fields Modifier and Type Field Description floatDEFAULT_VOLUME
-
Constructor Summary
Constructors Constructor Description VSDConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DccLocoAddressgetDccAddress()java.lang.StringgetId()LocoAddressgetLocoAddress()PhysicalLocationgetPhysicalLocation()java.lang.StringgetProfileName()RosterEntrygetRosterEntry()floatgetVolume()java.lang.StringgetVSDPath()voidsetId(java.lang.String id)voidsetLocoAddress(LocoAddress a)voidsetPhysicalLocation(PhysicalLocation p)voidsetProfileName(java.lang.String name)voidsetRosterEntry(RosterEntry r)voidsetVolume(float v)voidsetVSDPath(java.lang.String path)java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT_VOLUME
public float DEFAULT_VOLUME
-
-
Constructor Detail
-
VSDConfig
public VSDConfig()
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getVSDPath
public java.lang.String getVSDPath()
-
getProfileName
public java.lang.String getProfileName()
-
getLocoAddress
public LocoAddress getLocoAddress()
-
getDccAddress
public DccLocoAddress getDccAddress()
-
getVolume
public float getVolume()
-
getPhysicalLocation
public PhysicalLocation getPhysicalLocation()
-
getRosterEntry
public RosterEntry getRosterEntry()
-
setId
public void setId(java.lang.String id)
-
setVSDPath
public void setVSDPath(java.lang.String path)
-
setProfileName
public void setProfileName(java.lang.String name)
-
setLocoAddress
public void setLocoAddress(LocoAddress a)
-
setVolume
public void setVolume(float v)
-
setPhysicalLocation
public void setPhysicalLocation(PhysicalLocation p)
-
setRosterEntry
public void setRosterEntry(RosterEntry r)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-