org.concord.pedagogica.ui
Class CustomTableQuestion

java.lang.Object
  |
  +--org.concord.pedagogica.ui.CustomQuestion
        |
        +--org.concord.pedagogica.ui.CustomTableQuestion
All Implemented Interfaces:
java.awt.event.ActionListener, javax.swing.event.CaretListener, java.util.EventListener, QuestionForm

public class CustomTableQuestion
extends CustomQuestion
implements java.awt.event.ActionListener


Field Summary
protected  java.util.Vector answerList
           
protected  TableInputView answerTable
           
 
Fields inherited from class org.concord.pedagogica.ui.CustomQuestion
activityAlias, answerFont, answers, background, DEFAULT_FONT, fontSize, listeners, modified, platform, questionCount, questionFont, questionPrefix, questionStates, questionTable, questionText, text
 
Constructor Summary
CustomTableQuestion()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 java.lang.String[] getAnswers()
           
 void saveQuestion(java.lang.Object key)
           
 void setAnswers(java.lang.String[] theAnswers)
           
 void setTable(TableInputView table)
           
 
Methods inherited from class org.concord.pedagogica.ui.CustomQuestion
addQuestionListener, caretUpdate, generateQuestionEvent, generateQuestionID, getActivityAlias, getAnswer, getAnswerFont, getAnswerLength, getQuestion, getQuestionFont, getQuestionID, getQuestionID, getQuestionPrefix, getQuestionState, getQuestionState, getQuestionText, getText, isModified, isQuestionTextVisible, removeQuestionListener, restoreQuestion, saveQuestion, setActivityAlias, setAnswerFont, setBackground, setModified, setQuestion, setQuestionFont, setQuestionID, setQuestionID, setQuestionPrefix, setQuestionState, setQuestionTextVisible, setText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

answerTable

protected TableInputView answerTable

answerList

protected java.util.Vector answerList
Constructor Detail

CustomTableQuestion

public CustomTableQuestion()
Method Detail

setTable

public void setTable(TableInputView table)

actionPerformed

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

getAnswers

public java.lang.String[] getAnswers()
Overrides:
getAnswers in class CustomQuestion

setAnswers

public void setAnswers(java.lang.String[] theAnswers)
Overrides:
setAnswers in class CustomQuestion

saveQuestion

public void saveQuestion(java.lang.Object key)
Overrides:
saveQuestion in class CustomQuestion