edu.rit.survey
Interface SurveyUIListener

All Known Implementing Classes:
Survey

public interface SurveyUIListener

Interface SurveyUIListener specifies the interface for an object that receives user inputs from a SurveyUI.


Method Summary
 void newSurvey()
          Report that the user wants to create a new survey.
 void setSurvey(int i)
          Report that the user selected the given survey.
 void setVote(int i)
          Report that the user voted for the given answer.
 

Method Detail

newSurvey

void newSurvey()
Report that the user wants to create a new survey.


setSurvey

void setSurvey(int i)
Report that the user selected the given survey.

Parameters:
i - Survey index.

setVote

void setVote(int i)
Report that the user voted for the given answer.

Parameters:
i - Answer index (0-3).


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.