public class FieldData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
col
The column at which the field starts within the map.
|
java.lang.String |
label
The field label, or null if it is not labelled.
|
int |
len
The field length.
|
int |
row
The row at which the field starts within the map.
|
Constructor and Description |
---|
FieldData(int r,
int c,
int l)
Constructs a FieldData object with the given information.
|
FieldData(java.lang.String n,
int r,
int c,
int l)
Constructs a FieldData object with the given information.
|
public int row
public int col
public int len
public java.lang.String label
public FieldData(int r, int c, int l)
r
- rowc
- columnl
- lengthpublic FieldData(java.lang.String n, int r, int c, int l)
n
- labelr
- rowc
- columnl
- lengthpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an Object