ReportCat 1.1
A B C D E F G H I L M N O P R S T V W X

A

add(Print) - Method in class li.netcat.print.util.GridPrint
Adds a new Print to the list of prints using the constraints GridPrintConstraints.DEFAULT.
add(Print, GridPrintConstraints) - Method in class li.netcat.print.util.GridPrint
Adds a new Print to the list of prints using the given constraints.
addPainter(Painter, int, int) - Method in class li.netcat.print.util.XYPainter
Adds a Painter to the list of painters.
addPrintManagerListener(PrintManagerListener) - Method in class li.netcat.print.PrintManager
Adds a PrintManagerListener to the list of listerners.

B

BOTTOM - Static variable in class li.netcat.print.PrintConstants
Equal to SwingConstants.BOTTOM
BackgroundPrint - class li.netcat.print.util.BackgroundPrint.
This Print can be used to paint a background behind an other Print.
BackgroundPrint(Print, Color) - Constructor for class li.netcat.print.util.BackgroundPrint
Constructs a new BackgroundPrint using the given print and the given color.
BorderPrint - class li.netcat.print.util.BorderPrint.
Implementation of the Print interface that can be used to paint a border around an other Print.
BorderPrint(Print) - Constructor for class li.netcat.print.util.BorderPrint
Constructs a new BorderPrint using the given Print and the default DrawerPrintBorder.
BorderPrint(Print, PrintBorder) - Constructor for class li.netcat.print.util.BorderPrint
Constructs a new BorderPrint using the given Print and the given PrintBorder.
BreakPrint - class li.netcat.print.util.BreakPrint.
This Print can be used as a page break.
BreakPrint() - Constructor for class li.netcat.print.util.BreakPrint
Constructs a new BreakPrint.

C

CENTER - Static variable in class li.netcat.print.PrintConstants
Equal to SwingConstants.CENTER
COL_WIDTH_PREFERRED - Static variable in class li.netcat.print.util.GridPrintConstraints
This constant defines the column width to be the preferred width of the print.
COL_WIDTH_RELATIVE - Static variable in class li.netcat.print.util.GridPrintConstraints
This constant defines the column width to be relative, i.e. the widths of the columns are distributed according to their weights.
CONSTRAINT_MIN_CELLS - Static variable in class li.netcat.print.table.TablePrint
Specify this flag as a column constraint so that the column is at least as wide as the maximum preferred width of the cells.
CONSTRAINT_MIN_FOOTER - Static variable in class li.netcat.print.table.TablePrint
Specify this flag as a column constraint so that the column is at least as wide as the preferred width of the footer.
CONSTRAINT_MIN_HEADER - Static variable in class li.netcat.print.table.TablePrint
Specify this flag as a column constraint so that the column is at least as wide as the preferred width of the header.
ColumnWidthCalculator - interface li.netcat.print.table.ColumnWidthCalculator.
This strategy is the first step of the table cell size calculation algorithm.
ColumnWidthDistributor - interface li.netcat.print.table.ColumnWidthDistributor.
This strategy is the second step of the table cell size calculation algorithm.
calculateTotalHeight(int, int[], int) - Method in class li.netcat.print.table.TableMargins
Utility method that calculates the total height of the table.
calculateTotalWidth(int[]) - Method in class li.netcat.print.table.TableMargins
Utility method that calculates the total width of the table.
charsWidth(Graphics, Font, char[], int, int) - Method in class li.netcat.print.util.StringDrawDevice
Returns the width of a String.
colSpan(int) - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a modified colSpan value.
colWeight(float) - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a modified colWeight value.
colWidth(int) - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a modified colWidth value.
colWidthPreferred() - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target that defines the width of the column to be the preffered width of the cell associated with that constraint.
colWidthRelative() - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target that defines the width of the column to be relative according to it's weight.
createDefaultCellDrawer(int) - Method in class li.netcat.print.table.TablePrint
Factory method, that creates a new DefaultTableCellDrawer for the data cells.
createDefaultFooterDrawer(int) - Method in class li.netcat.print.table.TablePrint
Factory method, that creates a new DefaultTableCellDrawer for the footer cells.
createDefaultHeaderDrawer(int) - Method in class li.netcat.print.table.TablePrint
Factory method, that creates a new DefaultTableCellDrawer for the header.
createFooter(PageNumber) - Method in interface li.netcat.print.util.PageDecorator
Factory callback that creates a footer print for the given page number.
createHeader(PageNumber) - Method in interface li.netcat.print.util.PageDecorator
Factory method that creates a header print for the given page number.
createLineBreaker(Font, char[]) - Method in class li.netcat.print.util.text.LineBreakStrategy
Creates a new instance of a line breaker that is able to break the given text that gets painted with the given font.
createPageNumber() - Method in class li.netcat.print.util.PageNumberFactory
Creates a new instance of PageNumber and increments the total number of pages.

D

DEFAULT - Static variable in class li.netcat.print.util.GridPrintConstraints
The default constraints object with a horizontal alignment of left, a colSpan of REMAINDER, a weight of 1.0f and a relative columnWidth.
DefaultColumnWidthCalculator - class li.netcat.print.table.DefaultColumnWidthCalculator.
This is a default implementation of the ColumnWidthCalculator.
DefaultColumnWidthCalculator() - Constructor for class li.netcat.print.table.DefaultColumnWidthCalculator
 
DefaultColumnWidthDistributor - class li.netcat.print.table.DefaultColumnWidthDistributor.
This is a default implementation of the ColumnWidthDistributor that uses the weights of the column to distribute the rest of the width, with respect to the preferred widths.
DefaultColumnWidthDistributor() - Constructor for class li.netcat.print.table.DefaultColumnWidthDistributor
 
