|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.structs.UIFormInitializerStruct
Describes the initial state of a form when presented in a user interface.
| Field Summary | |
protected int |
action
The action taken by the user. |
protected java.lang.String |
currClass
Provides a workspace for storing the current class name, so that the appropriate interface form can be instantiated. |
protected SandInstanceMessage |
currInst
Holds the current instance information for the class being edited. |
protected SandCollectionMessage |
findCollection
The results of the current find action. |
protected int |
findCollIndex
The index of the first element we are currently displaying. |
protected int |
findCollMaxDisplay
Holds the number of collection items to display. |
protected java.lang.String[] |
findKeys
Holds the unique keys from previous dataset pages to support backward traversal. |
protected SandQueryMessage |
findQuery
Holds the query that generated the collection we are working with. |
protected int[] |
modeStack
The mode changes this form has gone through. |
protected java.lang.String |
outputText
Text output to be displayed to the user. |
protected java.lang.String[] |
position
The address of where we are in the overall message being edited. |
protected SandInstanceMessage |
rootMsg
The root message we are working with. |
protected UIFormQueryStruct |
userQuery
If specified, this query is displayed and processed while the form context information remains available. |
| Constructor Summary | |
UIFormInitializerStruct()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int[] modeStack
enumerated constant values:
_UNDEFINED = 0_LISTING = 1_UPDATING = 2_ADDING = 3_FINDING = 4protected java.lang.String[] position
The address of where we are in the overall message being edited.
A single message may actually be represented over several forms as
the user traverses over contained elements. The position keeps
track of the traversal path.
In print form, the position is represented as dot access notation from the root message, using array access indicators for access into array element references. So for example:
Configuration.initialData[0]
protected java.lang.String currClass
Provides a workspace for storing the current class name, so
that the appropriate interface form can be instantiated.
protected SandInstanceMessage currInst
Holds the current instance information for the class being edited. Having the new information here, and the original information in the msg variable, allows for appropriate implementation of cancel/add/edit behavior.
protected SandInstanceMessage rootMsg
protected SandCollectionMessage findCollection
protected int findCollIndex
protected int findCollMaxDisplay
protected SandQueryMessage findQuery
protected java.lang.String[] findKeys
protected int action
The action taken by the user. If defined when the form is created, the associated action is set as the default (if possible).
enumerated constant values:
_UNDEFINED = 0_INIT = 1_CUSTOM = 2_DRILLDOWN = 3_PARENT = 4_DEREF = 5_SELECT = 6_EDIT = 7_ADD = 8_FIND = 9_CANCEL = 10_SAVE = 11_PREVIOUS = 12_NEXT = 13_DELETE = 14_REMOVE = 15_NEW = 16_MOVEUP = 17_MOVEDOWN = 18_OK = 19_HELP = 20protected UIFormQueryStruct userQuery
If specified, this query is displayed and processed while the form
context information remains available. This field should only be
set when clarification or other user interaction is necessary. Use
the outputText mechanism for informational statements, warnings,
or errors in form processing.
protected java.lang.String outputText
Text output to be displayed to the user. This typically consists
of warnings or errors that occur during normal form processing, such
as violations of business logic enforced by back-end nodes.
| Constructor Detail |
public UIFormInitializerStruct()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||