|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.table.RDisplayTableCell
This class represents the data that can be stored in a table cell.
Retek Inc. Copyright (c) 2002
Field Summary | |
---|---|
static int |
BOOLEAN
|
static int |
DATE
|
static int |
NUMBER
|
static int |
NUMBER_LEFT
|
static int |
NUMBER_RIGHT
|
static int |
TEXT
|
static int |
TEXT_FULL
|
Constructor Summary | |
---|---|
RDisplayTableCell()
Returns new RDisplayTableCell object. |
Method Summary | |
---|---|
java.awt.Color |
getBackground()
Retrieves the background cell color from the cell. |
java.awt.Color |
getForeground()
Retrieves the foreground cell color from the cell. |
java.lang.Object |
getSecondaryData()
Retrieves the secondary (non-displayed) data within the cell. |
int |
getType()
Retrieves the cell type from the cell. |
java.lang.String |
getValue()
Retrieves the cell value from the cell. |
void |
setBackground(java.awt.Color color)
Assigns a background cell color to the cell. |
void |
setForeground(java.awt.Color color)
Assigns a foreground cell color to the cell. |
void |
setSecondaryData(java.lang.Object object)
Assigns an object within the cell as stored (non-displayed data). |
void |
setType(int type)
Assigns a cell type to the cell. |
void |
setValue(java.lang.String value)
Assigns a cell value to the cell. |
java.lang.String |
toString()
Returns the value of this cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NUMBER
public static final int NUMBER_LEFT
public static final int NUMBER_RIGHT
public static final int TEXT
public static final int TEXT_FULL
public static final int DATE
public static final int BOOLEAN
Constructor Detail |
public RDisplayTableCell()
Method Detail |
public void setType(int type)
type
- The cell type to assign to the cell.public int getType()
public void setValue(java.lang.String value)
value
- The cell value to assign to the cell.public java.lang.String getValue()
public void setSecondaryData(java.lang.Object object)
object
- The object to store.public java.lang.Object getSecondaryData()
public void setForeground(java.awt.Color color)
color
- The color to assign to the foreground of the cell.public java.awt.Color getForeground()
public void setBackground(java.awt.Color color)
color
- The color to assign to the background of the cell.public java.awt.Color getBackground()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |