|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<CellEntry>
com.google.gdata.data.spreadsheet.CellEntry
public class CellEntry
Atom Entry for a single cell for the Google Spreadsheets cells feed.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
|---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
|---|
AbstractExtension.AttributesHandler |
| Field Summary | |
|---|---|
static Category |
CATEGORY
Category used to label entries that contain cell data. |
static java.lang.String |
KIND
Kind category term used to label the entries that contains cell data. |
| Fields inherited from class com.google.gdata.data.BaseEntry |
|---|
state |
| Fields inherited from class com.google.gdata.data.ExtensionPoint |
|---|
xmlBlob |
| Fields inherited from class com.google.gdata.data.AbstractExtension |
|---|
localName, namespace |
| Constructor Summary | |
|---|---|
CellEntry()
Constructs an empty CellEntry to be populated by the XML parsing process. |
|
CellEntry(BaseEntry sourceEntry)
Constructs from a copy. |
|
CellEntry(Cell cell)
Constructs a CellEntry with a new cell. |
|
CellEntry(int row,
int col,
java.lang.String newInputValue)
Constructs a CellEntry that can be posted to overwrite an existing cell. |
|
| Method Summary | |
|---|---|
void |
changeInputValueLocal(java.lang.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. |
| Methods inherited from class com.google.gdata.data.BaseEntry |
|---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setService, setSource, setUpdated, setVersionId, update, visitChildren |
| Methods inherited from class com.google.gdata.data.AbstractExtension |
|---|
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KIND
public static final Category CATEGORY
| Constructor Detail |
|---|
public CellEntry()
public CellEntry(int row,
int col,
java.lang.String newInputValue)
row - the row location of the cellcol - the column location of the cellnewInputValue - the string to write the cell with; if it starts with
an "=" sign it is a formula, otherwise it is a literal valuepublic CellEntry(Cell cell)
public CellEntry(BaseEntry sourceEntry)
sourceEntry - source to copy from| Method Detail |
|---|
public Cell getCell()
public void setTitle(TextConstruct v)
setTitle in class BaseEntry<CellEntry>public void setContent(TextConstruct v)
setContent in class BaseEntry<CellEntry>public void setContent(Content v)
setContent in class BaseEntry<CellEntry>public void setSummary(TextConstruct v)
setSummary in class BaseEntry<CellEntry>public void changeInputValueLocal(java.lang.String newInputValue)
newInputValue - the new input value (starts with '=' if a formula)public void declareExtensions(ExtensionProfile extProfile)
declareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public void setAutomaticallyGeneratedTitle(TextConstruct v)
public void setAutomaticallyGeneratedContent(Content v)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||