jmri.jmrit.withrottle
Class WiThrottlePreferences

java.lang.Object
  extended by jmri.jmrit.withrottle.AbstractWiThrottlePreferences
      extended by jmri.jmrit.withrottle.WiThrottlePreferences

public class WiThrottlePreferences
extends AbstractWiThrottlePreferences

Author:
Brett Hoffman Copyright (C) 2010

Nested Class Summary
 
Nested classes/interfaces inherited from class jmri.jmrit.withrottle.AbstractWiThrottlePreferences
AbstractWiThrottlePreferences.AbstractWiThrottlePreferencesXml
 
Constructor Summary
WiThrottlePreferences()
           
WiThrottlePreferences(String fileName)
           
 
Method Summary
 void apply(WiThrottlePreferences prefs)
           
 boolean compareValuesDifferent(WiThrottlePreferences prefs)
           
 int getEStopDelay()
           
 boolean getIsDirty()
           
 String getPort()
           
 boolean isAllowConsist()
           
 boolean isAllowRoute()
           
 boolean isAllowTrackPower()
           
 boolean isAllowTurnout()
           
 boolean isUseEStop()
           
 boolean isUseFixedPort()
           
 boolean isUseJmdns()
           
 boolean isUseMomF2()
           
 void load(Element child)
           
 void setAllowConsist(boolean value)
           
 void setAllowRoute(boolean value)
           
 void setAllowTrackPower(boolean value)
           
 void setAllowTurnout(boolean value)
           
 void setEStopDelay(int value)
           
 void setIsDirty(boolean value)
           
 void setPort(String value)
           
 void setUseEStop(boolean value)
           
 void setUseFixedPort(boolean value)
           
 void setUseJmdns(boolean value)
           
 void setUseMomF2(boolean value)
           
 Element store()
           
 
Methods inherited from class jmri.jmrit.withrottle.AbstractWiThrottlePreferences
openFile, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiThrottlePreferences

public WiThrottlePreferences(String fileName)

WiThrottlePreferences

public WiThrottlePreferences()
Method Detail

load

public void load(Element child)

compareValuesDifferent

public boolean compareValuesDifferent(WiThrottlePreferences prefs)

apply

public void apply(WiThrottlePreferences prefs)

store

public Element store()

getIsDirty

public boolean getIsDirty()

setIsDirty

public void setIsDirty(boolean value)

isUseEStop

public boolean isUseEStop()

setUseEStop

public void setUseEStop(boolean value)

getEStopDelay

public int getEStopDelay()

setEStopDelay

public void setEStopDelay(int value)

isUseMomF2

public boolean isUseMomF2()

setUseMomF2

public void setUseMomF2(boolean value)

isUseJmdns

public boolean isUseJmdns()

setUseJmdns

public void setUseJmdns(boolean value)

isUseFixedPort

public boolean isUseFixedPort()

setUseFixedPort

public void setUseFixedPort(boolean value)

getPort

public String getPort()

setPort

public void setPort(String value)

isAllowTrackPower

public boolean isAllowTrackPower()

setAllowTrackPower

public void setAllowTrackPower(boolean value)

isAllowTurnout

public boolean isAllowTurnout()

setAllowTurnout

public void setAllowTurnout(boolean value)

isAllowRoute

public boolean isAllowRoute()

setAllowRoute

public void setAllowRoute(boolean value)

isAllowConsist

public boolean isAllowConsist()

setAllowConsist

public void setAllowConsist(boolean value)


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