jmri.jmrit.symbolicprog
Class ProgDefault

java.lang.Object
  extended by jmri.jmrit.symbolicprog.ProgDefault

public class ProgDefault
extends Object

Functions for use with programmer files, including the default file name.

This was refactored from LocoSelPane in JMRI 1.5.3, which was the the right thing to do anyway. But the real reason was that on MacOS Classic the static member holding the default programmer name was being overwritten when the class was (erroneously) initialized for a second time. This refactoring did not fix the problem. What did fix it was an ugly hack in the CombinedLocoSelPane class; see comments there for more information.

Author:
Bob Jacobsen Copyright (C) 2001, 2002

Constructor Summary
ProgDefault()
           
 
Method Summary
static String[] findListOfProgFiles()
           
static String getDefaultProgFile()
           
static void setDefaultProgFile(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgDefault

public ProgDefault()
Method Detail

findListOfProgFiles

public static String[] findListOfProgFiles()

getDefaultProgFile

public static String getDefaultProgFile()

setDefaultProgFile

public static void setDefaultProgFile(String s)


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