jmri.jmrit.roster
Class IdentifyLoco
java.lang.Object
jmri.jmrit.AbstractIdentify
jmri.jmrit.roster.IdentifyLoco
- All Implemented Interfaces:
- EventListener, ProgListener
public abstract class IdentifyLoco
- extends AbstractIdentify
Interact with a programmer to identify the RosterEntry for a loco
on the programming track.
This is a class (instead of a Roster member function) to simplify use of
ProgListener callbacks. It is abstract as we expect that local classes
will define the message and done members.
Once started, this maintains a List of possible RosterEntrys as
it works through the identification progress.
- Author:
- Bob Jacobsen Copyright (C) 2001
- See Also:
RosterEntry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifyLoco
public IdentifyLoco()
test1
public boolean test1()
- Specified by:
test1 in class AbstractIdentify
test2
public boolean test2(int value)
- Specified by:
test2 in class AbstractIdentify
test3
public boolean test3(int value)
- Specified by:
test3 in class AbstractIdentify
test4
public boolean test4(int value)
- Specified by:
test4 in class AbstractIdentify
test5
public boolean test5(int value)
- Specified by:
test5 in class AbstractIdentify
test6
public boolean test6(int value)
- Specified by:
test6 in class AbstractIdentify
test7
public boolean test7(int value)
- Specified by:
test7 in class AbstractIdentify
test8
public boolean test8(int value)
- Specified by:
test8 in class AbstractIdentify
statusUpdate
protected void statusUpdate(String s)
- Description copied from class:
AbstractIdentify
- Update the status field (if any). Invoked with "Done" when
the results are in.
- Specified by:
statusUpdate in class AbstractIdentify
done
protected abstract void done(int address)
message
protected abstract void message(String m)
Copyright © 1997 - 2008 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: