Save This Page
Home » jexcelapi_2_6_8 » jxl.biff » [javadoc | source]
jxl.biff
abstract public class: HeaderFooter [javadoc | source]
java.lang.Object
   jxl.biff.HeaderFooter

Direct Known Subclasses:
    HeaderFooter

Class which represents an Excel header or footer. Information for this class came from Microsoft Knowledge Base Article 142136 (previously Q142136). This class encapsulates three internal structures representing the header or footer contents which appear on the left, right or central part of the page
Nested Class Summary:
protected static class  HeaderFooter.Contents  The contents - a simple wrapper around a string buffer 
Constructor:
 protected HeaderFooter() 
 protected HeaderFooter(HeaderFooter hf) 
    Copy constructor
    Parameters:
    c - the item to copy
 protected HeaderFooter(String s) 
    Constructor used when reading workbooks to separate the left, right a central part of the strings into their constituent parts
Method from jxl.biff.HeaderFooter Summary:
clear,   createContents,   createContents,   createContents,   getCentreText,   getLeftText,   getRightText,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.HeaderFooter Detail:
 protected  void clear() 
    Clears the contents of the header/footer
 abstract protected HeaderFooter.Contents createContents()
    Creates internal class of the appropriate type
 abstract protected HeaderFooter.Contents createContents(String s)
    Creates internal class of the appropriate type
 abstract protected HeaderFooter.Contents createContents(HeaderFooter.Contents c)
    Creates internal class of the appropriate type
 protected HeaderFooter.Contents getCentreText() 
    Accessor for the contents which in the centre of the page
 protected HeaderFooter.Contents getLeftText() 
    Accessor for the contents which appear on the left hand side of the page
 protected HeaderFooter.Contents getRightText() 
    Accessor for the contents which appear on the right hand side of the page
 public String toString() 
    Retrieves a Stringified version of this object