DefaultRowHeightCalculator - class li.netcat.print.table.DefaultRowHeightCalculator.
Default implementation of a RowHeightCalculator that uses the table cell renderers to calculate the heights of the rows of the table.
DefaultRowHeightCalculator() - Constructor for class li.netcat.print.table.DefaultRowHeightCalculator
 
DefaultTableCellDrawer - class li.netcat.print.table.DefaultTableCellDrawer.
Default implementation of a TableCellDrawer that uses a LabelDrawer for rendering.
DefaultTableCellDrawer() - Constructor for class li.netcat.print.table.DefaultTableCellDrawer
Constructs and initializes a new DefaultTableCellDrawer.
DefaultTableCellDrawer(int) - Constructor for class li.netcat.print.table.DefaultTableCellDrawer
Constructs and initializes a new DefaultTableCellDrawer.
DefaultTableLook - class li.netcat.print.table.DefaultTableLook.
Default implementation of a table look.
DefaultTableLook() - Constructor for class li.netcat.print.table.DefaultTableLook
 
Drawer - interface li.netcat.print.Drawer.
The Drawer is a special form of a Painter.
DrawerPrintBorder - class li.netcat.print.util.DrawerPrintBorder.
DrawerPrintBorder is a simple implementation of PrintBorder that uses two Drawers to draw the hint before and after a break.
DrawerPrintBorder() - Constructor for class li.netcat.print.util.DrawerPrintBorder
Consrtucts a new DrawerPrintBorder with two LabelDrawers using the text ">>".
DrawerPrintBorder(Drawer, Drawer) - Constructor for class li.netcat.print.util.DrawerPrintBorder
Consrtucts a new DrawerPrintBorder using the given two Drawers.
distribute(TablePrint, int[], int[], int[], int) - Method in interface li.netcat.print.table.ColumnWidthDistributor
Interface of the strategy that determines how to distribute the available with of a table among the columns of the table.
distribute(TablePrint, int[], int[], int[], int) - Method in class li.netcat.print.table.DefaultColumnWidthDistributor
 
doLayout() - Method in class li.netcat.print.PreviewPanel
 
