|
CICS® Transaction Gateway Programming Reference V3.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ctg.epi.Map
This class represents a BMS map. It contains data about the size of the map and the location of each field within it, so it can be matched with a screen.
Field Summary | |
protected FieldData[] |
fieldData
FieldData class contains information about one field |
protected int[] |
fieldIndex
field index lists the indices of the fields that are labelled |
protected java.lang.String[] |
fieldLabels
array of field labels |
protected MapData |
mapData
MapData class contains information about the map |
protected Screen |
screen
the screen |
protected boolean |
valid
true if the screen object matches this map |
Constructor Summary | |
protected |
Map(Map map)
Constructs a Map object from another Map. |
|
Map(MapData md,
int[] fi,
FieldData[] fd)
Constructs a Map object |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if the given object is a Map equivalent to this one. |
Field |
field(int index)
Return the field at the given index within this map. |
Field |
field(int row,
int column)
Return the field at the given row and column within this map |
java.lang.String[] |
getFieldLabels()
Returns the names of the fields. |
java.lang.String |
getName()
Returns the name of the map. |
Screen |
getScreen()
Returns the screen associated with this map. |
boolean |
isValid()
Returns true if map is currently valid |
protected Field |
namedField(int index)
Return the nth labelled field |
void |
setScreen(Screen s)
Set the screen associated with this map and check if it is valid |
java.lang.String |
toString()
Returns a String representation of the Map. |
protected void |
validate()
Validates map against the current screen |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected transient Screen screen
protected MapData mapData
protected int[] fieldIndex
protected FieldData[] fieldData
protected java.lang.String[] fieldLabels
protected transient boolean valid
Constructor Detail |
public Map(MapData md, int[] fi, FieldData[] fd)
md
- a MapData object describing this mapfi
- an index of labelled fieldsfd
- an array of FieldData objects describing the fields in this mapprotected Map(Map map)
map
- a Map objectMethod Detail |
public boolean isValid()
public void setScreen(Screen s)
s
- the screenpublic Screen getScreen()
public Field field(int index)
index
- the index of the required fieldpublic Field field(int row, int column)
row
- the rowrow
- the columnprotected void validate()
protected Field namedField(int index)
index
- the index of the required fieldpublic java.lang.String getName()
public java.lang.String[] getFieldLabels()
public boolean equals(java.lang.Object o)
o
- an Objectpublic java.lang.String toString()
|
© Copyright IBM Corp. 1994, 1999 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |