actionListeners
Class LicenseDisplayDialogActionListener

java.lang.Object
  extended by actionListeners.LicenseDisplayDialogActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

ActionListener for LicenseDisplayDialog.


Field Summary
private  LicenseDisplayDialog dialog
          The license display dialog.
private  LicenseChecker licenseChecker
          The LicenseChecker.
private static boolean printLog
          Flag to enable debug message printing for this class.
 
Constructor Summary
LicenseDisplayDialogActionListener(LicenseDisplayDialog dialog, LicenseChecker licenseChecker)
          Instantiates a new license display dialog action listener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void log(java.lang.String message)
          Prints debug information to stdout when printLog is set to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

printLog

private static final boolean printLog
Flag to enable debug message printing for this class.

See Also:
Constant Field Values

dialog

private LicenseDisplayDialog dialog
The license display dialog.


licenseChecker

private LicenseChecker licenseChecker
The LicenseChecker.

Constructor Detail

LicenseDisplayDialogActionListener

public LicenseDisplayDialogActionListener(LicenseDisplayDialog dialog,
                                          LicenseChecker licenseChecker)
Instantiates a new license display dialog action listener.

Parameters:
dialog - the dialog
licenseChecker - the license checker
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

log

private void log(java.lang.String message)
Prints debug information to stdout when printLog is set to true.

Parameters:
message - the message