dip.gui.report
Class ResultWriter

java.lang.Object
  extended bydip.gui.report.ResultWriter

public class ResultWriter
extends java.lang.Object

Writes a summary of adjudication results in HTML format.

This now supports CSS styles and is internationalized. Note: nested <div> indents are cumulative.


Method Summary
static void displayDialog(ClientFrame clientFrame, TurnState ts, OrderFormatOptions orderFormatOptions)
          Returns the HTML-encoded adjudication results inside a dialog.
static java.lang.String resultsToHTML(TurnState ts, OrderFormatOptions orderFormatOptions)
          Displays a summary of the current results as HTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resultsToHTML

public static java.lang.String resultsToHTML(TurnState ts,
                                             OrderFormatOptions orderFormatOptions)
Displays a summary of the current results as HTML. If the TurnState has not yet been resolved, an appropriate message is displayed.


displayDialog

public static void displayDialog(ClientFrame clientFrame,
                                 TurnState ts,
                                 OrderFormatOptions orderFormatOptions)
Returns the HTML-encoded adjudication results inside a dialog.



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.