jmri.jmrit.dispatcher
Class ActivateTrainFrame

java.lang.Object
  extended by jmri.jmrit.dispatcher.ActivateTrainFrame

public class ActivateTrainFrame
extends Object

Displays the Activate New Train dialog and processes information entered there.

This module works with Dispatcher, which initiates the display of the dialog. Dispatcher also creates the ActiveTrain.

This file is part of JMRI.

JMRI is open source software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author:
Dave Duchamp Copyright (C) 2009

Constructor Summary
ActivateTrainFrame(DispatcherFrame d)
           
 
Method Summary
protected  void initiateTrain(ActionEvent e)
          Displays a window that allows a new ActiveTrain to be activated Called by Dispatcher in response to the dispatcher clicking the New Train button
protected  void showActivateFrame()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivateTrainFrame

public ActivateTrainFrame(DispatcherFrame d)
Method Detail

initiateTrain

protected void initiateTrain(ActionEvent e)
Displays a window that allows a new ActiveTrain to be activated Called by Dispatcher in response to the dispatcher clicking the New Train button


showActivateFrame

protected void showActivateFrame()


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