| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_COL |
static String |
KEY_COL_SPAN |
static String |
KEY_LEVEL |
static String |
KEY_LEVEL_SPAN |
static String |
KEY_ROW |
static String |
KEY_ROW_SPAN |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
Grid() |
Grid(Hashtable<String,Object> hash) |
Grid(Integer row,
Integer column)
Struct that describes a location (origin coordinates and span) of a vehicle component (Module)
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCol()
Get the column value of this Grid
|
Integer |
getColSpan()
Gets the column span of this Grid
|
Integer |
getLevel()
Gets the level value of this Grid
|
Integer |
getLevelSpan()
Gets the level span of this Grid
|
Integer |
getRow()
Gets the row value of this Grid
|
Integer |
getRowSpan()
Gets the row span of this Grid
|
Grid |
setCol(Integer col)
Sets the column of this Grid
|
Grid |
setColSpan(Integer span)
Sets the column span of this Grid
|
Grid |
setLevel(Integer level)
Sets the level value of this Grid
|
Grid |
setLevelSpan(Integer span)
Sets the level span of this Grid
|
Grid |
setRow(Integer row)
Sets the row's value of this Grid
|
Grid |
setRowSpan(Integer span)
Sets the row span of this Grid
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_COL
public static final String KEY_ROW
public static final String KEY_LEVEL
public static final String KEY_COL_SPAN
public static final String KEY_ROW_SPAN
public static final String KEY_LEVEL_SPAN
public Grid setCol(@NonNull Integer col)
col - the column to be setpublic Integer getCol()
public Grid setRow(@NonNull Integer row)
row - the row to be setpublic Integer getRow()
public Grid setLevel(Integer level)
level - the level to be setpublic Integer getLevel()
public Grid setColSpan(Integer span)
span - the span to be setpublic Integer getColSpan()
public Grid setRowSpan(Integer span)
span - the span to be setpublic Integer getRowSpan()
public Grid setLevelSpan(Integer span)
span - the span to be setpublic Integer getLevelSpan()