org.concord.pedagogica.ui
Class CustomEssayFill

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

public class CustomEssayFill
extends CustomQuestion


Field Summary
static java.awt.Font DEFAULT_FONT
           
 
Fields inherited from class org.concord.pedagogica.ui.CustomQuestion
activityAlias, answerFont, answers, background, fontSize, listeners, modified, platform, questionCount, questionFont, questionPrefix, questionStates, questionTable, questionText, text
 
Constructor Summary
CustomEssayFill()
           
CustomEssayFill(java.lang.String text)
           
 
Method Summary
 java.lang.String getAnswer(int index)
           
 javax.swing.text.JTextComponent getAnswerComponent()
           
 int getAnswerLength()
           
 java.lang.String[] getAnswers()
           
 QuestionState getQuestionState()
           
 boolean isAnswerTextVisible()
           
 void setAnswerComponent(javax.swing.text.JTextComponent answerComponent)
           
 void setAnswers(java.lang.String[] theAnswers)
           
 void setAnswerTextVisible(boolean value)
           
 void setBackground(java.awt.Color color)
           
 void setQuestionState(QuestionState state)
           
 
Methods inherited from class org.concord.pedagogica.ui.CustomQuestion
actionPerformed, addQuestionListener, caretUpdate, generateQuestionEvent, generateQuestionID, getActivityAlias, getAnswerFont, getQuestion, getQuestionFont, getQuestionID, getQuestionID, getQuestionPrefix, getQuestionState, getQuestionText, getText, isModified, isQuestionTextVisible, removeQuestionListener, restoreQuestion, saveQuestion, saveQuestion, setActivityAlias, setAnswerFont, setModified, setQuestion, setQuestionFont, setQuestionID, setQuestionID, setQuestionPrefix, setQuestionTextVisible, setText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FONT

public static final java.awt.Font DEFAULT_FONT
Constructor Detail

CustomEssayFill

public CustomEssayFill()

CustomEssayFill

public CustomEssayFill(java.lang.String text)
Method Detail

getQuestionState

public QuestionState getQuestionState()
Overrides:
getQuestionState in class CustomQuestion

setQuestionState

public void setQuestionState(QuestionState state)
Overrides:
setQuestionState in class CustomQuestion

setAnswerTextVisible

public void setAnswerTextVisible(boolean value)

isAnswerTextVisible

public boolean isAnswerTextVisible()

setAnswerComponent

public void setAnswerComponent(javax.swing.text.JTextComponent answerComponent)

getAnswerComponent

public javax.swing.text.JTextComponent getAnswerComponent()

setBackground

public void setBackground(java.awt.Color color)
Overrides:
setBackground 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

getAnswerLength

public int getAnswerLength()
Overrides:
getAnswerLength in class CustomQuestion

getAnswer

public java.lang.String getAnswer(int index)
Overrides:
getAnswer in class CustomQuestion