public interface FieldList extends List<Field>
Modifier and Type | Method and Description |
---|---|
Field |
findField(Position pos)
Returns the field containing the specified position.
|
Field |
findField(String text,
Position pos,
PresentationSpace.SearchDirection direction)
Returns the field containing the specified text.
|
PresentationSpace |
getPresentationSpace()
Returns the PresentationSpace instance which created this field list
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
PresentationSpace getPresentationSpace()
Field findField(Position pos) throws InvalidPositionException
pos
- the position of the field of interest. The position can be
anywhere within the field. For 3270 and 5250 hosts the position can also
be the space that contains the field delimiter.InvalidPositionException
- if the position is out of range.Field findField(String text, Position pos, PresentationSpace.SearchDirection direction) throws InvalidPositionException
text
- the text string to search for.pos
- the position at which to start the search.direction
- the direction of the search.InvalidPositionException
- if the position is out of range.Copyright © 2020 Micro Focus. All rights reserved.