|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.interview.Interview
com.sun.interview.ListQuestion.Body
public abstract static class ListQuestion.Body
A special subtype of Interview to use for the questions in the body of a loop. The body has an index, which identifies its position within the list of current loop bodies, and a summary string to identify this instance of the loop body.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.interview.Interview |
---|
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer |
Field Summary |
---|
Fields inherited from class com.sun.interview.Interview |
---|
CHECKSUM, EXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, TEMPLATE_PREF |
Constructor Summary | |
---|---|
protected |
ListQuestion.Body(ListQuestion question,
int index)
Create an instance of a loop body. |
Method Summary | |
---|---|
java.lang.String |
getDefaultSummary()
Get a default summary to be used to identify this instance of the the loop body, to be used when getSummary() returns null. |
int |
getIndex()
Get the position of this loop body within the set of all the loop bodies for the question. |
abstract java.lang.String |
getSummary()
Get a string to uniquely identify this instance of the loop body, or null if there is insufficient information so far to make a determination. |
boolean |
isBodyFinishable()
Check if this body has been completed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ListQuestion.Body(ListQuestion question, int index)
question
- The loop question for which this is a body instance.index
- The position of this body within the set of all the bodies.
The value is normally just a hint (albeit a possibly string one).
The index will be updated if necessary when the body is actually
set as one of the bodies of the loop.Method Detail |
---|
public abstract java.lang.String getSummary()
public int getIndex()
public java.lang.String getDefaultSummary()
public boolean isBodyFinishable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |