public abstract static class ListQuestion.Body extends Interview
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer
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
Modifier | Constructor and Description |
---|---|
protected |
ListQuestion.Body(ListQuestion question,
int index)
Create an instance of a loop body.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addObserver, callInterview, clear, clearMarkedResponses, containsObserver, createChecklist, createChecklistItem, createChecklistItem, createChecklistItem, export, getAllQuestions, getCurrentQuestion, getDefaultImage, getExportIgnoreExceptionPolicy, getExternalProperties, getFirstQuestion, getHelpSet, getInterview, getInterviewSemantics, getParent, getPath, getPathToCurrent, getPropertyKeys, getQuestions, getRawPath, getResourceBundle, getResourceString, getResourceString, getRoot, getTag, getTitle, hasNext, hasValidNext, isChecklistEmpty, isChecksumValid, isEdited, isFinishable, isFirst, isInterviewFinishable, isLast, isRoot, isStarted, iteratePath, iteratePathToCurrent, last, load, load, next, pathContains, pathContains, prev, propagateTemplateForAll, readLocale, removeAllMarkers, removeMarkers, removeObserver, reset, retrieveProperty, retrieveTemplateKeys, retrieveTemplateProperty, save, setBaseTag, setCurrentQuestion, setDefaultImage, setEdited, setExportIgnoreExceptionPolicy, setFirstQuestion, setHelpSet, setHelpSet, setHelpSet, setInterviewSemantics, setResourceBundle, setResourceBundle, setTitle, storeProperty, storeTemplateProperties, storeTemplateProperty, updatePath, updatePath, verifyPathContains, writeLocale
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.public abstract java.lang.String getSummary()
public int getIndex()
public java.lang.String getDefaultSummary()
public boolean isBodyFinishable()
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.