jmri.jmrit.vsdecoder
Class VSDecoder

java.lang.Object
  extended by jmri.jmrit.vsdecoder.VSDecoder
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class VSDecoder
extends Object
implements PropertyChangeListener


Constructor Summary
VSDecoder(String id, String name)
           
VSDecoder(String id, String name, String path)
           
 
Method Summary
 void disable()
           
 void enable()
           
 DccLocoAddress getAddress()
           
 Collection<SoundEvent> getEventList()
           
 String getID()
           
 String getProfileName()
           
 VSDSound getSound(String name)
           
 String getVSDFilePath()
           
 Element getXml()
           
 boolean isDefault()
           
 boolean isInitialized()
           
 void playHorn()
           
 void propertyChange(PropertyChangeEvent evt)
           
 void releaseAddress(int number, boolean isLong)
           
 void setAddress(DccLocoAddress a)
           
 void setAddress(int number, boolean isLong)
           
 void setDefault(boolean d)
           
 void setProfileName(String pn)
           
 void setVSDFilePath(String p)
           
 void setXml(Element e)
          Deprecated. 
 void setXml(Element e, VSDFile vf)
          Deprecated. 
 void setXml(VSDFile vf)
          Deprecated. 
 void setXml(VSDFile vf, String pn)
           
 void shortHorn()
           
 void stopHorn()
           
 void throttlePropertyChange(PropertyChangeEvent event)
           
 void toggleBell()
           
 void toggleHorn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VSDecoder

public VSDecoder(String id,
                 String name)

VSDecoder

public VSDecoder(String id,
                 String name,
                 String path)
Method Detail

getID

public String getID()

isInitialized

public boolean isInitialized()

setVSDFilePath

public void setVSDFilePath(String p)

getVSDFilePath

public String getVSDFilePath()

throttlePropertyChange

public void throttlePropertyChange(PropertyChangeEvent event)

releaseAddress

public void releaseAddress(int number,
                           boolean isLong)

setAddress

public void setAddress(int number,
                       boolean isLong)

setAddress

public void setAddress(DccLocoAddress a)

getAddress

public DccLocoAddress getAddress()

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

getSound

public VSDSound getSound(String name)

toggleBell

public void toggleBell()

toggleHorn

public void toggleHorn()

playHorn

public void playHorn()

shortHorn

public void shortHorn()

stopHorn

public void stopHorn()

setProfileName

public void setProfileName(String pn)

getProfileName

public String getProfileName()

enable

public void enable()

disable

public void disable()

getEventList

public Collection<SoundEvent> getEventList()

isDefault

public boolean isDefault()

setDefault

public void setDefault(boolean d)

getXml

public Element getXml()

setXml

@Deprecated
public void setXml(Element e)
Deprecated. 


setXml

@Deprecated
public void setXml(Element e,
                              VSDFile vf)
Deprecated. 


setXml

@Deprecated
public void setXml(VSDFile vf)
Deprecated. 


setXml

public void setXml(VSDFile vf,
                   String pn)


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads