jmri.jmrit.operations.trains
Class TrainLogger
java.lang.Object
jmri.jmrit.XmlFile
jmri.jmrit.operations.trains.TrainLogger
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class TrainLogger
- extends XmlFile
- implements PropertyChangeListener
Logs rolling stock movements by writing their locations to a file.
- Author:
- Daniel Boudreau Copyright (C) 2010
| Methods inherited from class jmri.jmrit.XmlFile |
addDefaultInfo, backupFileName, checkFile, createFileNameWithDate, dumpElement, ensurePrefsPresent, findFile, getBuilder, getRootViaURI, getVerify, makeBackupFile, makeBackupFile, newDocument, newDocument, prefsDir, reportError1, reportError2, resourcesDir, revertBackupFile, rootFromFile, rootFromName, rootFromURL, scriptsDir, setScriptsFileLocationDefault, setUserFileLocationDefault, setVerify, userFileChooser, userFileChooser, userFileChooser, userFileChooser, userFileLocationDefault, writeXML, xmlDir |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrainLogger
public TrainLogger()
instance
public static TrainLogger instance()
enableTrainLogging
public void enableTrainLogging(boolean enable)
dispose
public void dispose()
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange in interface PropertyChangeListener
getFullLoggerFileName
public String getFullLoggerFileName()
getDirectoryName
public String getDirectoryName()
setDirectoryName
public void setDirectoryName(String name)
getFileName
public String getFileName()
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: