|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.structs.UIFormQueryStruct
public class UIFormQueryStruct
A query from the system to the user, used when a choice or
acknowledgement is necessary. This is a query from system to user,
in contrast to a query message, which is from user to system.
It is up to the display how the choices will be represented. If a
UIQuery has two or fewer choices, the interface display may choose to
present each option as a button. For example a "yes/no" question might
result in "yes", "no" and "cancel" buttons for brevity. If there are
several choices, then a more extensive selection approach, such as a
drop-down box would be used.
The displayText may also be modified at runtime. So for example
a value of "**LICENSE AGREEMENT**" might be replaced with significant
verbiage at runtime. A known value may also be replaced with localized
text.
| Field Summary | |
|---|---|
protected java.lang.String |
displayText
The text that will be displayed to describe what is going on. |
protected int |
selectionIndex
The default choice to initially display, and the selected option on return. |
protected java.lang.String[] |
selectionOptions
The choices to select from. |
| Constructor Summary | |
|---|---|
UIFormQueryStruct()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String displayText
protected java.lang.String[] selectionOptions
protected int selectionIndex
| Constructor Detail |
|---|
public UIFormQueryStruct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||