public class

CellEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.spreadsheet.CellEntry

Class Overview

Atom Entry for a single cell for the Google Spreadsheets cells feed.

Summary

Constants
String KIND Kind category term used to label the entries that contains cell data.
Fields
public static final Category CATEGORY Category used to label entries that contain cell data.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
CellEntry()
Constructs an empty CellEntry to be populated by the XML parsing process.
CellEntry(int row, int col, String newInputValue)
Constructs a CellEntry that can be posted to overwrite an existing cell.
CellEntry(Cell cell)
Constructs a CellEntry with a new cell.
CellEntry(BaseEntry sourceEntry)
Constructs from a copy.
Public Methods
void changeInputValueLocal(String newInputValue)
Updates the cell's formula so it can be sent back to the server.
void declareExtensions(ExtensionProfile extProfile)
Declares the extensions used by the XML parser in the given profile object.
Cell getCell()
Yields the <gd:cell> element that makes up this Cell Entry.
void setAutomaticallyGeneratedContent(Content v)
Lets the GData server set the content.
void setAutomaticallyGeneratedTitle(TextConstruct v)
Lets the GData server set the title.
void setContent(Content v)
Throws an exception, preventing setting the server-generated field.
void setContent(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
void setSummary(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
void setTitle(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

public static final String KIND

Kind category term used to label the entries that contains cell data.

Constant Value: "http://schemas.google.com/spreadsheets/2006#cell"

Fields

public static final Category CATEGORY

Category used to label entries that contain cell data.

Public Constructors

public CellEntry ()

Constructs an empty CellEntry to be populated by the XML parsing process.

public CellEntry (int row, int col, String newInputValue)

Constructs a CellEntry that can be posted to overwrite an existing cell.

Parameters
row The row location of the cell
col The column location of the cell
newInputValue The string to write the cell with; if it starts with an "=" sign it is a formula, otherwise it is a literal value

public CellEntry (Cell cell)

Constructs a CellEntry with a new cell.

Parameters
cell

public CellEntry (BaseEntry sourceEntry)

Constructs from a copy.

Parameters
sourceEntry Source to copy from

Public Methods

public void changeInputValueLocal (String newInputValue)

Updates the cell's formula so it can be sent back to the server. Note that this destroys the cell's value!

Parameters
newInputValue The new input value (starts with '=' if a formula)

public void declareExtensions (ExtensionProfile extProfile)

Declares the extensions used by the XML parser in the given profile object.

Parameters
extProfile The ExtensionProfile to initialize.

public Cell getCell ()

Yields the <gd:cell> element that makes up this Cell Entry.

public void setAutomaticallyGeneratedContent (Content v)

Lets the GData server set the content.

Parameters
v

public void setAutomaticallyGeneratedTitle (TextConstruct v)

Lets the GData server set the title.

Parameters
v

public void setContent (Content v)

Throws an exception, preventing setting the server-generated field.

Parameters
v

public void setContent (TextConstruct v)

Throws an exception, preventing setting the server-generated field.

Parameters
v

public void setSummary (TextConstruct v)

Throws an exception, preventing setting the server-generated field.

Parameters
v

public void setTitle (TextConstruct v)

Throws an exception, preventing setting the server-generated field.

Parameters
v