jmri.jmrit.automat
Class AbstractAutomaton.MsgFrame

java.lang.Object
  extended by jmri.jmrit.automat.AbstractAutomaton.MsgFrame
All Implemented Interfaces:
Runnable
Enclosing class:
AbstractAutomaton

public class AbstractAutomaton.MsgFrame
extends Object
implements Runnable

Internal class to show a Frame


Constructor Summary
AbstractAutomaton.MsgFrame()
           
 
Method Summary
protected  void format()
          Abstract method to handle formatting of the text on a show
 void hide()
           
 void run()
           
 void show(String pMessage, boolean pPause)
          Show a message in the message frame, and optionally wait for the user to acknowledge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAutomaton.MsgFrame

public AbstractAutomaton.MsgFrame()
Method Detail

hide

public void hide()

show

public void show(String pMessage,
                 boolean pPause)
Show a message in the message frame, and optionally wait for the user to acknowledge


run

public void run()
Specified by:
run in interface Runnable

format

protected void format()
Abstract method to handle formatting of the text on a show



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