|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.interview.Checklist
public class Checklist
A Checklist is a sorted collection of messages, for the purpose of providing a list of actions that must be performed in association with a completed interview. Messages are grouped into sections, which are sorted alphabetically; within a section, messages are stored in the order they are added.
| Nested Class Summary | |
|---|---|
static class |
Checklist.Item
An Item contains a message to appear in a checklist. |
| Constructor Summary | |
|---|---|
Checklist()
Create an empty checklist. |
|
| Method Summary | |
|---|---|
void |
add(Checklist.Item item)
Add a new item to this checklist. |
java.lang.String[] |
getSectionMessages(java.lang.String sectionName)
Get the messages in a specific section of this checklist. |
java.lang.String[] |
getSectionNames()
Get the names of the sections for which entries have been added to the checklist. |
boolean |
isEmpty()
Determine whether or not any items have been added to the checklist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Checklist()
| Method Detail |
|---|
public java.lang.String[] getSectionNames()
public java.lang.String[] getSectionMessages(java.lang.String sectionName)
sectionName - the name of the section for which
the iterator should return messages
public void add(Checklist.Item item)
item - The Item to be addedpublic boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||