org.jsurveylib
Class SurveyAdapter

java.lang.Object
  extended by org.jsurveylib.SurveyAdapter
All Implemented Interfaces:
SurveyListener
Direct Known Subclasses:
SandBoxSwing

public abstract class SurveyAdapter
extends java.lang.Object
implements SurveyListener

This class implements all SurveyListener methods. All method implementations are empty. When possible, you should use this class instead of the SurveyListener because this class will not break code if new methods are added to the SurveyListener. If that is not an issue, you can use the SurveyListener. You should use the SurveyAdapter instead when possible.

The Survey, ClientSurvey, SurveyPanel and the SurveyAdapter are the ONLY objects that the client should interact with directly. Even then, there may be public methods in this class that are marked "for internal use only". Methods marked "for internal use only" may be renamed, removed or replaced in future versions. Because of this uncertain future, it is highly recommended you don't use these methods: Your application may not compile when you upgrade. Most other classes are marked "for internal use only" but even if they aren't, these are the only classes that you should be interacting with.

Copyright (c)2007, Daniel Kaplan

Since:
7.10.4
Author:
Daniel Kaplan

Constructor Summary
SurveyAdapter()
           
 
Method Summary
 void surveyFinished(Survey survey)
          This will be called when the survey is finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveyAdapter

public SurveyAdapter()
Method Detail

surveyFinished

public void surveyFinished(Survey survey)
Description copied from interface: SurveyListener
This will be called when the survey is finished.

Specified by:
surveyFinished in interface SurveyListener
Parameters:
survey - The survey that has just been completed.