|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--harmonic.mz.gui.InputEntrySequence
Sequencial input data structure that post dialogs or focuses entries to gather user input in sequence.
| Constructor Summary | |
InputEntrySequence(EntryStarter starter)
Constructs an InputEntrySequence |
|
| Method Summary | |
void |
add(ValueEntry entry)
Short version: add(s, null) |
void |
add(ValueEntry entry,
java.lang.String prompt)
Adds a input entry device to the sequence. |
void |
begin()
Begin taking input. |
int |
currentIndex()
Return current index of sequence |
void |
defeatNext()
Calling this once will make the next call to next() ineffective |
ValueEntry |
entryAt(int i)
Return i'th entry in sequence. |
void |
entryDeviceChanged(EntryEvent event)
|
void |
entryValueChanged(EntryEvent event)
|
void |
finish(ValueEntry entry)
|
int |
nEntry()
Return number of entries in sequence. |
boolean |
next()
Move to next input device. |
void |
removeAllEntries()
Remove entries and unregisters listeners |
void |
setCurrentEntry(ValueEntry entry)
Jump to specified input device, for when mouse is pressed on one of the widgets. |
void |
start(ValueEntry entry)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InputEntrySequence(EntryStarter starter)
| Method Detail |
public void entryDeviceChanged(EntryEvent event)
entryDeviceChanged in interface EntryListenerpublic void entryValueChanged(EntryEvent event)
entryValueChanged in interface EntryListenerpublic void add(ValueEntry entry)
public void add(ValueEntry entry,
java.lang.String prompt)
prompt - String to prompt user with when it is reachedpublic void removeAllEntries()
public int nEntry()
public int currentIndex()
public ValueEntry entryAt(int i)
public void begin()
public boolean next()
public void setCurrentEntry(ValueEntry entry)
public void defeatNext()
public void start(ValueEntry entry)
public void finish(ValueEntry entry)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||