|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ctg.epi.Map
public class 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 that it can be matched with a screen.
Constructor Summary | |
---|---|
Map(MapData md,
int[] fi,
FieldData[] fd)
Constructs a Map object with a MapData object that describes the map, an index of labelled fields and an array of FieldData objects that describe the fields within the map. |
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)
Returns the field at the given index within this map. |
Field |
field(int row,
int column)
Returns 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. |
void |
setScreen(Screen s)
Sets the screen associated with this map and check if it is valid. |
java.lang.String |
toString()
Returns a String representation of the Map. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 mapMethod 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 field
public Field field(int row, int column)
row
- the rowcolumn
- the column
public java.lang.String getName()
public java.lang.String[] getFieldLabels()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an Object
public java.lang.String toString()
toString
in class java.lang.Object
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |