com.ibm.eNetwork.ECL Class ECLFieldList
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--
com.ibm.eNetwork.ECL.ECLFieldList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, ECLConstants, java.util.List, java.io.Serializable
- public class ECLFieldList
- extends java.util.Vector
- implements ECLConstants
ECLFieldList contains a collection of the fields in the presentation space. It provides methods to iterate through the fields, find fields based on location, and find fields containing a given string. Each element of the collection is an instance of ECLField.
ECLFieldList can only be accessed through ECLPS using the GetFieldList() method. ECLFieldList is a static view of the presentation space and does not reflect changes made to the presentation space after its construction. The field list can be updated with a new snapshot of the presentation space using the Refresh() method.
Note:All ECLField objects returned by methods in this class are invalidated when Refresh() is called.
- See Also:
-
ECLField
,ECLPS
, Serialized Form
Method Summary | |
---|---|
ECLField
|
FindField
(int pos)
Finds the field
which contains the specified linear position. |
ECLField
|
FindField
(int row, int col)
Finds the field
which contains the specified row and column coordinate. |
ECLField
|
FindField
(java.lang.String text, int direction)
Finds the field
which contains the given string. |
ECLField
|
FindField
(java.lang.String text, int pos, int direction)
Finds the field
which contains the given string. |
ECLField
|
FindField
(java.lang.String text, int row, int col, int direction)
Finds the field
which contains the given string. |
int
|
GetFieldCount
()
Gets the number
of fields in the field list. |
ECLField
|
GetFirstField
()
Returns the
first field in the field list. |
ECLField
|
GetFirstField
(int attr)
Gets the first
field in the field list which matches the specified attributes. |
ECLField
|
GetNextField
( ECLField afterThis)
Returns the next
field in the field list after the given field. |
ECLField
|
GetNextField
( ECLField afterThis, int attr)
Returns the next
field in the field list with the specified attributes. |
void
|
Refresh
()
Refreshes the
field list with a snapshot of the fields in the current presentation
space. |
void
|
Refresh
(int planes)
Refreshes the
field list with a snapshot of the fields in the current presentation
space. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements,
ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf,
lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt,
setSize, size, subList, toArray, toArray, toString, trimToSize
|
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait
|
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator
|
Method Detail |
Refresh
public void
Refresh()
throws
ECLErr
Refresh
public void
Refresh(int planes)
throws
ECLErr
GetFieldCount
public int
GetFieldCount()
GetFirstField
public
ECLField
GetFirstField(int attr)
GetFirstField
public
ECLField
GetFirstField()
GetNextField
public
ECLField
GetNextField(
ECLField afterThis,
int attr)
GetNextField
public
ECLField
GetNextField(
ECLField afterThis)
FindField
public
ECLField
FindField(int pos)
throws
ECLErr
FindField
public
ECLField
FindField(int row,
int col)
throws
ECLErr
FindField
public
ECLField
FindField(java.lang.String text,
int direction)
throws
ECLErr
FindField
public
ECLField
FindField(java.lang.String text,
int pos,
int direction)
throws
ECLErr
FindField
public
ECLField
FindField(java.lang.String text,
int row,
int col,
int direction)
throws
ECLErr
PREV CLASS NEXT CLASS | FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |