Package de.xima.fc.gui.common.model.data
Class SheetCell<T extends Comparable<T>>
java.lang.Object
de.xima.fc.gui.common.model.data.SheetCell<T>
- All Implemented Interfaces:
 Serializable,Comparable<SheetCell<T>>
public class SheetCell<T extends Comparable<T>>
extends Object
implements Comparable<SheetCell<T>>, Serializable
- Author:
 - XIMA MEDIA GmbH
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintbooleanThe reference or original value of the sheet cell.getValue()inthashCode()booleanbooleanCheck if thevalueobject and thereferenceobject are equalvoidSet the value to the reference valuevoidsetReadOnly(boolean readOnly) voidsetReference(T reference) voidtoString() 
- 
Constructor Details
- 
SheetCell
 
 - 
 - 
Method Details
- 
getValue
- Returns:
 - the value
 
 - 
setValue
- Parameters:
 value- the value to set
 - 
getReference
The reference or original value of the sheet cell. May be used to check if the value of this cell is the default value or was changed manually.- Returns:
 - the reference
 
 - 
setReference
- Parameters:
 reference- the reference to set
 - 
isReferenceEqual
public boolean isReferenceEqual()Check if thevalueobject and thereferenceobject are equal- Returns:
 trueif the value and the reference object are equal, otherwisefalse
 - 
isReadOnly
public boolean isReadOnly() - 
setReadOnly
public void setReadOnly(boolean readOnly)  - 
resetToReference
public void resetToReference()Set the value to the reference value - 
hashCode
public int hashCode() - 
equals
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<T extends Comparable<T>>
 - 
toString
 
 -