public final class HeaderFooter
extends jxl.biff.HeaderFooter
Modifier and Type | Class and Description |
---|---|
static class |
HeaderFooter.Contents
The contents - a simple wrapper around a string buffer
|
Constructor and Description |
---|
HeaderFooter()
Default constructor.
|
HeaderFooter(HeaderFooter hf)
Copy constructor
|
HeaderFooter(java.lang.String s)
Constructor used when reading workbooks to separate the left, right
a central part of the strings into their constituent parts
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the contents of the header/footer
|
HeaderFooter.Contents |
getCentre()
Accessor for the contents which in the centre of the page
|
HeaderFooter.Contents |
getLeft()
Accessor for the contents which appear on the left hand side of the page
|
HeaderFooter.Contents |
getRight()
Accessor for the contents which appear on the right hand side of the page
|
java.lang.String |
toString()
Retrieves a
String ified
version of this object |
public HeaderFooter()
public HeaderFooter(HeaderFooter hf)
hf
- the item to copypublic HeaderFooter(java.lang.String s)
s
- the header stringpublic java.lang.String toString()
String
ified
version of this objecttoString
in class jxl.biff.HeaderFooter
public HeaderFooter.Contents getRight()
public HeaderFooter.Contents getCentre()
public HeaderFooter.Contents getLeft()
public void clear()
clear
in class jxl.biff.HeaderFooter