Class FormSequence
java.lang.Object
fc.web.forms.FormSequence
A container for a sequence of forms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a form to the sequenceReturns the form with the specified name or null if a form with that name does not existbooleanbooleanvoidspecify true to mark the form as done
-
Constructor Details
-
FormSequence
public FormSequence()
-
-
Method Details
-
add
Adds a form to the sequence- Throws:
IllegalStateException- if a form with the same name already exists in this sequence.
-
setDone
-
isDone
-
get
-
getFirstRemaining
- Returns:
- the first form which is still not done or null if none are remaining to be done.
-
isFinished
- Returns:
- true is all forms in the sequence are marked as done false otherwise. Also returns false if this sequence contains no forms at all.
-