Class COM.Subrahmanyam.table.TElement
java.lang.Object
|
+----COM.Subrahmanyam.table.TElement
- public class TElement
- extends java.lang.Object
TElement is a helper class to encapsulate an element (data and its position)
in the Table. Typically used for setting and getting data from the Table.
- Version:
- 1.0a
- Author:
- Subrahmanyam Allamaraju (sallamar@cvimail.cv.com)
|
Constructor Summary
|
TElement(int row,
int column,
java.lang.String data)
Constructs a TElement object with the specified row, column and data.
|
|
Method Summary
|
|
int
|
getColumn()
Gets the column index.
|
|
java.lang.String
|
getData()
Gets the string data.
|
|
int
|
getRow()
Gets the row index.
|
|
void
|
setColumn(int column)
Sets the column index.
|
|
void
|
setData(java.lang.String data)
Sets the string data.
|
|
void
|
setRow(int row)
Sets the row index.
|
|
java.lang.String
|
toString()
Converts a TElement object to String.
|
| Methods inherited from class java.lang.Object
|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TElement
public TElement(int row,
int column,
java.lang.String data)
- Constructs a TElement object with the specified row, column and data.
- Parameters:
row
- Row index.
column
- Column index.
data
- String data.
getRow
public int getRow()
- Gets the row index.
- See Also:
- setRow(int)
setRow
public void setRow(int row)
- Sets the row index.
- See Also:
- getRow
getColumn
public int getColumn()
- Gets the column index.
- See Also:
- setColumn(int)
setColumn
public void setColumn(int column)
- Sets the column index.
- See Also:
- getColumn
getData
public java.lang.String getData()
- Gets the string data.
- See Also:
- setData(String)
setData
public void setData(java.lang.String data)
- Sets the string data.
- See Also:
- getData
toString
public java.lang.String toString()
- Converts a TElement object to String.
- Overrides:
- toString in class java.lang.Object