FileDocCategorySizeDatePackage
CellEntry.javaAPI DocAndroid 1.5 API3334Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.spreadsheets.data

CellEntry

public class CellEntry extends com.google.wireless.gdata.data.Entry
Represents an entry in a GData Spreadsheets Cell-based feed.

Fields Summary
private int
col
The spreadsheet column of the cell.
private String
inputValue
The cell entry's inputValue attribute
private String
numericValue
The cell entry's numericValue attribute
private int
row
The spreadsheet row of the cell
private String
value
The cell entry's text sub-element
Constructors Summary
public CellEntry()
Default constructor.


       
      
        super();
    
Methods Summary
public intgetCol()
Fetches the cell's spreadsheet column.

return
the cell's spreadsheet column

        return col;
    
public java.lang.StringgetInputValue()
Fetches the cell's inputValue attribute, which is the actual user input rather (such as a formula) than computed value of the cell.

return
the cell's inputValue

        return inputValue;
    
public java.lang.StringgetNumericValue()
Fetches the cell's numericValue attribute, which is a decimal representation.

return
the cell's numericValue

        return numericValue;
    
public intgetRow()
Fetches the cell's spreadsheet row.

return
the cell's spreadsheet row

        return row;
    
public java.lang.StringgetValue()
Fetches the cell's contents, after any computation. For example, if the cell actually contains a formula, this will return the formula's computed value.

return
the computed value of the cell

        return value;
    
public booleanhasNumericValue()
Indicates whether the cell's contents are numeric.

return
true if the contents are numeric, or false if not

        return numericValue != null;
    
public voidsetCol(int col)
Sets the cell's spreadsheet column.

param
col the new spreadsheet column of the cell

        this.col = col;
    
public voidsetInputValue(java.lang.String inputValue)
Sets the cell's actual contents (such as a formula, or a raw value.)

param
inputValue the new inputValue of the cell

        this.inputValue = inputValue;
    
public voidsetNumericValue(java.lang.String numericValue)
Sets the cell's numeric value. This can be different from the actual value; for instance, the actual value may be a thousands-delimited pretty string, while the numeric value could be the raw decimal.

param
numericValue the cell's new numericValue

        this.numericValue = numericValue;
    
public voidsetRow(int row)
Sets the cell's spreadsheet row.

param
row the new spreadsheet row of the cell

        this.row = row;
    
public voidsetValue(java.lang.String value)
Sets the cell's computed value.

param
value the new value of the cell

        this.value = value;