org.jfree.report.style
Class BandStyleSheet

java.lang.Object
  extended byorg.jfree.report.style.ElementStyleSheet
      extended byorg.jfree.report.style.BandStyleSheet
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, StyleChangeListener
Direct Known Subclasses:
BandDefaultStyleSheet

public class BandStyleSheet
extends ElementStyleSheet

A band style sheet. Defines some base StyleKeys for all Bands.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static StyleKey DISPLAY_ON_FIRSTPAGE
          A key for the band's 'display on first page' flag.
static StyleKey DISPLAY_ON_LASTPAGE
          A key for the band's 'display on last page' flag.
static StyleKey FIXED_POSITION
          A key for the band's 'print on bottom' flag.
static StyleKey PAGEBREAK_AFTER
          A key for the band's 'page break after' flag.
static StyleKey PAGEBREAK_BEFORE
          A key for the band's 'page break before' flag.
static StyleKey REPEAT_HEADER
          A key for the band's 'repeat header' flag.
 
Fields inherited from class org.jfree.report.style.ElementStyleSheet
ALIGNMENT, BOLD, BOUNDS, DYNAMIC_HEIGHT, ELEMENT_LAYOUT_CACHEABLE, EMBEDDED_FONT, FONT, FONTENCODING, FONTSIZE, ITALIC, KEEP_ASPECT_RATIO, LINEHEIGHT, MAXIMUMSIZE, MINIMUMSIZE, PAINT, PREFERREDSIZE, RESERVED_LITERAL, SCALE, STRIKETHROUGH, STROKE, TRIM_TEXT_CONTENT, UNDERLINED, VALIGNMENT, VISIBLE
 
Constructor Summary
BandStyleSheet(java.lang.String name)
          Creates a new band style-sheet.
 
Methods inherited from class org.jfree.report.style.ElementStyleSheet
addDefaultParent, addDefaultParent, addListener, addParent, addParent, clone, getBooleanStyleProperty, getBooleanStyleProperty, getCopy, getDefaultParents, getDefinedPropertyNames, getFontDefinitionProperty, getId, getIntStyleProperty, getName, getParents, getStyleProperty, getStyleProperty, getStyleSheetCollection, isAllowCaching, isGlobalDefault, isLocalKey, isSubStyleSheet, registerStyleSheetCollection, removeDefaultParent, removeListener, removeParent, setAllowCaching, setBooleanStyleProperty, setFontDefinitionProperty, setStyleProperty, styleChanged, styleRemoved, unregisterStyleSheetCollection
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGEBREAK_BEFORE

public static final StyleKey PAGEBREAK_BEFORE
A key for the band's 'page break before' flag.


PAGEBREAK_AFTER

public static final StyleKey PAGEBREAK_AFTER
A key for the band's 'page break after' flag.


DISPLAY_ON_FIRSTPAGE

public static final StyleKey DISPLAY_ON_FIRSTPAGE
A key for the band's 'display on first page' flag.


DISPLAY_ON_LASTPAGE

public static final StyleKey DISPLAY_ON_LASTPAGE
A key for the band's 'display on last page' flag.


REPEAT_HEADER

public static final StyleKey REPEAT_HEADER
A key for the band's 'repeat header' flag.


FIXED_POSITION

public static final StyleKey FIXED_POSITION
A key for the band's 'print on bottom' flag.

Constructor Detail

BandStyleSheet

public BandStyleSheet(java.lang.String name)
Creates a new band style-sheet.

Parameters:
name - the name.