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 float
DEFAULT_VOLUME
-
Constructor Summary
Constructors Constructor Description VSDConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DccLocoAddress
getDccAddress()
java.lang.String
getId()
LocoAddress
getLocoAddress()
PhysicalLocation
getPhysicalLocation()
java.lang.String
getProfileName()
RosterEntry
getRosterEntry()
float
getVolume()
java.lang.String
getVSDPath()
void
setId(java.lang.String id)
void
setLocoAddress(LocoAddress a)
void
setPhysicalLocation(PhysicalLocation p)
void
setProfileName(java.lang.String name)
void
setRosterEntry(RosterEntry r)
void
setVolume(float v)
void
setVSDPath(java.lang.String path)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-