wt.clients.beans.explorer
Class UniqueTextAndImageCell

java.lang.Object
  extended bysymantec.itools.awt.multiList.Cell
      extended bysymantec.itools.awt.multiList.TextAndImageCell
          extended bywt.clients.beans.explorer.UniqueTextAndImageCell
All Implemented Interfaces:
ImageObserver, Serializable

public class UniqueTextAndImageCell
extends symantec.itools.awt.multiList.TextAndImageCell

This is a helper class to the WTList class. It contains and draws the image and text of a cell. It contains a unique identifier for the object within the cell.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
protected  Object detail
           
protected  String uniqueIdentity
           
 
Fields inherited from class symantec.itools.awt.multiList.TextAndImageCell
im, list, text
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
UniqueTextAndImageCell(symantec.itools.awt.MultiList l, String s, Image i, String identity, Object detail)
          Constructs a UniqueTextAndImageCell with the given text and image values.
UniqueTextAndImageCell(symantec.itools.awt.MultiList l, String s, String identity, Object detail)
          Constructs a UniqueTextAndImageCell with the given text and image values.
 
Method Summary
 Object getDetail()
          Get the value for the cell
 String getUniqueIdentity()
          Get the unique identifying string for the cell
 
Methods inherited from class symantec.itools.awt.multiList.TextAndImageCell
drawCell, getImage, getText, imageUpdate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uniqueIdentity

protected String uniqueIdentity

detail

protected Object detail
Constructor Detail

UniqueTextAndImageCell

public UniqueTextAndImageCell(symantec.itools.awt.MultiList l,
                              String s,
                              Image i,
                              String identity,
                              Object detail)
Constructs a UniqueTextAndImageCell with the given text and image values.

Parameters:
l - the MultiList this cell is in
s - the cell's text value
i - the cell's image value
identity - the cell's unique identity

UniqueTextAndImageCell

public UniqueTextAndImageCell(symantec.itools.awt.MultiList l,
                              String s,
                              String identity,
                              Object detail)
Constructs a UniqueTextAndImageCell with the given text and image values.

Parameters:
l - the MultiList this cell is in
s - the cell's text value
identity - the cell's unique identity
Method Detail

getUniqueIdentity

public String getUniqueIdentity()
Get the unique identifying string for the cell

Returns:
the identifying string

getDetail

public Object getDetail()
Get the value for the cell

Returns:
the value