de.hagenah.diplomacy.addins
Class WebAddIn

java.lang.Object
  extended by de.hagenah.diplomacy.addins.WebAddIn
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class WebAddIn
extends java.lang.Object
implements java.awt.event.ActionListener

This add-in creates a web for some game groups, a game group, or a game.


Constructor Summary
WebAddIn(javax.swing.JFrame parent, Preferences preferences, java.lang.Object obj)
          Each time the add-in is called a new object is created.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Handler for the Browse, OK and Cancel button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAddIn

public WebAddIn(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)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Handler for the Browse, OK and Cancel button.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
event - Indicates which action occured