public class TableOfContentsCustomizer extends Object implements DRITableOfContentsCustomizer
| Modifier and Type | Class and Description |
|---|---|
protected class |
TableOfContentsCustomizer.PrintHeadingExpression |
protected class |
TableOfContentsCustomizer.ReferenceExpression |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
dots |
protected Integer |
dotsFixedWidth |
protected List<JasperTocHeading> |
headingList |
protected int |
headings |
protected ReportStyleBuilder |
headingStyle |
protected Map<Integer,ReportStyleBuilder> |
headingStyles |
protected FieldBuilder<Integer> |
levelField |
protected int |
levels |
protected int |
pageIndexDigits |
protected FieldBuilder<Integer> |
pageIndexField |
protected Integer |
pageIndexFixedWidth |
protected TableOfContentsPosition |
position |
protected FieldBuilder<String> |
referenceField |
protected HyperLinkBuilder |
referenceHyperLink |
protected ReportBuilder<?> |
report |
protected FieldBuilder<String> |
textField |
protected Integer |
textFixedWidth |
protected ReportStyleBuilder |
titleStyle |
| Constructor and Description |
|---|
TableOfContentsCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize() |
protected ComponentBuilder<?,?> |
detailComponent() |
TableOfContentsPosition |
getPosition() |
protected ComponentBuilder<?,?> |
headingComponent(int level) |
protected void |
init() |
void |
setDotsFixedWidth(Integer dotsFixedWidth) |
void |
setHeadingList(List<JasperTocHeading> headingList) |
void |
setHeadings(int headings) |
void |
setHeadingStyle(int level, ReportStyleBuilder headingStyle) |
void |
setHeadingStyle(ReportStyleBuilder headingStyle) |
void |
setLevels(int levels) |
void |
setPageIndexFixedWidth(Integer pageIndexFixedWidth) |
void |
setPosition(TableOfContentsPosition position) |
void |
setReport(ReportBuilder<?> report) |
void |
setTextFixedWidth(Integer textFixedWidth) |
void |
setTitleStyle(ReportStyleBuilder titleStyle) |
protected ComponentBuilder<?,?> |
title() |
protected static String dots
protected ReportBuilder<?> report
protected List<JasperTocHeading> headingList
protected int headings
protected int levels
protected FieldBuilder<Integer> levelField
protected FieldBuilder<String> textField
protected FieldBuilder<String> referenceField
protected FieldBuilder<Integer> pageIndexField
protected HyperLinkBuilder referenceHyperLink
protected int pageIndexDigits
protected ReportStyleBuilder titleStyle
protected ReportStyleBuilder headingStyle
protected Map<Integer,ReportStyleBuilder> headingStyles
protected Integer textFixedWidth
protected Integer dotsFixedWidth
protected Integer pageIndexFixedWidth
protected TableOfContentsPosition position
protected void init()
public void setReport(ReportBuilder<?> report)
setReport in interface DRITableOfContentsCustomizerpublic void setHeadingList(List<JasperTocHeading> headingList)
setHeadingList in interface DRITableOfContentsCustomizerpublic void setHeadings(int headings)
setHeadings in interface DRITableOfContentsCustomizerpublic void setLevels(int levels)
setLevels in interface DRITableOfContentsCustomizerpublic void customize()
customize in interface DRITableOfContentsCustomizerprotected ComponentBuilder<?,?> title()
protected ComponentBuilder<?,?> detailComponent()
protected ComponentBuilder<?,?> headingComponent(int level)
public void setTitleStyle(ReportStyleBuilder titleStyle)
public void setHeadingStyle(ReportStyleBuilder headingStyle)
public void setHeadingStyle(int level,
ReportStyleBuilder headingStyle)
public void setTextFixedWidth(Integer textFixedWidth)
public void setDotsFixedWidth(Integer dotsFixedWidth)
public void setPageIndexFixedWidth(Integer pageIndexFixedWidth)
public TableOfContentsPosition getPosition()
getPosition in interface DRITableOfContentsCustomizerpublic void setPosition(TableOfContentsPosition position)
Copyright © 2010-2015. All Rights Reserved.