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
Fields inherited from class org.concord.pedagogica.ui.CustomQuestion |
activityAlias, answerFont, answers, background, fontSize, listeners, modified, platform, questionCount, questionFont, questionPrefix, questionStates, questionTable, questionText, text |
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 |
DEFAULT_FONT
public static final java.awt.Font DEFAULT_FONT
CustomEssayFill
public CustomEssayFill()
CustomEssayFill
public CustomEssayFill(java.lang.String text)
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