|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jett.model.WorkbookContext
public class WorkbookContext
A WorkbookContext object holds data relevant to the context of
a Workbook.
| Constructor Summary | |
|---|---|
WorkbookContext()
Initializes things to null/0. |
|
| Method Summary | |
|---|---|
java.util.List<CellListener> |
getCellListeners()
Returns the CellListeners. |
java.util.Map<java.lang.String,java.util.List<CellRef>> |
getCellRefMap()
Returns the cell reference map, a Map of cell key strings to
Lists of CellRefs. |
CellStyleCache |
getCellStyleCache()
Returns the CellStyleCache. |
java.util.List<java.lang.String> |
getFixedSizedCollectionNames()
Returns the List of "fixed size" collection names. |
FontCache |
getFontCache()
Returns the FontCache. |
java.util.Map<java.lang.String,Formula> |
getFormulaMap()
Returns the formula map, a Map of formula keys to
Formulas, with the keys of the format "sheetName!formula". |
java.util.List<java.lang.String> |
getNoImplicitProcessingCollectionNames()
Returns the List of collection names on which NOT to perform
implicit collections processing. |
TagLibraryRegistry |
getRegistry()
Returns the TagLibraryRegistry. |
int |
getSequenceNbr()
Returns the current sequence number. |
java.util.Map<java.lang.String,Style> |
getStyleMap()
Returns the Map of style names to Styles. |
void |
incrSequenceNbr()
Increments the current sequence number. |
void |
setCellListeners(java.util.List<CellListener> cellListeners)
Sets the CellListeners. |
void |
setCellRefMap(java.util.Map<java.lang.String,java.util.List<CellRef>> cellRefMap)
Sets the cell reference map, a Map of cell key strings to
Lists of CellRefs. |
void |
setCellStyleCache(CellStyleCache cache)
Sets the CellStyleCache. |
void |
setFixedSizeCollectionNames(java.util.List<java.lang.String> collNames)
These named Collections have a known size and do not need to
have other Cells shifted out of the way for its contents;
space is already allocated. |
void |
setFontCache(FontCache cache)
Sets the FontCache. |
void |
setFormulaMap(java.util.Map<java.lang.String,Formula> formulaMap)
Sets the formula map, a Map of formula keys to
Formulas, with the keys of the format "sheetName!formula". |
void |
setNoImplicitCollectionProcessingNames(java.util.List<java.lang.String> collNames)
Turn off implicit collections processing for the given Collections specified by the given collection names. |
void |
setRegistry(TagLibraryRegistry registry)
Sets the TagLibraryRegistry. |
void |
setStyleMap(java.util.Map<java.lang.String,Style> styleMap)
Sets Map of style names to Styles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkbookContext()
| Method Detail |
|---|
public TagLibraryRegistry getRegistry()
TagLibraryRegistry.
TagLibraryRegistry.public void setRegistry(TagLibraryRegistry registry)
TagLibraryRegistry.
registry - The TagLibraryRegistry.public java.util.List<CellListener> getCellListeners()
CellListeners.
CellListeners.public void setCellListeners(java.util.List<CellListener> cellListeners)
CellListeners.
cellListeners - The CellListeners.public void setFixedSizeCollectionNames(java.util.List<java.lang.String> collNames)
Collections have a known size and do not need to
have other Cells shifted out of the way for its contents;
space is already allocated.
collNames - A List of Collection names
that don't need other Cells shifted out of the way for
its contents.public java.util.List<java.lang.String> getFixedSizedCollectionNames()
List of "fixed size" collection names.
List of "fixed size" collection names.public void setNoImplicitCollectionProcessingNames(java.util.List<java.lang.String> collNames)
Collections specified by the given collection names.
collNames - The names of the Collections on which NOT
to perform implicit collections processing.public java.util.List<java.lang.String> getNoImplicitProcessingCollectionNames()
List of collection names on which NOT to perform
implicit collections processing.
List of collection names on which NOT to perform
implicit collections processing.public java.util.Map<java.lang.String,Formula> getFormulaMap()
Map of formula keys to
Formulas, with the keys of the format "sheetName!formula".
Map of formula keys to Formulas.public void setFormulaMap(java.util.Map<java.lang.String,Formula> formulaMap)
Map of formula keys to
Formulas, with the keys of the format "sheetName!formula".
formulaMap - A Map of formula keys to
Formulas.public java.util.Map<java.lang.String,java.util.List<CellRef>> getCellRefMap()
Map of cell key strings to
Lists of CellRefs. The cell key strings are
original cell references, and the Lists contain translated
CellRefs, e.g. "Sheet1!C2" => [C2, C3, C4]
Map of cell key strings to Lists of
CellRefs.public void setCellRefMap(java.util.Map<java.lang.String,java.util.List<CellRef>> cellRefMap)
Map of cell key strings to
Lists of CellRefs. The cell key strings are
original cell references, and the Lists contain translated
CellRefs, e.g. "Sheet1!C2" => [C2, C3, C4]
cellRefMap - A Map of cell key strings to
Lists of CellRefs.public int getSequenceNbr()
public void incrSequenceNbr()
public CellStyleCache getCellStyleCache()
CellStyleCache.
CellStyleCache.public void setCellStyleCache(CellStyleCache cache)
CellStyleCache.
cache - A CellStyleCache.public FontCache getFontCache()
FontCache.
FontCache.public void setFontCache(FontCache cache)
FontCache.
cache - The FontCache.public java.util.Map<java.lang.String,Style> getStyleMap()
Map of style names to Styles.
Map of style names to Styles.public void setStyleMap(java.util.Map<java.lang.String,Style> styleMap)
Map of style names to Styles.
styleMap - The Map of style names to
Styles.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||