jmri.jmrix.loconet.locoio
Class LocoIOModeList

java.lang.Object
  extended by jmri.jmrix.loconet.locoio.LocoIOModeList

public class LocoIOModeList
extends Object

Author:
plocher

Constructor Summary
LocoIOModeList()
          Creates a new instance of LocoIOModeList
 
Method Summary
protected  int addressToValue1(LocoIOMode lim, int address)
          Low bits
protected  int addressToValue2(LocoIOMode lim, int address)
          High bits...
protected  int addressToValues(int opcode, int sv, int v2mask, int address)
           
protected  LocoIOMode getLocoIOModeFor(int cv, int v1, int v2)
           
protected  LocoIOMode getLocoIOModeFor(String s)
           
protected  String[] getValidModes()
           
protected  boolean isValidModeValue(Object value)
           
protected  int valuesToAddress(int opcode, int sv, int v1, int v2)
           
protected  int valuesToAddress(LocoIOMode lim, int sv, int v1, int v2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocoIOModeList

public LocoIOModeList()
Creates a new instance of LocoIOModeList

Method Detail

getValidModes

protected String[] getValidModes()

isValidModeValue

protected boolean isValidModeValue(Object value)

getLocoIOModeFor

protected LocoIOMode getLocoIOModeFor(String s)

getLocoIOModeFor

protected LocoIOMode getLocoIOModeFor(int cv,
                                      int v1,
                                      int v2)

addressToValue1

protected int addressToValue1(LocoIOMode lim,
                              int address)
Low bits


addressToValue2

protected int addressToValue2(LocoIOMode lim,
                              int address)
High bits...


addressToValues

protected int addressToValues(int opcode,
                              int sv,
                              int v2mask,
                              int address)

valuesToAddress

protected int valuesToAddress(int opcode,
                              int sv,
                              int v1,
                              int v2)

valuesToAddress

protected int valuesToAddress(LocoIOMode lim,
                              int sv,
                              int v1,
                              int v2)


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