edu.jhu.tmaj.client.arraybuilder.data
Class ArrayCoreCell
java.lang.Object
edu.jhu.tmaj.client.arraybuilder.data.ArrayCoreCell
public final class ArrayCoreCell
- extends java.lang.Object
A cell in the JTable. This class is essentially an ArrayCoreRep, with extras like isSelected,
that will determine how the Renderer displays the color.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NORMAL_SAMPLE_TEXT
public static final java.lang.String NORMAL_SAMPLE_TEXT
- See Also:
- Constant Field Values
DETAILS_SAMPLE_TEXT
public static final java.lang.String DETAILS_SAMPLE_TEXT
- See Also:
- Constant Field Values
ArrayCoreCell
public ArrayCoreCell(ArrayCoreRep arrayCoreRep,
ArrayCoreReferenceBean arrayCoreReferenceBean,
CellLinesReferenceBean cellLinesReferenceBean)
getTissueDiagnosisID
public int getTissueDiagnosisID()
isControl
public boolean isControl()
- Returns true if the user has designated this ArrayCoreCell as a control.
getControlName
public java.lang.String getControlName()
getStringRepresentation
public java.lang.String getStringRepresentation(CellView cellView)
- Returns the Control-Name is isControl(), and the TissueDiagnosisID if it is a regular
ArrayCore.
isSelected
public boolean isSelected()
- Returns true if the user has selected this cell.
setSelected
public void setSelected(boolean isSelected)
getCoordinate
public Coordinate getCoordinate()
getArrayCoreBean
public ArrayCoreRep getArrayCoreBean()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object