| Package | Description |
|---|---|
| org.javarosa.core.model | |
| org.javarosa.core.model.actions | |
| org.javarosa.form.api | |
| org.javarosa.xform.parse |
| Modifier and Type | Class and Description |
|---|---|
class |
FormDef
Definition of a form.
|
class |
GroupDef
The definition of a group in a form or questionaire.
|
class |
QuestionDef
The definition of a Question to be presented to users when
filling out a form.
|
class |
RangeQuestion
A Range-type question, with information pulled from attributes of the range form element
|
| Modifier and Type | Method and Description |
|---|---|
IFormElement |
FormDef.getChild(FormIndex index) |
IFormElement |
FormDef.getChild(int i) |
IFormElement |
GroupDef.getChild(int i) |
IFormElement |
IFormElement.getChild(int i) |
IFormElement |
QuestionDef.getChild(int i) |
| Modifier and Type | Method and Description |
|---|---|
List<IFormElement> |
FormDef.explodeIndex(FormIndex index)
Dereference the form index and return a List of all interstitial nodes
(top-level parent first; index target last)
Ignore 'new-repeat' node for now; just return/stop at ref to
yet-to-be-created repeat node (similar to repeats that already exist)
|
List<IFormElement> |
FormDef.getChildren() |
List<IFormElement> |
GroupDef.getChildren() |
List<IFormElement> |
IFormElement.getChildren() |
List<IFormElement> |
QuestionDef.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
void |
FormDef.addChild(IFormElement fe) |
void |
GroupDef.addChild(IFormElement fe) |
void |
IFormElement.addChild(IFormElement fe) |
void |
QuestionDef.addChild(IFormElement fe) |
static QuestionDef |
FormDef.findQuestionByRef(TreeReference ref,
IFormElement fe)
Traverses recursively the given
IFormElement node tree and returns
the first QuestionDef that matches the binding defined in the
given TreeReference. |
void |
FormElementStateListener.formElementStateChanged(IFormElement question,
int changeFlags) |
void |
FormDef.registerElementWithActionTriggeredByToplevelEvent(IFormElement element)
Records that this question or group has a nested action triggered by a top-level event so that the action can be
triggered without having to traverse all elements.
|
| Modifier and Type | Method and Description |
|---|---|
FormIndex |
FormDef.buildIndex(List<Integer> indexes,
List<Integer> multiplicities,
List<IFormElement> elements) |
void |
FormDef.collapseIndex(FormIndex index,
List<Integer> indexes,
List<Integer> multiplicities,
List<IFormElement> elements) |
TreeReference |
FormDef.getChildInstanceRef(List<IFormElement> elements,
List<Integer> multiplicities) |
void |
FormDef.setChildren(List<IFormElement> children) |
void |
GroupDef.setChildren(List<IFormElement> children) |
void |
IFormElement.setChildren(List<IFormElement> v) |
void |
QuestionDef.setChildren(List<IFormElement> v) |
static void |
FormDef.updateItemsetReferences(List<IFormElement> children)
Recursively traverses the main instance and initializes any questions with
dynamic ItemsetBindings.
|
| Constructor and Description |
|---|
GroupDef(int id,
List<IFormElement> children,
boolean repeat) |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionController.triggerActionsFromEvent(String event,
Set<IFormElement> nestedElements,
FormDef model) |
| Modifier and Type | Field and Description |
|---|---|
protected IFormElement |
FormEntryCaption.element |
| Modifier and Type | Method and Description |
|---|---|
IFormElement |
FormEntryCaption.getFormElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
FormEntryCaption.formElementStateChanged(IFormElement element,
int changeFlags) |
| Modifier and Type | Method and Description |
|---|---|
IDataReference |
XFormParser.getAbsRef(IDataReference ref,
IFormElement parent) |
IDataReference |
IXFormParserFunctions.getAbsRef(IDataReference ref,
IFormElement parent) |
protected QuestionDef |
XFormParser.parseUpload(IFormElement parent,
org.kxml2.kdom.Element e,
int controlUpload) |
Copyright © 2023. All rights reserved.