de.hagenah.diplomacy.addins
Class StatAddIn

java.lang.Object
  extended by de.hagenah.diplomacy.addins.StatAddIn

public class StatAddIn
extends java.lang.Object

This add-in calculates a simple opening statistic.


Constructor Summary
StatAddIn(javax.swing.JFrame parent, Preferences preferences, java.lang.Object obj)
          Each time the add-in is called a new object is created.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatAddIn

public StatAddIn(javax.swing.JFrame parent,
                 Preferences preferences,
                 java.lang.Object obj)
Each time the add-in is called a new object is created. This constructor should not return before the add-in has finished. It is executed by the event dispatching thread.

Parameters:
parent - A parent frame for dialog boxes
preferences - The preferences of the user
obj - The selected object in the tree:
  • a DipTurn, or
  • a DipGame, or
  • a DipGameGroup, or
  • a Map (String → DipGameGroup).