|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreationHelper
An object that handles instantiating concrete classes of the various instances one needs for HSSF and XSSF. Works around a limitation in Java where we cannot have static methods on interfaces or abstract classes. This allows you to get the appropriate class for a given interface, without you having to worry about if you're dealing with HSSF or XSSF.
Method Summary | |
---|---|
AreaReference |
createAreaReference(CellReference topLeft,
CellReference bottomRight)
Creates an area ref from a pair of Cell References.. |
AreaReference |
createAreaReference(java.lang.String reference)
Creates an AreaReference. |
ClientAnchor |
createClientAnchor()
Creates a ClientAnchor. |
DataFormat |
createDataFormat()
Creates a new DataFormat instance |
ExtendedColor |
createExtendedColor()
Creates a XSSF-style Color object, used for extended sheet formattings and conditional formattings |
FormulaEvaluator |
createFormulaEvaluator()
Creates FormulaEvaluator - an object that evaluates formula cells. |
Hyperlink |
createHyperlink(HyperlinkType type)
Creates a new Hyperlink, of the given type |
RichTextString |
createRichTextString(java.lang.String text)
Creates a new RichTextString instance |
Method Detail |
---|
RichTextString createRichTextString(java.lang.String text)
text
- The text to initialise the RichTextString withDataFormat createDataFormat()
Hyperlink createHyperlink(HyperlinkType type)
FormulaEvaluator createFormulaEvaluator()
ExtendedColor createExtendedColor()
ClientAnchor createClientAnchor()
Drawing
AreaReference createAreaReference(java.lang.String reference)
reference
- cell reference
AreaReference createAreaReference(CellReference topLeft, CellReference bottomRight)
topLeft
- cell referencebottomRight
- cell reference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |