Class HexFileFrame

All Implemented Interfaces:
ComponentListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BeanInterface, LocoNetListener, ModifiedFlag, WindowInterface

public class HexFileFrame
extends JmriJFrame
implements LocoNetListener
Frame to inject LocoNet messages from a hex file and (optionally) mock a response to specific Discover messages. This is a sample frame that drives a test App. It controls reading from a .hex file, feeding the information to a LocoMonFrame (monitor) and connecting to a LocoGenFrame (for manually sending commands). Pane includes a checkbox to turn on simulated replies, see LnHexFilePort. Note that running a simulated LocoNet connection, configure() will substitute the ProgDebugger for the LnOpsModeProgrammer overriding the readCV and writeCV methods.
See Also:
Serialized Form