jmri.jmrit.mailreport
Class ReportContext

java.lang.Object
  extended by jmri.jmrit.mailreport.ReportContext

public class ReportContext
extends Object

Provide the JMRI context info.

Currently uses direct references to the apps.Apps class. It would be better to have Apps (or whatever) store the needed info in e.g. system parameters, so they can be retrieved without access outside the jmri.jmrit package (or move this to the apps package). See the example for the configFilename property.

Author:
Bob Jacobsen Copyright (C) 2007, 2009, Matt Harris Copyright (C) 2008, 2009

Constructor Summary
ReportContext()
           
 
Method Summary
 void addScreenSize()
          Provide screen - size information.
 String getReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportContext

public ReportContext()
Method Detail

getReport

public String getReport()

addScreenSize

public void addScreenSize()
Provide screen - size information. This is based on the jmri.util.JmriJFrame calculation, but isn't refactored to there because we also want diagnostic info



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