public class NSFForm extends NSFDesignNoteBase
Constructor and Description |
---|
NSFForm(NSFDatabase parent,
int noteId) |
Modifier and Type | Method and Description |
---|---|
NSFFormField |
getField(String fieldName,
boolean includeSubforms)
Returns the field for the provided (case-insensitive) name, or
null if
the field does not exist on the form. |
List<NSFFormField> |
getFields(boolean includeSubforms)
Returns a
List of the fields on the form, as NSFFormField , in their order on the form. |
boolean |
isSubform() |
_getInternalNote, doFree, getAliases, getFlagsString, getNote, getNoteID, getParent, getProgrammaticTitle, getTitle, isRefValid
_checkRefValidity, addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation, toString
public NSFForm(NSFDatabase parent, int noteId)
public List<NSFFormField> getFields(boolean includeSubforms) throws DominoException
List
of the fields on the form, as NSFFormField
, in their order on the form.
This optionally may include the fields from non-computed subforms.includeSubforms
- whether the result should include fields from non-computed subformsNSFFormField
s for the formDominoException
- if there is a lower-level-API problem retrieving the list of fieldspublic NSFFormField getField(String fieldName, boolean includeSubforms) throws DominoException
null
if
the field does not exist on the form.fieldName
- the case-insensitive field nameincludeSubforms
- whether to search fields from non-computed subformsNSFFormField
, or null
if not presentDominoException
public boolean isSubform() throws DominoException
DominoException
Copyright © 2014–2018. All rights reserved.