wt.clients.beans
Class WTTableCell

java.lang.Object
  extended bywt.clients.beans.WTTableCell

public class WTTableCell
extends Object


Field Summary
(package private)  Image image
           
(package private)  String label
           
(package private)  Object object
           
 
Constructor Summary
WTTableCell(Object object)
          Constructor for this class
WTTableCell(Object object, Image image)
           
WTTableCell(Object object, String label)
          Constructor for this class
WTTableCell(Object object, String label, Image image)
          Constructor for this class
 
Method Summary
 Image getCellImage()
          Returns the image being displayed as the image for this cell.
 Object getCellObject()
          Returns the Object maintained by this cell.
 String getCellText()
          Returns the text being displayed as the label for this cell.
 void setCellImage(Image image)
          Sets the image to be displayed as the image for this cell.
 void setCellObject(Object object)
          Set the object to be maintained by this cell.
 void setCellText(String label)
          Sets the text to be displayed as the label for this cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

Image image

object

Object object

label

String label
Constructor Detail

WTTableCell

public WTTableCell(Object object)
Constructor for this class


WTTableCell

public WTTableCell(Object object,
                   String label)
Constructor for this class


WTTableCell

public WTTableCell(Object object,
                   String label,
                   Image image)
Constructor for this class


WTTableCell

public WTTableCell(Object object,
                   Image image)
Method Detail

setCellObject

public void setCellObject(Object object)
Set the object to be maintained by this cell.

Parameters:
object - the Object to be maintained by this cell

getCellObject

public Object getCellObject()
Returns the Object maintained by this cell.

Returns:
the object being maintained by this cell

setCellImage

public void setCellImage(Image image)
Sets the image to be displayed as the image for this cell.

Parameters:
image - the Image to be displayed as the image for this cell

getCellImage

public Image getCellImage()
Returns the image being displayed as the image for this cell.

Returns:
the image to be displayed as the image for this cell

setCellText

public void setCellText(String label)
Sets the text to be displayed as the label for this cell.

Parameters:
label - the label to be displayed for this cell

getCellText

public String getCellText()
Returns the text being displayed as the label for this cell.

Returns:
the String label displayed for this cell