public class InterviewSet extends Interview
Interview.callInterview(com.sun.interview.Interview, com.sun.interview.Question)
in the usual way.Interview.Interview(Interview, String)
Modifier and Type | Class and Description |
---|---|
static class |
InterviewSet.CycleFault
This exception will be thrown when an attempt to made to specify a dependency
that would create a dependency cycle.
|
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer
EXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, helpSetFactory, 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 |
InterviewSet(Interview parent,
java.lang.String baseTag)
Create an interview set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDependency(Interview child,
Interview dependency)
Specify a dependency for a child interview.
|
protected void |
removeDependency(Interview child,
Interview dependency)
Remove any dependency between two interviews, and hence any ordering
constraint between these two interviews.
|
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 InterviewSet(Interview parent, java.lang.String baseTag)
parent
- the parent interview for this interviewbaseTag
- A name that will be used to qualify the tags of any
sub-interviews in this interview, to help ensure uniqueness of those
tags.protected void addDependency(Interview child, Interview dependency) throws InterviewSet.CycleFault
child
- the interview which depends on (and will be executed after)
the dependencydependency
- the interview on which the child interview depends,
and which will be executed before the child interviewInterviewSet.CycleFault
- if a dependency cycle would be createdremoveDependency(com.sun.interview.Interview, com.sun.interview.Interview)
protected void removeDependency(Interview child, Interview dependency)
child
- the interview which depends on the dependencydependency
- the interview on which the child interview dependsCopyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.