draw(Graphics, int, int, int, int) - Method in interface li.netcat.print.Drawer
Draws the target on the given Graphics object.
draw(Graphics, Object, Object, int, int, int, int, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
 
draw(Graphics, Object, Object, int, int, int, int, int, int) - Method in interface li.netcat.print.table.TableCellDrawer
Draws the given value to the graphics within the given bounds.
draw(Graphics, Object, Object, int, int, int, int, int, int) - Method in class li.netcat.print.table.TextTableCellDrawer
 
draw(Graphics, int, int, int, int) - Method in class li.netcat.print.util.LabelDrawer
 
drawChars(Graphics, char[], int, int, int, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Draws a String at the specified position with the specified horizontal alignment.
drawCharsCenter(Graphics, char[], int, int, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.
drawCharsLeft(Graphics, char[], int, int, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.
drawCharsRight(Graphics, char[], int, int, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.
drawString(Graphics, String, int, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Draws a String at the specified position with the specified horizontal alignment.
drawStringCenter(Graphics, String, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.
drawStringLeft(Graphics, String, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.
drawStringRigth(Graphics, String, int, int) - Method in class li.netcat.print.util.StringDrawDevice
Callback to be overridden.

E

ensureLayout(Graphics) - Method in class li.netcat.print.PrintManager
Call this method to ensure that the layout is done.

F

FLAG_IMG_POSITION - Static variable in class li.netcat.print.PrintManagerEvent
Specifies, that the imageable position of the page changed
FLAG_IMG_SIZE - Static variable in class li.netcat.print.PrintManagerEvent
Specifies, that the imageable size of the page changed
FLAG_PAGE_SIZE - Static variable in class li.netcat.print.PrintManagerEvent
Specifies, that the size of the page changed
FLAG_PRINT - Static variable in class li.netcat.print.PrintManagerEvent
Specifies, that the print changed e.g. change of scale or change of Print
FixSizePainter - class li.netcat.print.util.FixSizePainter.
Abstract Painter implementation that has a fixed size, i.e. independent of the Graphics context.
FixSizePainter() - Constructor for class li.netcat.print.util.FixSizePainter
Constructs a new FixSizePainter with a width and a height of 0.
FixSizePainter(int, int) - Constructor for class li.netcat.print.util.FixSizePainter
Constructs a new FixSizePainter with the given width and height.

G

GapPrint - class li.netcat.print.util.GapPrint.
This Print can be used to add an additional gap e.g. to a GridPrint.
GapPrint() - Constructor for class li.netcat.print.util.GapPrint
Constructs a new GapPrint with a default gap of 5 pixel.
GapPrint(int) - Constructor for class li.netcat.print.util.GapPrint
Constructs a new GapPrint with the given gap in pixel.
GluePrint - class li.netcat.print.util.GluePrint.
This implementation of the Print interface is a decorator (wrapper).
GluePrint(Print) - Constructor for class li.netcat.print.util.GluePrint
Constructs a new GluePrint that avoids a page break within the given Print.
GridPrint - class li.netcat.print.util.GridPrint.
The GridPrint is comparable to the legendary GridBagLayout.
GridPrint() - Constructor for class li.netcat.print.util.GridPrint
Constructs a new GridPrint with a hGap and a vGap of 0.
GridPrint(int, int) - Constructor for class li.netcat.print.util.GridPrint
Constructs a new GridPrint with the given hGap and vGap.
GridPrintConstraints - class li.netcat.print.util.GridPrintConstraints.
This immutable class defines the constraints that are associated with each cell in a GridPrint.
GridPrintConstraints(int, int, float, int) - Constructor for class li.netcat.print.util.GridPrintConstraints
Constructs a new GridPrintConstraints object using the given values.
getBackground() - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the background color.
getBackground() - Method in class li.netcat.print.util.BackgroundPrint
Returns the current beckground property.
getBaseLineAt(int) - Method in interface li.netcat.print.util.text.TextBlock
Returns the coordinate of the base line of the given text.
getBorder() - Method in class li.netcat.print.util.BorderPrint
Returns the border that is used for decoration.
getBottom() - Method in class li.netcat.print.table.TableMargins
Returns the bottom inset of the table look.
getBottom(boolean) - Method in class li.netcat.print.util.PrintInsets
Returns the inset from the bottom.
getBottomDrawer() - Method in class li.netcat.print.util.DrawerPrintBorder
Returns the drawer that is used to paint the bottom of an opened border.
getBottomMax() - Method in class li.netcat.print.util.PrintInsets
Returns the maximum of the bottom insets.
getCellDrawer(Object) - Method in class li.netcat.print.table.TablePrint
Returns the data cell drawer for a given type.
getClipCells() - Method in class li.netcat.print.table.TablePrint
Specifies, whether the table clips the cells on painting.
getColSpan() - Method in class li.netcat.print.util.GridPrintConstraints
Returns the column span.
getColWeight() - Method in class li.netcat.print.util.GridPrintConstraints
Returns the weight of a column.
getColWidth() - Method in class li.netcat.print.util.GridPrintConstraints
Returns the columnWidth of a cell.
getColor() - Method in class li.netcat.print.util.TextPrint
Returns the Color used to draw the whole text.
getColumnCount() - Method in interface li.netcat.print.table.TableDataModel
Returns the number of columns.
getColumnWeight(int) - Method in class li.netcat.print.table.TablePrint
Returns the weight of a column.
getColumnWeights() - Method in class li.netcat.print.table.TablePrint
Returns a copy of the current column weights.
getColumnWidthCalculator() - Method in class li.netcat.print.table.TablePrint
Returns the current column width calculator.
getColumnWidthConstraint(int) - Method in class li.netcat.print.table.TablePrint
Returns the column width costraint for a given column.
getColumnWidthDistributor() - Method in class li.netcat.print.table.TablePrint
Returns the current column width distribution strategy.
getDefault() - Static method in class li.netcat.print.util.text.LineBreakStrategy
Returns the default line break strategy.
getDefaultBoldFont() - Static method in class li.netcat.print.util.StringDrawDevice
Returns the default bold font.
getDefaultPlainFont() - Static method in class li.netcat.print.util.StringDrawDevice
Returns the default plain font.
getDevice() - Static method in class li.netcat.print.util.StringDrawDevice
Returns the current installed device.
getDrawer() - Method in class li.netcat.print.table.DefaultTableCellDrawer
Returns the drawer that is used for rendering.
getDrawer() - Method in class li.netcat.print.util.PageNumberPrint
Returns the Drawer that is used to render the page number.
getFitWidth() - Method in class li.netcat.print.table.TablePrint
Specifies, whether the table should consume the whole available width.
getFitWidth() - Method in class li.netcat.print.util.TextPrint
Specifies whether this TextPrint will consume the whole width or not.
getFlags() - Method in class li.netcat.print.PrintManagerEvent
Returns the flags of this event.
getFont() - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the font that is used to paint the text.
getFont() - Method in class li.netcat.print.util.LabelDrawer
Returns the font of the LabelDrawer.
getFont() - Method in class li.netcat.print.util.TextPrint
Returns the Font used to draw the whole text.
getFont() - Method in interface li.netcat.print.util.text.TextBlock
Returns the font that is used to paint this block.
getFooterAt(int) - Method in interface li.netcat.print.table.TableDataModel
Returns the value of a footer cell.
getFooterDrawer(Object) - Method in class li.netcat.print.table.TablePrint
Returns the footer cell drawer for a given type.
getFooterGap() - Method in class li.netcat.print.table.TableMargins
Returns the gap between the footer cells and the data cells.
getFooterGap(PageNumber) - Method in interface li.netcat.print.util.PageDecorator
Returns the gap between the footer and the body.
getFooterHeight() - Method in class li.netcat.print.table.DefaultRowHeightCalculator
 
getFooterHeight() - Method in interface li.netcat.print.table.RowHeightCalculator
Returns the final height of the table footer.
getFooterTypeAt(int) - Method in interface li.netcat.print.table.TableDataModel
Returns the type of a footer cell.
getForeground() - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the foreground color.
getGap() - Method in class li.netcat.print.util.GapPrint
Returns the gap of this Print in pixel.
getHAlign() - Method in class li.netcat.print.util.GridPrintConstraints
Returns the horizontal alignment of the cell, one of LEFT, RIGHT or CENTER (see PrintConstants).
getHGap() - Method in class li.netcat.print.table.TableMargins
Returns the horizontal gap between the data cells.
getHGap() - Method in class li.netcat.print.util.SplitPrint
Returns the gap that is placed between the columns.
getHeaderAt(int) - Method in interface li.netcat.print.table.TableDataModel
Returns the value of a header cell.
getHeaderDrawer(Object) - Method in class li.netcat.print.table.TablePrint
Returns the header cell drawer for a given type.
getHeaderGap() - Method in class li.netcat.print.table.TableMargins
Returns the gap between the header cells and the data cells.
getHeaderGap(PageNumber) - Method in interface li.netcat.print.util.PageDecorator
Returns the gap between the header and the body.
getHeaderHeight() - Method in class li.netcat.print.table.DefaultRowHeightCalculator
 
getHeaderHeight() - Method in interface li.netcat.print.table.RowHeightCalculator
Returns the final height of the table header.
getHeaderTypeAt(int) - Method in interface li.netcat.print.table.TableDataModel
Returns the type of a header cell.
getHeight() - Method in class li.netcat.print.util.FixSizePainter
Returns the height of the painter.
getHeight(boolean, boolean) - Method in class li.netcat.print.util.PrintInsets
Returns the height of the insets.
getHeight() - Method in interface li.netcat.print.util.text.TextBlock
Returns the effective height of the text box.
getHgap() - Method in class li.netcat.print.util.GridPrint
Returns the horizontal gap that is placed between the cells in x-direction.
getHorizontalAlignment() - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the horizontal alignment.
getHorizontalAlignment() - Method in class li.netcat.print.util.LabelDrawer
Returns the horizontal alignment.
getHorizontalAlignment() - Method in class li.netcat.print.util.TextPrint
Returns the horizontal alignment.
getHorizontalTextPosition() - Method in class li.netcat.print.util.LabelDrawer
Returns the horizontal text position.
getIcon(Object, Object, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
Override this callback for icon conversion.
getIcon() - Method in class li.netcat.print.util.LabelDrawer
Returns the icon property.
getIconTextGap() - Method in class li.netcat.print.util.LabelDrawer
Returns the gap between icon and text.
getImage() - Method in class li.netcat.print.util.ImagePrint
Returns the Image associated with the ImagePrint.
getImageHeight() - Method in class li.netcat.print.util.ImagePrint
Returns the height of the Image, either the specified or the original value.
getImageWidth() - Method in class li.netcat.print.util.ImagePrint
Returns the width of the Image, either the specified or the original value.
getImageableHeight() - Method in class li.netcat.print.PrintManager
Returns the current imageableHeight of the paper as an int.
getImageableWidth() - Method in class li.netcat.print.PrintManager
Returns the current imageableWidth of the paper as an int.
getImageableX() - Method in class li.netcat.print.PrintManager
Returns the current imageableX of the paper as an int.
getImageableY() - Method in class li.netcat.print.PrintManager
Returns the current imageableY of the paper as an int.
getInsets(Insets) - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the insets of this TextTableCellDrawer.
getInsets() - Method in class li.netcat.print.util.InsetsPrint
Returns a copy of the instes.
getInsets(Insets) - Method in class li.netcat.print.util.LabelDrawer
Returns the insets of this LabelDrawer.
getInsets(Insets) - Method in class li.netcat.print.util.LinePrintBorder
Returns the Insets of this LinePrintBorder.
getIterator() - Method in class li.netcat.print.util.WrappedPrintIterator
Returns the delegate.
getLabelText(int, int) - Method in class li.netcat.print.util.PageNumberPrint
Override this method to customize the text.
getLeft() - Method in class li.netcat.print.table.TableMargins
Returns the left inset of the table look.
getLeft() - Method in class li.netcat.print.util.PrintInsets
Returns the inset from the left.
getLength(int) - Method in interface li.netcat.print.util.text.TextBlock
Returns the number of characters of a line.
getLook() - Method in class li.netcat.print.table.TablePrint
Returns the current look of the table.
getMaximumColumnWidths() - Method in interface li.netcat.print.table.ColumnWidthCalculator
Returns (a clone of) the maximum column widths of the table.
getMaximumColumnWidths() - Method in class li.netcat.print.table.DefaultColumnWidthCalculator
 
getMinNrOfRows() - Method in class li.netcat.print.table.TablePrint
Specifies the minimum number of rows that must be present before or after a break.
getMinimumColumnWidth(int) - Method in class li.netcat.print.table.TablePrint
Returns the minimum column width for a given column.
getMinimumColumnWidths() - Method in interface li.netcat.print.table.ColumnWidthCalculator
Returns (a clone of) the minimum column widths of the table.
getMinimumColumnWidths() - Method in class li.netcat.print.table.DefaultColumnWidthCalculator
 
getMinimumSize() - Method in class li.netcat.print.PreviewPanel
 
getMinimumWidth(Graphics, Object, Object, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
 
getMinimumWidth(Graphics, Object, Object, int, int) - Method in interface li.netcat.print.table.TableCellDrawer
Returns the minimum width of this cell drawer.
getMinimumWidth(Graphics, Object, Object, int, int) - Method in class li.netcat.print.table.TextTableCellDrawer
This implementation returns the minimum text with porperty plus the left and right inset.
getModel() - Method in class li.netcat.print.table.TablePrint
Returns the data model of the table.
getNext(Graphics, int, int) - Method in interface li.netcat.print.PrintIterator
Returns a Painter that is capable of painting the next part of the Print.
getNext(Graphics, int, int) - Method in class li.netcat.print.util.WrappedPrintIterator
This implementation calls directly the delegate.
getNextBlock(Graphics, int, int, boolean) - Method in interface li.netcat.print.util.text.LineBreaker
Returns the next text block.
getNrOfColumns() - Method in class li.netcat.print.util.SplitPrint
Returns the number of columns of that Print.
getNrOfLines() - Method in interface li.netcat.print.util.text.TextBlock
Returns the number of lines.
getNumberOfPages() - Method in class li.netcat.print.PrintManager
 
getNumberOfPages() - Method in class li.netcat.print.util.PageNumber
Returns the total number of pages.
getNumberOfPages() - Method in class li.netcat.print.util.PageNumberFactory
Returns the total number of pages that this factory has created.
getOffset(int) - Method in interface li.netcat.print.util.text.TextBlock
Returns the index of the first character of a line.
getOrientation() - Method in class li.netcat.print.PrintManager
Returns the current orientation of the PageFormat.
getPageCount() - Method in class li.netcat.print.PrintManager
Returns the current number of pages or -1, if the layout is not jet done.
getPageDecorator() - Method in class li.netcat.print.util.PagePrint
Returns the PageDecorator that defines header and footer.
getPageFormat() - Method in class li.netcat.print.PrintManager
Returns a copy of the PageFormat associated with this PrintManager.
getPageFormat(int) - Method in class li.netcat.print.PrintManager
 
getPageNumber() - Method in class li.netcat.print.util.PageNumber
Returns the number of the current page.
getPaintOpenedLines() - Method in class li.netcat.print.util.LinePrintBorder
Returns true if the opened lines will be painted.
getPainter(int) - Method in class li.netcat.print.PrintManager
Returns the Painter that is able to paint the page with the given index.
getPainter(int) - Method in class li.netcat.print.util.XYPainter
Returns the Painter at the specified index.
getPainterCount() - Method in class li.netcat.print.util.XYPainter
Returns the number of painters added to this XYPainter.
getPaiter() - Method in class li.netcat.print.util.PainterPrint
Returns the currently installed Paiter.
getPaperHeight() - Method in class li.netcat.print.PrintManager
Returns the current height of the paper as an int.
getPaperWidth() - Method in class li.netcat.print.PrintManager
Returns the current width of the paper as an int.
getPhi(int) - Static method in class li.netcat.print.PrintConstants
Returns the rotation angle in radians for the given rotation.
getPreferredColumnWidths() - Method in interface li.netcat.print.table.ColumnWidthCalculator
Returns (a clone of) the preferred column widths of the table.
getPreferredColumnWidths() - Method in class li.netcat.print.table.DefaultColumnWidthCalculator
 
getPreferredHeight(Graphics, Object, Object, int, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
 
getPreferredHeight(Graphics, Object, Object, int, int, int) - Method in interface li.netcat.print.table.TableCellDrawer
Returns the preferred height of this cell drawer.
getPreferredHeight(Graphics, Object, Object, int, int, int) - Method in class li.netcat.print.table.TextTableCellDrawer
 
getPreferredHeight(Graphics, int) - Method in class li.netcat.print.util.LabelDrawer
Returns the preferred height of this label.
getPreferredSize() - Method in class li.netcat.print.PreviewPanel
 
getPreferredSize(Graphics) - Method in interface li.netcat.print.Print
Returns the preferred size of the Print.
getPreferredSize(Graphics) - Method in class li.netcat.print.table.TablePrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.BorderPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.BreakPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.GapPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.GridPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.ImagePrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.InsetsPrint
 
getPreferredSize(Graphics, Dimension) - Method in class li.netcat.print.util.LabelDrawer
Returns the preferred size of the target.
getPreferredSize(Graphics) - Method in class li.netcat.print.util.PageNumberPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.PagePrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.PainterPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.RotatePrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.ScalePrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.SplitPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.TextPrint
 
getPreferredSize(Graphics) - Method in class li.netcat.print.util.WrappedPrint
 
getPreferredWidth(Graphics, Object, Object, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
 
getPreferredWidth(Graphics, Object, Object, int, int) - Method in interface li.netcat.print.table.TableCellDrawer
Returns the preferred width of this cell drawer.
getPreferredWidth(Graphics, Object, Object, int, int) - Method in class li.netcat.print.table.TextTableCellDrawer
This implementation calculates the width of the text without auto line breake and returns the minimum of this calculated width and the preferred width.
getPreferredWidth(Graphics) - Method in class li.netcat.print.util.LabelDrawer
Returns the preferred width of this label.
getPrint() - Method in class li.netcat.print.PrintManager
 
getPrint() - Method in class li.netcat.print.util.WrappedPrint
Returns the delegate.
getPrintInsets(Print, Graphics) - Method in class li.netcat.print.util.DrawerPrintBorder
 
getPrintInsets(Print, Graphics) - Method in class li.netcat.print.util.LinePrintBorder
 
getPrintInsets(Print, Graphics) - Method in interface li.netcat.print.util.PrintBorder
Returns the PrintInsets for a given print.
getPrintIterator() - Method in interface li.netcat.print.Print
Factory method, that produces a PrintIerator.
getPrintIterator() - Method in class li.netcat.print.table.TablePrint
 
getPrintIterator() - Method in class li.netcat.print.util.BackgroundPrint
 
getPrintIterator() - Method in class li.netcat.print.util.BorderPrint
 
getPrintIterator() - Method in class li.netcat.print.util.BreakPrint
 
getPrintIterator() - Method in class li.netcat.print.util.GapPrint
 
getPrintIterator() - Method in class li.netcat.print.util.GluePrint
 
getPrintIterator() - Method in class li.netcat.print.util.GridPrint
 
getPrintIterator() - Method in class li.netcat.print.util.ImagePrint
 
getPrintIterator() - Method in class li.netcat.print.util.InsetsPrint
 
getPrintIterator() - Method in class li.netcat.print.util.PageNumberPrint
 
getPrintIterator() - Method in class li.netcat.print.util.PagePrint
 
getPrintIterator() - Method in class li.netcat.print.util.PainterPrint
 
getPrintIterator() - Method in class li.netcat.print.util.RotatePrint
 
getPrintIterator() - Method in class li.netcat.print.util.ScalePrint
 
getPrintIterator() - Method in class li.netcat.print.util.SplitPrint
 
getPrintIterator() - Method in class li.netcat.print.util.TextPrint
 
getPrintIterator() - Method in class li.netcat.print.util.WrappedPrint
 
getPrintManager() - Method in class li.netcat.print.PreviewPanel
Returns the PrintManager associated with this preview.
getPrintable(int) - Method in class li.netcat.print.PrintManager
 
getPrinterJob() - Method in class li.netcat.print.PrintManager
Returns the PrinterJob associated with this PrintManager.
getResizeBorderColor() - Method in class li.netcat.print.PreviewPanel
Returns the color of the resize border.
getRight() - Method in class li.netcat.print.table.TableMargins
Returns the right inset of the table look.
getRight() - Method in class li.netcat.print.util.PrintInsets
Returns the inset from the right.
getRowCount() - Method in interface li.netcat.print.table.TableDataModel
Returns the number of data rows without header and footer.
getRowHeightCalculator() - Method in class li.netcat.print.table.TablePrint
Returns the current row height calculator.
getRowHeights() - Method in class li.netcat.print.table.DefaultRowHeightCalculator
 
getRowHeights() - Method in interface li.netcat.print.table.RowHeightCalculator
Returns the final height of the rows of the table.
getScale() - Method in class li.netcat.print.util.ScalePrint
Returns the scale in x and in y direction.
getScaleMode() - Method in class li.netcat.print.util.ScalePrint
Returns the scale mode property.
getScaleValue() - Method in class li.netcat.print.PrintManager
Returns the scale value that is applyed by the PrintManager.
getSize(Graphics) - Method in interface li.netcat.print.Painter
Returns the size of the Painter.
getSize(Graphics) - Method in class li.netcat.print.util.FixSizePainter
 
getSize(Graphics) - Method in class li.netcat.print.util.LabelDrawer
 
getSuperPrintIterator() - Method in class li.netcat.print.util.GluePrint
 
getTableMargins(TablePrint, Graphics) - Method in class li.netcat.print.table.DefaultTableLook
 
getTableMargins(TablePrint, Graphics) - Method in interface li.netcat.print.table.TableLook
Returns the margins of the table.
getText(Object, Object, int, int) - Method in class li.netcat.print.table.DefaultTableCellDrawer
Override this callback for text conversion.
getText() - Method in class li.netcat.print.util.LabelDrawer
Returns the text property.
getText() - Method in class li.netcat.print.util.TextPrint
Returns the text associated with that TextPrint.
getText() - Method in interface li.netcat.print.util.text.TextBlock
Returns a reference to the text characters.
getTop() - Method in class li.netcat.print.table.TableMargins
Returns the top inset of the table look.
getTop(boolean) - Method in class li.netcat.print.util.PrintInsets
Returns the inset from the top.
getTopDrawer() - Method in class li.netcat.print.util.DrawerPrintBorder
Returns the drawer that is used to paint the top of an opened border.
getTopMax() - Method in class li.netcat.print.util.PrintInsets
Returns the maximum of the top insets.
getVGap() - Method in class li.netcat.print.table.TableMargins
Returns the vertical gap between the data cells.
getValueAt(int, int) - Method in interface li.netcat.print.table.TableDataModel
Returns the value of a data cell.
getValueTypeAt(int, int) - Method in interface li.netcat.print.table.TableDataModel
The type of a cell is typically used to find and configure the TableCellDrawer.
getVersion() - Static method in class li.netcat.print.Version
Returns the version string of this product.
getVerticalAlignment() - Method in class li.netcat.print.table.TextTableCellDrawer
Returns the vertical alignment.
getVerticalAlignment() - Method in class li.netcat.print.util.LabelDrawer
Returns the vertical alignment.
getVerticalTextPosition() - Method in class li.netcat.print.util.LabelDrawer
Returns the vertical text position.
getVgap() - Method in class li.netcat.print.util.GridPrint
Returns the vertical gap that is placed between the cells in y-direction.
getWidth() - Method in class li.netcat.print.util.FixSizePainter
Returns the width of the painter.
getWidth() - Method in class li.netcat.print.util.PrintInsets
Returns the width of the insets.
getWidth() - Method in interface li.netcat.print.util.text.TextBlock
Returns the effective width of the text box.
getZoom() - Method in class li.netcat.print.PreviewPanel
Returns the current zoom value.

H

HORIZONTAL - Static variable in class li.netcat.print.PrintConstants
Equal to SwingConstants.HORIZONTAL
hAlign(int) - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a modified hAlign value.
hAlignCenter() - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a hAlign value of CENTER.
hAlignLeft() - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a hAlign value of LEFT.
hAlignRight() - Method in class li.netcat.print.util.GridPrintConstraints
Returns a clone of the target with a hAlign value of RIGHT.
hasFooter() - Method in interface li.netcat.print.table.TableDataModel
Returns true, if this model has a footer.
hasHeader() - Method in interface li.netcat.print.table.TableDataModel
Returns true, if this model has a header.
hasNext() - Method in interface li.netcat.print.PrintIterator
Reports, whether there is at least one more Painter available.
hasNext() - Method in class li.netcat.print.util.WrappedPrintIterator
This implementation calls directly the delegate.
hasNext() - Method in interface li.netcat.print.util.text.LineBreaker
Returns true, if this iterator has more text to break.

I

ImagePrint - class li.netcat.print.util.ImagePrint.
Implementation of the Print interface that is used to print high resolution images.
ImagePrint(Image) - Constructor for class li.netcat.print.util.ImagePrint
Constructs a new ImagePrint with the given image.
ImagePrint(Image, int, int) - Constructor for class li.netcat.print.util.ImagePrint
Constructs a new ImagePrint with the given image and the given size.
InsetsPrint - class li.netcat.print.util.InsetsPrint.
Implementation of a Print that adds insets to a given Print.
InsetsPrint(Print, Insets) - Constructor for class li.netcat.print.util.InsetsPrint
Constructs a new InsetsPrint with the given print and the given insets.
initialize(TablePrint, Graphics) - Method in interface li.netcat.print.table.ColumnWidthCalculator
Callback, that initializes this calculator with the given table and the relevant Graphics object.
initialize(TablePrint, Graphics) - Method in class li.netcat.print.table.DefaultColumnWidthCalculator
 
initialize(TablePrint, Graphics, int[]) - Method in class li.netcat.print.table.DefaultRowHeightCalculator
 
initialize(TablePrint, Graphics, int[]) - Method in interface li.netcat.print.table.RowHeightCalculator
Callback, that initializes this calculator with the given table, the relevant Graphics object and the given columnWidths.
isRemainder() - Method in class li.netcat.print.util.GridPrintConstraints
Returns true if columnSpan is REMAINDER.

L

LANDSCAPE - Static variable in class li.netcat.print.PrintConstants
Equal to PageFormat.LANDSCAPE
LEFT - Static variable in class li.netcat.print.PrintConstants
Equal to SwingConstants.LEFT
LabelDrawer - class li.netcat.print.util.LabelDrawer.
This is a lightweight equivalent to the JLabel that implements the Drawer interface.
LabelDrawer(String, Icon, int) - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with the given properties.
LabelDrawer(String, int) - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with the given properties.
LabelDrawer(String) - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with the given text and a left horizontal alignment.
LabelDrawer(Icon, int) - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with the given properties.
LabelDrawer(Icon) - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with the given icon and a centered horizontal alignment.
LabelDrawer() - Constructor for class li.netcat.print.util.LabelDrawer
Constructs a new LabelDrawer with non text and no icon and a left horizontal alignment.
LineBreakStrategy - class li.netcat.print.util.text.LineBreakStrategy.
The LineBreakStrategy is used to calculate the automatic line brakes of a text.
LineBreakStrategy() - Constructor for class li.netcat.print.util.text.LineBreakStrategy
 
LineBreaker - interface li.netcat.print.util.text.LineBreaker.
The line breaker is a sort of enumeration that contains a text and is able to break the lines of the text so that it fits into one or more boxes.
LinePrintBorder - class li.netcat.print.util.LinePrintBorder.
Implementation of a PrintBorder that draws a line as border.
LinePrintBorder() - Constructor for class li.netcat.print.util.LinePrintBorder
Constructs a new LinePrintBorder that doesn't paint opened lines and that uses black as color and insets of 5.
LinePrintBorder(boolean, Color) - Constructor for class li.netcat.print.util.LinePrintBorder
Constructs a new LinePrintBorder that uses insets of 5.
li.netcat.print - package li.netcat.print
Contains the basic interfaces, the print manager and the print preview.
li.netcat.print.table - package li.netcat.print.table
This package contains a table implementation with many useful features and a powerful support in connection with printing.
li.netcat.print.util - package li.netcat.print.util
Contains a number of useful print implementations (building blocks) that can be used to define a report.
li.netcat.print.util.text - package li.netcat.print.util.text
Contains text utilities that are used for example to break a text into multiple lines.

M

MODE_ABSOLUTE - Static variable in class li.netcat.print.util.ScalePrint
This constant defines the default scale mode as absolute.
MODE_AUTO_WIDTH - Static variable in class li.netcat.print.util.ScalePrint
This constant defines the default scale mode to be automatic according to the width.
MODE_HEAVY - Static variable in class li.netcat.print.PreviewPanel
Defines the mode of interactivity to "heavy", i.e. the layout is done during the drag operation.
MODE_LIGHT - Static variable in class li.netcat.print.PreviewPanel
Defines the mode of interactivity to "light", i.e. the layout is done only once after the drag operation.
MODE_NONE - Static variable in class li.netcat.print.PreviewPanel
Defines the mode of interactivity to "none", i.e. the borders cannot be modified interactively.
main(String[]) - Static method in class li.netcat.print.Version
Prints the version of this product to the standard output.

N

nextPage() - Method in class li.netcat.print.PreviewPanel
Increments the pageIndex by 1.

O

onPrintManagerChange(PrintManagerEvent) - Method in interface li.netcat.print.PrintManagerListener
Callback method.

P

PORTRAIT - Static variable in class li.netcat.print.PrintConstants
Equal to PageFormat.PORTRAIT
PageDecorator - interface li.netcat.print.util.PageDecorator.
The PageDecorator defines header and / or footer to decorate a Print.
PageNumber - class li.netcat.print.util.PageNumber.
The PageNumber is used to number one page.
PageNumberFactory - class li.netcat.print.util.PageNumberFactory.
This class is used to create and count page numbers.
PageNumberFactory() - Constructor for class li.netcat.print.util.PageNumberFactory
Constructs a new PageNumberFactory that begins counting at 0.
PageNumberPrint - class li.netcat.print.util.PageNumberPrint.
Supporting class to write the number on a page.
PageNumberPrint(PageNumber) - Constructor for class li.netcat.print.util.PageNumberPrint
Constructs a new PageNumberPrint with the given PageNumber.
PagePrint - class li.netcat.print.util.PagePrint.
This Print is used to add header and/or footer on each page to a given print.
PagePrint(Print, PageDecorator) - Constructor for class li.netcat.print.util.PagePrint
Constructs a new PagePrint with the given body and the given PageDecorator.
Painter - interface li.netcat.print.Painter.
General interface to an object that has a size and that is able to paint itself on a Graphics at a specific position.
PainterPrint - class li.netcat.print.util.PainterPrint.
This Print can be used to wrap a Painter as a Print.
PainterPrint(Painter) - Constructor for class li.netcat.print.util.PainterPrint
Constructs a new PainterPrint using the given Painter.
PreviewPanel - class li.netcat.print.PreviewPanel.
Defaut implementation of a print preview panel.
PreviewPanel(Print) - Constructor for class li.netcat.print.PreviewPanel
Constructs a new PreviewPanel using the given Print.
PreviewPanel(PrintManager) - Constructor for class li.netcat.print.PreviewPanel
Constructs a new PreviewPanel using the given PrintManager.
Print - interface li.netcat.print.Print.
The Print is the interface to a very lightweight component that can be printed on one or more pages.
PrintBorder - interface li.netcat.print.util.PrintBorder.
Interface, defining a border that can handle a pagebreak.
PrintConstants - class li.netcat.print.PrintConstants.
This class contains a collection of useful constans.
PrintConstants() - Constructor for class li.netcat.print.PrintConstants
 
PrintInsets - class li.netcat.print.util.PrintInsets.
PrintInsets are similar to the java.awt.Insets with top, left, bottom and right insets.
PrintInsets(int, int, int, int, int, int) - Constructor for class li.netcat.print.util.PrintInsets
Constructs a new and immutable PrintInsets object with the given insets.
PrintIterator - interface li.netcat.print.PrintIterator.
The PrintIterator is an object similar to the java Enumeration.
PrintManager - class li.netcat.print.PrintManager.
The PrintManager adds the PageFormat and the PrinterJob to a Print and controls the layouting, i.e. it uses the Print to create a PrintIterator and consumes all Painters of the iterator.
PrintManager() - Constructor for class li.netcat.print.PrintManager
Constructs a new PrintManager with no Print and a scale of 1.0.
PrintManager(boolean, PageFormat) - Constructor for class li.netcat.print.PrintManager
Constructs a new PrintManager with no Print and a scale of 1.0.
PrintManager(Print) - Constructor for class li.netcat.print.PrintManager
Constructs a new PrintManager with the given Print and a scale of 1.0.
PrintManagerEvent - class li.netcat.print.PrintManagerEvent.
Event that specifies the sort of change occured in the PrintManager.
PrintManagerEvent(Object, int) - Constructor for class li.netcat.print.PrintManagerEvent
Constructs a new PrintManagerEvent using the given source and the given flags.
PrintManagerListener - interface li.netcat.print.PrintManagerListener.
Handler class that is notified upon a change in the PrintManager.
pageDialog(boolean) - Method in class li.netcat.print.PrintManager
Shows the page dialog to change the PageFormat.
paint(Graphics, int, int) - Method in interface li.netcat.print.Painter
Paints the target on the given Graphics.
paint(Graphics) - Method in class li.netcat.print.PreviewPanel
 
paint(TablePrint, Graphics, int, int, int[], int[], int, int) - Method in class li.netcat.print.table.DefaultTableLook
 
paint(TablePrint, Graphics, int, int, int[], int[], int, int) - Method in interface li.netcat.print.table.TableLook
Paints the whole look of the table.
paint(Print, Graphics, PrintInsets, int, int, int, int, boolean, boolean) - Method in class li.netcat.print.util.DrawerPrintBorder
 
paint(Graphics, int, int) - Method in class li.netcat.print.util.FixSizePainter
 
paint(Graphics, int, int) - Method in class li.netcat.print.util.LabelDrawer
 
paint(Print, Graphics, PrintInsets, int, int, int, int, boolean, boolean) - Method in class li.netcat.print.util.LinePrintBorder
 
paint(Print, Graphics, PrintInsets, int, int, int, int, boolean, boolean) - Method in interface li.netcat.print.util.PrintBorder
Paints the PrintBorder on the given graphics.
paint(Graphics, int, int) - Method in class li.netcat.print.util.XYPainter
 
paintEmptyPage(Graphics, int, int, int, int, int, int) - Method in class li.netcat.print.PreviewPanel
Override this method for a custom look.
paintNoPage(Graphics, int, int, int, int, int, int) - Method in class li.netcat.print.PreviewPanel
Override this method for a custom look.
previousPage() - Method in class li.netcat.print.PreviewPanel
Decrements the pageIndex by 1.
print(boolean) - Method in class li.netcat.print.PrintManager
Prints the Print associated with the PrintManager.
print(Graphics, PageFormat, int) - Method in class li.netcat.print.PrintManager
 

R

REMAINDER - Static variable in class li.netcat.print.util.GridPrintConstraints
The REMAINDER is a colSpan value that fills all remaining columns.
REVERSE_LANDSCAPE - Static variable in class li.netcat.print.PrintConstants
Equal to PageFormat.REVERSE_LANDSCAPE
RIGHT - Static variable in class li.netcat.print.PrintConstants
Equal to SwingConstants.RIGHT
ROTATE_0 - Static variable in class li.netcat.print.PrintConstants
Defines the rotation of 0 degrees clockwise
ROTATE_180 - Static variable in class li.netcat.print.PrintConstants
Defines the rotation of 180 degrees clockwise
ROTATE_270 - Static variable in class li.netcat.print.PrintConstants
Defines the rotation of 270 degrees clockwise
ROTATE_90 - Static variable in class li.netcat.print.PrintConstants
Defines the rotation of 90 degrees clockwise
RotatePrint - class li.netcat.print.util.RotatePrint.
This Print is used to rotate a given Print by 0, 90, 180 or 270 degrees.
RotatePrint(Print) - Constructor for class li.netcat.print.util.RotatePrint
Constructs a new RotatePrint to rotate the given print.
RotatePrint(Print, int) - Constructor for class li.netcat.print.util.RotatePrint
Constructs a new RotatePrint to rotate the given print.
RowHeightCalculator - interface li.netcat.print.table.