com.jrefinery.report.targets.style
Class BandStyleSheet

java.lang.Object
  extended bycom.jrefinery.report.targets.style.ElementStyleSheet
      extended bycom.jrefinery.report.targets.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 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 com.jrefinery.report.targets.style.ElementStyleSheet
ALIGNMENT, BOLD, BOUNDS, DYNAMIC_HEIGHT, ELEMENT_LAYOUT_CACHEABLE, EMBEDDED_FONT, FONT, FONTENCODING, FONTSIZE, ITALIC, KEEP_ASPECT_RATIO, LINEHEIGHT, MAXIMUMSIZE, MINIMUMSIZE, PAINT, PREFERREDSIZE, SCALE, STRIKETHROUGH, STROKE, UNDERLINED, VALIGNMENT, VISIBLE
 
Constructor Summary
BandStyleSheet(java.lang.String name)
          Creates a new band style-sheet.
 
Methods inherited from class com.jrefinery.report.targets.style.ElementStyleSheet
addDefaultParent, addDefaultParent, addListener, addParent, addParent, clone, equals, getBooleanStyleProperty, getBooleanStyleProperty, getCopy, getDefaultParents, getDefinedPropertyNames, getFontDefinitionProperty, getFontStyleProperty, getId, getIntStyleProperty, getName, getParents, getStyleProperty, getStyleProperty, getStyleSheetCollection, hashCode, isAllowCaching, isSubStyleSheet, removeDefaultParent, removeListener, removeParent, setAllowCaching, setBooleanStyleProperty, setFontDefinitionProperty, setFontStyleProperty, setStyleProperty, setStyleSheetCollection, styleChanged, styleRemoved
 
Methods inherited from class java.lang.Object
finalize, getClass, 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.

Constructor Detail

BandStyleSheet

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

Parameters:
name - the name.