|
Spirograph Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspirograph.TextAreaCodeSource
A code source that takes student code directly from a pair of
TextArea
s.
Constructor Summary | |
TextAreaCodeSource(java.awt.TextArea cta,
java.awt.TextArea fta)
Creates a new instance of TextAreaCodeSource |
Method Summary | |
java.lang.String |
getCode()
Return the contents of the TextArea for the code body. |
java.lang.String |
getFields()
Return the contents of the TextArea for the fields. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextAreaCodeSource(java.awt.TextArea cta, java.awt.TextArea fta)
cta
- The TextArea
for the code bodyfta
- The TextArea
for the fields codeMethod Detail |
public java.lang.String getCode()
TextArea
for the code body.
getCode
in interface CodeSource
public java.lang.String getFields()
TextArea
for the fields.
getFields
in interface CodeSource
|
Spirograph Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |