com.teamdev.jxbrowser.print
Class Headline

java.lang.Object
  extended by com.teamdev.jxbrowser.print.Headline

public class Headline
extends java.lang.Object

Describes the header/footer of a page to print.


Constructor Summary
Headline(java.lang.String leftCaption, java.lang.String centerCaption, java.lang.String rightCaption)
          Constructs a new Headlines instance.
 
Method Summary
 java.lang.String getCenterCaption()
          Returns the center caption string in header/footer.
 java.lang.String getLeftCaption()
          Returns the left caption string in header/footer.
 java.lang.String getRightCaption()
          Returns the right caption string in header/footer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Headline

public Headline(java.lang.String leftCaption,
                java.lang.String centerCaption,
                java.lang.String rightCaption)
Constructs a new Headlines instance.

Parameters:
leftCaption - left caption in header/footer
centerCaption - center caption in header/footer
rightCaption - right caption in header/footer
Method Detail

getLeftCaption

public java.lang.String getLeftCaption()
Returns the left caption string in header/footer.

Returns:
the left caption string in header/footer.

getCenterCaption

public java.lang.String getCenterCaption()
Returns the center caption string in header/footer.

Returns:
the center caption string in header/footer.

getRightCaption

public java.lang.String getRightCaption()
Returns the right caption string in header/footer.

Returns:
the right caption string in header/footer.