Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractBorderPainter - Class in net.sf.paperclips
-
Abstract implementation of BorderPainter providing implementation of helper methods.
- AbstractBorderPainter() - Constructor for class net.sf.paperclips.AbstractBorderPainter
- AbstractIterator - Class in net.sf.paperclips
-
An abstract PrintIterator class which maintains references to the device and gc arguments passed to
Print.iterator(Device, GC)
. - AbstractIterator(AbstractIterator) - Constructor for class net.sf.paperclips.AbstractIterator
-
Copy constructor.
- AbstractIterator(Device, GC) - Constructor for class net.sf.paperclips.AbstractIterator
-
Constructs an AbstractIterator with the given Device and GC.
- AbstractPiece - Class in net.sf.paperclips
-
An abstract PrintPiece class.
- AbstractPiece(AbstractIterator, Point) - Constructor for class net.sf.paperclips.AbstractPiece
-
Constructos an AbstractPiece.
- AbstractPiece(Device, GC, Point) - Constructor for class net.sf.paperclips.AbstractPiece
-
Constructs an AbstractPiece.
- add(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, using the given colspan and alignment.
- add(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, with the default alignment and a colspan of 1.
- add(Print) - Method in class net.sf.paperclips.LayerPrint
-
Adds the given Print to this LayerPrint using the default alignment.
- add(Print) - Method in class net.sf.paperclips.SeriesPrint
-
Adds the given print to this SeriesPrint.
- add(Print[]) - Method in class net.sf.paperclips.SeriesPrint
-
Adds the given prints to this SeriesPrint.
- add(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid body, with the given colspan and the default alignment.
- add(Print, int) - Method in class net.sf.paperclips.LayerPrint
-
Adds the given Print to this LayerPrint using the specified alignment.
- add(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.
- addColumn(int, String) - Method in class net.sf.paperclips.GridPrint
-
Inserts the column at the specified position in the grid.
- addColumn(int, GridColumn) - Method in class net.sf.paperclips.GridPrint
-
Inserts the column at the specified position in the grid.
- addColumn(String) - Method in class net.sf.paperclips.GridPrint
-
Adds the column on the right edge of the grid.
- addColumn(GridColumn) - Method in class net.sf.paperclips.GridPrint
-
Adds the column on the right edge of the grid.
- addColumns(int, String) - Method in class net.sf.paperclips.GridPrint
-
Inserts the columns at the specified position in the grid.
- addColumns(int, GridColumn[]) - Method in class net.sf.paperclips.GridPrint
-
Inserts the columns at the specified position in the grid.
- addColumns(String) - Method in class net.sf.paperclips.GridPrint
-
Adds the columns on the right edge of the grid.
- addColumns(GridColumn[]) - Method in class net.sf.paperclips.GridPrint
-
Adds the columns on the right edge of the grid.
- addFooter(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, using the given colspan and alignment.
- addFooter(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, with the default alignment and a colspan of 1.
- addFooter(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid footer, with the given colspan and the default alignment.
- addFooter(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.Use
GridPrint.addFooter(int, Print, int)
instead. GridPrint's addFooter method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan] - addHeader(int, int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given alignment.
- addHeader(int, int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given colspan and alignment.
- addHeader(int, Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given alignment.
- addHeader(int, Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, using the given colspan and alignment.
- addHeader(Print) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, with default alignment and a colspan of 1.
- addHeader(Print, int) - Method in class net.sf.paperclips.GridPrint
-
Adds the Print to the grid header, with the given colspan and the default alignment.
- addHeader(Print, int, int) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.Use
GridPrint.addHeader(int, Print, int)
instead. GridPrint's addHeader method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan] - align - Variable in class net.sf.paperclips.GridColumn
-
The default alignment for Prints in this column.
- align(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the alignment changed to the argument.
- AlignPrint - Class in net.sf.paperclips
-
A wrapper print that aligns its target vertically and/or horizontally.
- AlignPrint(Print, int, int) - Constructor for class net.sf.paperclips.AlignPrint
-
Constructs a new AlignPrint.
- append(String) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given text to the end of the document, using the default style.
- append(String, TextStyle) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given text to the end of the document, using the given style.
- append(Print) - Method in class net.sf.paperclips.StyledTextPrint
-
Appends the given element to the document.
B
- background(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the background changed to the color described by the argument.
- background(int, int, int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the background changed to the color described by the arguments.
- background(RGB) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the background changed to the argument.
- BackgroundDecorator - Class in net.sf.paperclips.decorator
-
Decorates prints with a background color.
- BackgroundDecorator(RGB) - Constructor for class net.sf.paperclips.decorator.BackgroundDecorator
-
Constructs a BackgroundDecorator with the given background.
- BackgroundPrint - Class in net.sf.paperclips
-
A decorator that paints a background color behind it's target.
- BackgroundPrint(Print, RGB) - Constructor for class net.sf.paperclips.BackgroundPrint
-
Constructs a BackgroundPrint with the given target and background color.
- BasicGridLookPainter - Class in net.sf.paperclips
-
A abstract GridLookPainter which simplifies implementation of custom GridLooks.
- BasicGridLookPainter(Device) - Constructor for class net.sf.paperclips.BasicGridLookPainter
-
Constructs a BasicGridLook painter.
- BigPrint - Class in net.sf.paperclips
-
A wrapper for prints whose minimum size is too large to fit on one page.
- BigPrint(Print) - Constructor for class net.sf.paperclips.BigPrint
-
Constructs a BigPrint.
- Border - Interface in net.sf.paperclips
-
Interface for drawing borders, used by BorderPaint and GridPrint for drawing borders a child print and grid cells, respectively.
- BORDER_OVERLAP - Static variable in class net.sf.paperclips.DefaultGridLook
-
Constant cell spacing value indicating that the borders of adjacent cells should overlap so the appear continuous.
- BORDER_OVERLAP - Static variable in class net.sf.paperclips.GridPrint
-
Constant cell spacing value indicating that the borders of adjacent cells should overlap.
- BorderDecorator - Class in net.sf.paperclips.decorator
-
Decorates prints with a border.
- BorderDecorator(Border) - Constructor for class net.sf.paperclips.decorator.BorderDecorator
-
Constructs a BorderDecorator.
- BorderPainter - Interface in net.sf.paperclips
-
Interface for calculating and drawing borders in a BorderPrint.
- BorderPrint - Class in net.sf.paperclips
-
A decorator that draws a border around the target print.
- BorderPrint(Print, Border) - Constructor for class net.sf.paperclips.BorderPrint
-
Constructs a BorderPrint with the given target and border.
- bottom - Variable in class net.sf.paperclips.GapBorder
-
The bottom gap of a closed border, expressed in points.
- bottom - Variable in class net.sf.paperclips.Margins
-
The bottom margin.
- BreakPrint - Class in net.sf.paperclips
-
A print which inserts a page break (or a column break, if inside a ColumnPrint).
- BreakPrint() - Constructor for class net.sf.paperclips.BreakPrint
-
Constructs a BreakPrint.
C
- CellBackgroundProvider - Interface in net.sf.paperclips
-
Instances of this interface provide background colors to be drawn behind cells in a grid.
- ColumnPrint - Class in net.sf.paperclips
-
A wrapper Print which splits its child print into multiple columns.
- ColumnPrint(Print, int, int) - Constructor for class net.sf.paperclips.ColumnPrint
-
Constructs a ColumnPrint with the given target, number of columns, and column spacing (expressed in points).
- ColumnPrint(Print, int, int, boolean) - Constructor for class net.sf.paperclips.ColumnPrint
-
Constructs a ColumnPrint with the given target, column count, column spacing, and compression.
- CompositeEntry - Class in net.sf.paperclips
-
An entry in a CompositePiece.
- CompositeEntry(PrintPiece, Point) - Constructor for class net.sf.paperclips.CompositeEntry
-
Constructs a CompositeEntry with the given PrintPiece and offset.
- CompositePiece - Class in net.sf.paperclips
-
A composite PrintPiece for displaying child PrintPieces.
- CompositePiece(List) - Constructor for class net.sf.paperclips.CompositePiece
-
Constructs a composite PrintPiece with the given entries.
- CompositePiece(List, Point) - Constructor for class net.sf.paperclips.CompositePiece
-
Constructs a composite PrintPiece with the given entries and minimum size.
- CompositePiece(CompositeEntry[]) - Constructor for class net.sf.paperclips.CompositePiece
-
Constructs a CompositePiece with the given entries.
- CompositePiece(CompositeEntry[], Point) - Constructor for class net.sf.paperclips.CompositePiece
-
Constructs a CompositePrintPiece with the given entries and explicit size.
- CompoundDecorator - Class in net.sf.paperclips.decorator
-
Decorates prints with multiple decorators.
- CompoundDecorator(PrintDecorator[]) - Constructor for class net.sf.paperclips.decorator.CompoundDecorator
-
Constructs a CompoundDecorator.
- computeSize(PrintIterator) - Method in class net.sf.paperclips.internal.PrintSizeStrategy
-
Computes the size of the PrintIterator.
- convertToString(Object) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Converts the argument to a String.
- copy() - Method in interface net.sf.paperclips.PrintIterator
-
Returns a copy of this PrintIterator, with all relevant internal states.
- copy(int[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns a copy of the array.
- copy(int[][]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns a deep copy of the array.
- copy(FontData) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns a defensive copy of the passed in FontData.
- copy(RGB) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns a defensive copy of the passed in RGB.
- create(String) - Method in class net.sf.paperclips.TextStyle
-
Returns a TextPrint of the given text in this text style
- createPainter(Device, GC) - Method in interface net.sf.paperclips.Border
-
Creates a BorderPainter which uses the given Device and GC.
- createPainter(Device, GC) - Method in class net.sf.paperclips.GapBorder
- createPainter(Device, GC) - Method in class net.sf.paperclips.LineBorder
- createPrint() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Compose and return a Print appropriate for the concrete class.
- createPrint(PageNumber) - Method in interface net.sf.paperclips.PageDecoration
-
Returns a decorator Print for the page with the given page number, or null if no decoration is provided for the given page.
- createPrint(PageNumber) - Method in class net.sf.paperclips.PageNumberPageDecoration
- createPrint(PageNumber) - Method in class net.sf.paperclips.SimplePageDecoration
D
- DebugPrint - Class in net.sf.paperclips
-
Deprecated.Reminder to remove references to DebugPrint when you're done debugging a print job.
- DebugPrint(Print) - Constructor for class net.sf.paperclips.DebugPrint
-
Deprecated.
- decorate(Print) - Method in class net.sf.paperclips.decorator.BackgroundDecorator
- decorate(Print) - Method in class net.sf.paperclips.decorator.BorderDecorator
- decorate(Print) - Method in class net.sf.paperclips.decorator.CompoundDecorator
- decorate(Print) - Method in interface net.sf.paperclips.decorator.PrintDecorator
-
Wraps the target in a decoration.
- DEFAULT_ALIGN - Static variable in class net.sf.paperclips.GridColumn
-
The default alignment used when alignment is not specified.
- DEFAULT_ALIGN - Static variable in class net.sf.paperclips.LayerPrint
-
Constant for the default alignment of child Prints.
- DEFAULT_ALIGN - Static variable in class net.sf.paperclips.PageNumberPrint
-
The default alignment for a PageNumberPrint.
- DEFAULT_ALIGN - Static variable in class net.sf.paperclips.TextPrint
-
The default alignment for TextPrint.
- DEFAULT_FONT_DATA - Static variable in class net.sf.paperclips.PageNumberPrint
-
The default font data for a PageNumberPrint.
- DEFAULT_FONT_DATA - Static variable in class net.sf.paperclips.TextPrint
-
The default font data for a TextPrint.
- DEFAULT_SIZE - Static variable in class net.sf.paperclips.GridColumn
-
The default size used when size is not specified.
- DEFAULT_TEXT - Static variable in class net.sf.paperclips.TextPrint
-
The default text for a TextPrint.
- DEFAULT_TEXT_STYLE - Static variable in class net.sf.paperclips.PageNumberPrint
-
The default text style.
- DEFAULT_WEIGHT - Static variable in class net.sf.paperclips.GridColumn
-
The default weight used when weight is not specified.
- DefaultCellBackgroundProvider - Class in net.sf.paperclips
-
Default implementation of the CellBackgroundProvider interface.
- DefaultCellBackgroundProvider() - Constructor for class net.sf.paperclips.DefaultCellBackgroundProvider
-
Constructs a DefaultGridBackgroundProvider with a null background.
- DefaultCellBackgroundProvider(CellBackgroundProvider) - Constructor for class net.sf.paperclips.DefaultCellBackgroundProvider
-
Constructs a DefaultGridBackgroundProvider which chains to the argument if this instance has a null background color.
- DefaultGridLook - Class in net.sf.paperclips
-
A GridLook which draws a border around grid cells, with configurable background colors for body, header, and footer cells.
- DefaultGridLook() - Constructor for class net.sf.paperclips.DefaultGridLook
-
Constructs a DefaultGridLook with no border, no cell spacing, and no background colors.
- DefaultGridLook(int, int) - Constructor for class net.sf.paperclips.DefaultGridLook
-
Constructs a DefaultGridLook with the given cell spacing, and no border or background colors.
- DefaultPageNumberFormat - Class in net.sf.paperclips
-
The default PageNumberFormat used by PageNumberPrints.
- DefaultPageNumberFormat() - Constructor for class net.sf.paperclips.DefaultPageNumberFormat
- deriveRGB(int) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns an RGB representing the color described by the argument.
- device - Variable in class net.sf.paperclips.AbstractIterator
-
The device being printed to.
- device - Variable in class net.sf.paperclips.AbstractPiece
-
The device being printed to.
- device - Variable in class net.sf.paperclips.BasicGridLookPainter
-
The printer device on which the look is being painted.
- dispose() - Method in interface net.sf.paperclips.BorderPainter
-
Disposes the system resources allocated by this BorderPainter.
- dispose() - Method in class net.sf.paperclips.CompositeEntry
-
Disposes this entry's print piece.
- dispose() - Method in class net.sf.paperclips.CompositePiece
- dispose() - Method in interface net.sf.paperclips.GridLookPainter
-
Disposes the system resources allocated by this GridLookPainter.
- dispose() - Method in interface net.sf.paperclips.PrintPiece
-
Disposes the system resources allocated by this PrintPiece.
- dispose(List) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the print pieces in the list.
- dispose(PrintPiece) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the print piece if not null.
- dispose(PrintPiece[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the print pieces that are not null.
- dispose(PrintPiece[], int, int) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the print pieces in the array from start (inclusive) to end (exclusive).
- dispose(PrintPiece, PrintPiece) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the arguments that are not null.
- dispose(PrintPiece, PrintPiece[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Disposes the print pieces that are not null.
E
- empty() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Constructs and returns an EmptyPrint of size (0, 0).
- empty(int, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Constructs and returns an EmptyPrint with the given size.
- EmptyPrint - Class in net.sf.paperclips
-
A Print which displays nothing but takes up space.
- EmptyPrint() - Constructor for class net.sf.paperclips.EmptyPrint
-
Constructs an EmptyPrint with size (0, 0).
- EmptyPrint(int, int) - Constructor for class net.sf.paperclips.EmptyPrint
-
Constructs an EmptyPrint with the given size.
- EmptyPrint(Point) - Constructor for class net.sf.paperclips.EmptyPrint
-
Constructs an EmptyPrint with the given size.
- endDummyJob(Printer) - Static method in class net.sf.paperclips.PaperClips
-
Ends a dummy job on the given Printer if the platform requires a dummy job.
- equal(double, double) - Static method in class net.sf.paperclips.internal.Util
-
Returns whether the arguments are equal.
- equal(Object, Object) - Static method in class net.sf.paperclips.internal.Util
-
Returns whether the arguments are equal.
- equal(ImageData, ImageData) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns whether the ImageData arguments are equivalent.
- equal(PaletteData, PaletteData) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns whether the PaletteData arguments are equivalent.
- equals(Object) - Method in class net.sf.paperclips.AlignPrint
- equals(Object) - Method in class net.sf.paperclips.BackgroundPrint
- equals(Object) - Method in class net.sf.paperclips.BigPrint
- equals(Object) - Method in class net.sf.paperclips.BorderPrint
- equals(Object) - Method in class net.sf.paperclips.BreakPrint
- equals(Object) - Method in class net.sf.paperclips.ColumnPrint
- equals(Object) - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
- equals(Object) - Method in class net.sf.paperclips.DefaultGridLook
- equals(Object) - Method in class net.sf.paperclips.DefaultPageNumberFormat
- equals(Object) - Method in class net.sf.paperclips.EmptyPrint
- equals(Object) - Method in class net.sf.paperclips.GapBorder
- equals(Object) - Method in class net.sf.paperclips.GridCell
- equals(Object) - Method in class net.sf.paperclips.GridColumn
- equals(Object) - Method in class net.sf.paperclips.GridPrint
- equals(Object) - Method in class net.sf.paperclips.ImagePrint
- equals(Object) - Method in class net.sf.paperclips.LayerEntry
- equals(Object) - Method in class net.sf.paperclips.LayerPrint
- equals(Object) - Method in class net.sf.paperclips.LineBorder
- equals(Object) - Method in class net.sf.paperclips.LineBreakPrint
- equals(Object) - Method in class net.sf.paperclips.LinePrint
- equals(Object) - Method in class net.sf.paperclips.Margins
- equals(Object) - Method in class net.sf.paperclips.NoBreakPrint
- equals(Object) - Method in class net.sf.paperclips.PageNumberPageDecoration
- equals(Object) - Method in class net.sf.paperclips.PageNumberPrint
- equals(Object) - Method in class net.sf.paperclips.PagePrint
- equals(Object) - Method in class net.sf.paperclips.PrintJob
- equals(Object) - Method in class net.sf.paperclips.RotatePrint
- equals(Object) - Method in class net.sf.paperclips.ScalePrint
- equals(Object) - Method in class net.sf.paperclips.SeriesPrint
- equals(Object) - Method in class net.sf.paperclips.SidewaysPrint
- equals(Object) - Method in class net.sf.paperclips.SimplePageDecoration
- equals(Object) - Method in class net.sf.paperclips.StyledTextPrint
- equals(Object) - Method in class net.sf.paperclips.TextPrint
- equals(Object) - Method in class net.sf.paperclips.TextStyle
- error(int) - Static method in class net.sf.paperclips.PaperClips
-
Triggers an appropriate exception based on the passed in error code.
- error(int, String) - Static method in class net.sf.paperclips.PaperClips
-
Triggers an appropriate exception based on the passed in error code.
- error(String) - Static method in class net.sf.paperclips.PaperClips
-
Triggers an unspecified exception with the passed in detail.
F
- FactoryPrint - Class in net.sf.paperclips
-
Deprecated.This class will be removed in a future release.
- FactoryPrint() - Constructor for class net.sf.paperclips.FactoryPrint
-
Deprecated.Default constructor.
- firstMatch(int, int[], int) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the first element in masks where (value invalid input: '&' mask[index]) == mask[index].
- font(String, int, int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the font changed to the font described by the arguments.
- font(FontData) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the font changed to the argument.
- fontHeight(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the font height changed to the argument.
- fontName(String) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the font name changed to the argument.
- fontStyle(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the font style changed to the argument.
- forDevice(Device) - Static method in class net.sf.paperclips.internal.ResourcePool
-
Returns a SharedGraphics which creates resources on the given device.
- foreground(int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the foreground changed to the color described by the argument.
- foreground(int, int, int) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the foreground changed to the color described by the arguments.
- foreground(RGB) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the foreground changed to the argument.
- format(PageNumber) - Method in class net.sf.paperclips.DefaultPageNumberFormat
- format(PageNumber) - Method in interface net.sf.paperclips.PageNumberFormat
-
Returns a formatted String representing the pageNumber argument.
G
- GapBorder - Class in net.sf.paperclips
-
A border which leaves a gap around the target Print.
- GapBorder() - Constructor for class net.sf.paperclips.GapBorder
-
Constructs a GapBorder with 0 gap around all sides.
- GapBorder(int) - Constructor for class net.sf.paperclips.GapBorder
-
Constructs a GapBorder with the given gap around all sides.
- gc - Variable in class net.sf.paperclips.AbstractIterator
-
A GC used for measuring document elements.
- gc - Variable in class net.sf.paperclips.AbstractPiece
-
Deprecated.use the local GC in the
PrintPiece.paint(GC, int, int)
method instead. - getAlign() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the horizontal text alignment.
- getAlign() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the horizontal text alignment.
- getAlign() - Method in class net.sf.paperclips.TextPrint
-
Deprecated.Use
TextPrint.getAlignment()
instead. - getAlignment() - Method in class net.sf.paperclips.AlignPrint
-
Returns a Point with the x and y fields set to the horizontal and vertical alignment, respectively.
- getAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns a Point representing the horizontal and vertical alignment applied to the cell's content.
- getAlignment() - Method in class net.sf.paperclips.TextPrint
-
Returns the horizontal text alignment.
- getAlignment() - Method in class net.sf.paperclips.TextStyle
-
Returns the text alignment.
- getAngle() - Method in class net.sf.paperclips.RotatePrint
-
Returns the angle by which the target will be rotated (one of 0, 90, 180, or 270).
- getAngle() - Method in class net.sf.paperclips.SidewaysPrint
-
Returns the angle by which the target will be rotated (one of 0, 90, 180, or 270).
- getBackground() - Method in class net.sf.paperclips.BackgroundPrint
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.TextPrint
-
Returns the background color.
- getBackground() - Method in class net.sf.paperclips.TextStyle
-
Returns the text background color.
- getBody() - Method in class net.sf.paperclips.PagePrint
-
Returns the page body.
- getBodyBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the body background color.
- getBodyBackground() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook.
- getBodyBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the body background color provider.
- getBodyBottom(boolean, boolean) - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the bottom of the body cells.
- getBodyCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the body cells in the grid.
- getBodyTop(boolean, boolean) - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the top of the body cells.
- getBodyVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the body.
- getBorder() - Method in class net.sf.paperclips.BorderPrint
-
Returns the border being applied to the target.
- getBottom(boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the bottom.
- getBottom(boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the bottom.
- getCellBackground(int, int, int) - Method in interface net.sf.paperclips.CellBackgroundProvider
-
Returns the background color to display for the given grid cell.
- getCellBackground(int, int, int) - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Returns the value in the background property.
- getCellBorder() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the cell border.
- getCellBorder() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook.
- getCellPadding() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns a rectangle whose public fields denote the left (x), top (y), right (width) and bottom (height) cell padding, expressed in points.
- getCellSpacing() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the border spacing, in points, between adjacent grid cells.
- getColor(RGB) - Method in class net.sf.paperclips.internal.ResourcePool
-
Returns a color for the passed in RGB.
- getColSpan() - Method in class net.sf.paperclips.GridCell
-
Returns the number of columns this cell spans across.
- getColumnCount() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the number of columns per page.
- getColumnGroups() - Method in class net.sf.paperclips.GridPrint
-
Returns current column groups.
- getColumns() - Method in class net.sf.paperclips.GridPrint
-
Returns an array of
GridColumn
s which are the columns in the receiver. - getColumnSpacing() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the spacing between columns, in points.
- getContent() - Method in class net.sf.paperclips.GridCell
-
Returns the content print of the cell.
- getDebug() - Static method in class net.sf.paperclips.PaperClips
-
EXPERIMENTAL: Returns whether debug mode is enabled.
- getDefaultGridSpacing() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns the default spacing, in points, for GridPrints.
- getDefaultImageDPI() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns the default image DPI.
- getDefaultLabelFont() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns the default label font.
- getDefaultPrinterData() - Static method in class net.sf.paperclips.PaperClips
-
Returns a PrinterData for the system-default printer, or the first printer if no default printer is configured.
- getDefaultTextFont() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns the default text font.
- getDocument() - Method in class net.sf.paperclips.PrintJob
-
Returns the document to be printed.
- getDPI() - Method in class net.sf.paperclips.ImagePrint
-
Returns the DPI that this image will be rendered at.
- getEntries() - Method in class net.sf.paperclips.LayerPrint
-
Returns an array of entries in this LayerPrint.
- getFont(FontData) - Method in class net.sf.paperclips.internal.ResourcePool
-
Returns a font for the passed in FontData.
- getFontData() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the font.
- getFontData() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text font.
- getFontData() - Method in class net.sf.paperclips.TextPrint
-
Returns the font that will be used to print the text.
- getFontData() - Method in class net.sf.paperclips.TextStyle
-
Returns the font applied to the text.
- getFooter() - Method in class net.sf.paperclips.PagePrint
-
Returns the page footer.
- getFooterBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the footer background color.
- getFooterBackground() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefualtGridLook.
- getFooterBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the footer background color provider.
- getFooterBottom() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the bottom of the footer cells.
- getFooterCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the footer cells in the grid.
- getFooterGap() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the vertical gap between the body and footer cells.
- getFooterGap() - Method in class net.sf.paperclips.PagePrint
-
Returns the gap between the body and footer, expressed in points.
- getFooterVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the footer.
- getForeground() - Method in class net.sf.paperclips.TextPrint
-
Returns the foreground color.
- getForeground() - Method in class net.sf.paperclips.TextStyle
-
Returns the text foreground color.
- getFormat() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the page number format.
- getGapSize() - Method in class net.sf.paperclips.LineBorder
-
Returns the size of the gap between the line border and the target print, expressed in points.
- getHeader() - Method in class net.sf.paperclips.PagePrint
-
Returns the page header.
- getHeaderBackground() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the header background color.
- getHeaderBackground() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook.
- getHeaderBackgroundProvider() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the header background color provider.
- getHeaderCells() - Method in class net.sf.paperclips.GridPrint
-
Returns an array containing the header cells in this grid.
- getHeaderGap() - Method in class net.sf.paperclips.DefaultGridLook
-
Returns the vertical gap between the header and body cells.
- getHeaderGap() - Method in class net.sf.paperclips.PagePrint
-
Returns the gap between the header and body, expressed in points.
- getHeaderTop() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the top of the header cells.
- getHeaderVerticalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the vertical spacing, in pixels, between rows in the header.
- getHeight(boolean, boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the top and bottom border insets.
- getHeight(boolean, boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the top and bottom border insets.
- getHorizontalAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns the horizontal alignment applied to the cell content.
- getHorizontalAlignment() - Method in class net.sf.paperclips.LayerEntry
-
Returns the horizontal alignment applied to the target.
- getHorizontalSpacing() - Method in interface net.sf.paperclips.GridMargins
-
Returns the horizontal spacing, in pixels, between grid cells.
- getHorizontalSpacing() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook.
- getImageData() - Method in class net.sf.paperclips.ImagePrint
-
Returns the ImageData of the image being printed.
- getImageData(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Creates and returns an ImageData using the given filename.
- getItems() - Method in class net.sf.paperclips.SeriesPrint
-
Returns an array of items in the series.
- getLeft() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the left.
- getLeft() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the left.
- getLeft() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the left side of the grid.
- getLineWidth() - Method in class net.sf.paperclips.LineBorder
-
Returns the line width of the border, expressed in points.
- getLook() - Method in class net.sf.paperclips.GridPrint
-
Returns the grid's look.
- getMarginBounds(Margins, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the printable area which is inside the given margins on the paper.
- getMargins() - Method in interface net.sf.paperclips.GridLookPainter
-
Returns the grid margins used for the GridLook.
- getMargins() - Method in class net.sf.paperclips.PrintJob
-
Returns the page margins, expressed in points.
- getMaxHeight() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the maximum top and bottom border insets.
- getMaxHeight() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the maximum top and bottom border insets.
- getName() - Method in class net.sf.paperclips.PrintJob
-
Returns the name of the print job.
- getOrientation() - Method in class net.sf.paperclips.LinePrint
-
Returns the line orientation (one of
SWT.HORIZONTAL
orSWT.VERTICAL
). - getOrientation() - Method in class net.sf.paperclips.PrintJob
-
Returns the page orientation.
- getOverlap() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the x and y distance that two of the same BorderPainters would overlap to create the appearance of a single border between the two.
- getPageCount() - Method in interface net.sf.paperclips.PageNumber
-
Returns the total number of pages.
- getPageEnumeration(PrintJob, Printer, GC) - Static method in class net.sf.paperclips.PaperClips
-
Returns a
PageEnumeration
for the passed in PrintJob on the given Printer, using the given GC. - getPageNumber() - Method in interface net.sf.paperclips.PageNumber
-
Returns the zero-based page index.
- getPageNumber() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the page number of this Print.
- getPageNumberFormat() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the page number format.
- getPages(PrintJob, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Processes the print job and returns an array of pages for the given printer device.
- getPainter(Device, GC) - Method in class net.sf.paperclips.DefaultGridLook
- getPainter(Device, GC) - Method in interface net.sf.paperclips.GridLook
-
Returns a GridLookPainter for painting the GridLook.
- getPaperBounds(Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the paper, including non-printable margins.
- getPrint() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns the Print created by this factory.
- getPrintableBounds(Printer) - Static method in class net.sf.paperclips.PaperClips
-
Returns the bounding rectangle of the printable area on the paper.
- getRGB() - Method in class net.sf.paperclips.LineBorder
-
Returns the border color.
- getRGB() - Method in class net.sf.paperclips.LinePrint
-
Returns the line color.
- getRGB() - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Returns the text color.
- getRGB() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text color.
- getRGB() - Method in class net.sf.paperclips.TextPrint
-
Deprecated.Use
TextPrint.getForeground()
instead. - getRight() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the right.
- getRight() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the right.
- getRight() - Method in interface net.sf.paperclips.GridMargins
-
Returns the margin, in pixels, at the right side of the grid.
- getScale() - Method in class net.sf.paperclips.ScalePrint
-
Returns the scale by which the target will be scaled, or null (indicating automatic scale down to fit).
- getSize() - Method in class net.sf.paperclips.AbstractPiece
- getSize() - Method in class net.sf.paperclips.CompositePiece
- getSize() - Method in class net.sf.paperclips.EmptyPrint
-
Returns the size of the empty space.
- getSize() - Method in class net.sf.paperclips.ImagePrint
-
Returns the size that the image will be rendered at, in points.
- getSize() - Method in interface net.sf.paperclips.PrintPiece
-
Returns the dimensions of this PrintPiece, in pixels.
- getStrikeout() - Method in class net.sf.paperclips.TextPrint
-
Returns the strikout flag.
- getStrikeout() - Method in class net.sf.paperclips.TextStyle
-
Returns the strikeout flag.
- getString(String) - Static method in class net.sf.paperclips.Messages
-
Returns the locale-specific messages for the given key.
- getStyle() - Method in class net.sf.paperclips.TextPrint
-
Returns the text style.
- getTarget() - Method in class net.sf.paperclips.AlignPrint
-
Returns the wrapped print being aligned
- getTarget() - Method in class net.sf.paperclips.BackgroundPrint
-
Returns the wrapped print to which the background color is being applied.
- getTarget() - Method in class net.sf.paperclips.BigPrint
-
Returns the wrapped print which is being split across pages.
- getTarget() - Method in class net.sf.paperclips.BorderPrint
-
Returns the wrapped print to which the border is being applied.
- getTarget() - Method in class net.sf.paperclips.ColumnPrint
-
Returns the target print being split into columns.
- getTarget() - Method in class net.sf.paperclips.LayerEntry
-
Returns the target print of this entry.
- getTarget() - Method in class net.sf.paperclips.NoBreakPrint
-
Returns the print which will not be broken across pages.
- getTarget() - Method in class net.sf.paperclips.RotatePrint
-
Returns the print to be rotated.
- getTarget() - Method in class net.sf.paperclips.ScalePrint
-
Returns the print being scaled.
- getTarget() - Method in class net.sf.paperclips.SidewaysPrint
-
Returns the print to be rotated.
- getText() - Method in class net.sf.paperclips.TextPrint
-
Returns the text that will be printed.
- getTextStyle() - Method in class net.sf.paperclips.PageNumberPrint
-
Returns the text style that will be used to render the page number
- getThickness() - Method in class net.sf.paperclips.LinePrint
-
Returns the line thickness, in points.
- getTop(boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the border inset, in pixels, from the top.
- getTop(boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Returns the border inset, in pixels, from the top.
- getUnderline() - Method in class net.sf.paperclips.TextPrint
-
Returns the underline flag.
- getUnderline() - Method in class net.sf.paperclips.TextStyle
-
Returns the underline flag.
- getVerticalAlignment() - Method in class net.sf.paperclips.GridCell
-
Returns the vertical alignment applied to the cell content.
- getVerticalSpacing() - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook.
- getWidth() - Method in class net.sf.paperclips.AbstractBorderPainter
-
Returns the sum of the left and right border insets.
- getWidth() - Method in interface net.sf.paperclips.BorderPainter
-
Returns the sum of the left and right border insets.
- getWordSplitting() - Method in class net.sf.paperclips.TextPrint
-
Returns whether word splitting is enabled.
- grid(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a GridPrint with columns using the given argument.
- grid(String, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a GridPrint with the given columns and spacing.
- GridCell - Class in net.sf.paperclips
-
Instances of this class represent a single cell in a GridPrint.
- GridColumn - Class in net.sf.paperclips
-
Describes the properties of a column in a GridPrint.
- GridColumn(int, int, int) - Constructor for class net.sf.paperclips.GridColumn
-
Constructs a GridColumn.
- GridLook - Interface in net.sf.paperclips
-
A pluggable "look" for a GridPrint.
- GridLookPainter - Interface in net.sf.paperclips
-
Interface for drawing a GridLook.
- GridMargins - Interface in net.sf.paperclips
-
An interface for informing a GridPrint what cell margins to use for the GridLook.
- GridPrint - Class in net.sf.paperclips
-
A Print which arranges child prints into a grid.
- GridPrint() - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with no columns and a default look.
- GridPrint(String) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and a default look.
- GridPrint(String, int) - Constructor for class net.sf.paperclips.GridPrint
-
Deprecated.use GridPrint(String) instead, then set a DefaultGridLook on the grid with the desired cell spacing.
- GridPrint(String, int, int) - Constructor for class net.sf.paperclips.GridPrint
-
Deprecated.use GridPrint(String) instead, then set a DefaultGridLook on the grid with the desired cell spacing.
- GridPrint(String, GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and look.
- GridPrint(GridColumn[]) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and a default look.
- GridPrint(GridColumn[], int) - Constructor for class net.sf.paperclips.GridPrint
-
Deprecated.use GridPrint(GridColumn[]) instead, then set a DefaultGridLook on the grid with the desired cell spacing.
- GridPrint(GridColumn[], int, int) - Constructor for class net.sf.paperclips.GridPrint
-
Deprecated.use GridPrint(GridColumn[]) instead, then set a DefaultGridLook on the grid with the desired cell spacing.
- GridPrint(GridColumn[], GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with the given columns and look.
- GridPrint(GridLook) - Constructor for class net.sf.paperclips.GridPrint
-
Constructs a GridPrint with no columns and the given look.
H
- hashCode() - Method in class net.sf.paperclips.AlignPrint
- hashCode() - Method in class net.sf.paperclips.BackgroundPrint
- hashCode() - Method in class net.sf.paperclips.BigPrint
- hashCode() - Method in class net.sf.paperclips.BorderPrint
- hashCode() - Method in class net.sf.paperclips.BreakPrint
- hashCode() - Method in class net.sf.paperclips.ColumnPrint
- hashCode() - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
- hashCode() - Method in class net.sf.paperclips.DefaultGridLook
- hashCode() - Method in class net.sf.paperclips.DefaultPageNumberFormat
- hashCode() - Method in class net.sf.paperclips.EmptyPrint
- hashCode() - Method in class net.sf.paperclips.GapBorder
- hashCode() - Method in class net.sf.paperclips.GridCell
- hashCode() - Method in class net.sf.paperclips.GridColumn
- hashCode() - Method in class net.sf.paperclips.GridPrint
- hashCode() - Method in class net.sf.paperclips.ImagePrint
- hashCode() - Method in class net.sf.paperclips.LayerEntry
- hashCode() - Method in class net.sf.paperclips.LayerPrint
- hashCode() - Method in class net.sf.paperclips.LineBorder
- hashCode() - Method in class net.sf.paperclips.LineBreakPrint
- hashCode() - Method in class net.sf.paperclips.LinePrint
- hashCode() - Method in class net.sf.paperclips.Margins
- hashCode() - Method in class net.sf.paperclips.NoBreakPrint
- hashCode() - Method in class net.sf.paperclips.PageNumberPageDecoration
- hashCode() - Method in class net.sf.paperclips.PageNumberPrint
- hashCode() - Method in class net.sf.paperclips.PagePrint
- hashCode() - Method in class net.sf.paperclips.PrintJob
- hashCode() - Method in class net.sf.paperclips.RotatePrint
- hashCode() - Method in class net.sf.paperclips.ScalePrint
- hashCode() - Method in class net.sf.paperclips.SeriesPrint
- hashCode() - Method in class net.sf.paperclips.SidewaysPrint
- hashCode() - Method in class net.sf.paperclips.SimplePageDecoration
- hashCode() - Method in class net.sf.paperclips.StyledTextPrint
- hashCode() - Method in class net.sf.paperclips.TextPrint
- hashCode() - Method in class net.sf.paperclips.TextStyle
- hashCode(ImageData) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns a hash code for the ImageData
- hashCode(PaletteData) - Static method in class net.sf.paperclips.internal.SWTUtil
-
Returns a hash code for the PaletteData.
- hasNext() - Method in class net.sf.paperclips.PageEnumeration
-
Returns whether any pages remain.
- hasNext() - Method in interface net.sf.paperclips.PrintIterator
-
Identifies whether any PrintPieces remain.
I
- image(InputStream) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image, and the default DPI.
- image(InputStream, Point) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image and DPI.
- image(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image, and the default DPI.
- image(String, Point) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image and DPI.
- image(ImageData) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image data, using the default DPI.
- image(ImageData, Point) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns an ImagePrint with the given image data and DPI.
- ImagePrint - Class in net.sf.paperclips
-
A Print for displaying images.
- ImagePrint(ImageData) - Constructor for class net.sf.paperclips.ImagePrint
-
Constructs an ImagePrint with the given imageData, initialized at 72dpi.
- ImagePrint(ImageData, Point) - Constructor for class net.sf.paperclips.ImagePrint
-
Constructs an ImagePrint with the given imageData and dpi.
- isCellClippingEnabled() - Method in class net.sf.paperclips.GridPrint
-
Returns whether individual body cells in the grid may be broken across pages.
- isCompressed() - Method in class net.sf.paperclips.ColumnPrint
-
Returns whether the columns are compressed to the smallest possible height on the last page.
- iterator(Device, GC) - Method in class net.sf.paperclips.AlignPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.BackgroundPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.BigPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.BorderPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.BreakPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.ColumnPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.DebugPrint
-
Deprecated.
- iterator(Device, GC) - Method in class net.sf.paperclips.EmptyPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a PrintIterator for the Print returned from a call to createPrint().
- iterator(Device, GC) - Method in class net.sf.paperclips.GridPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.ImagePrint
- iterator(Device, GC) - Method in class net.sf.paperclips.LayerPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.LineBreakPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.LinePrint
- iterator(Device, GC) - Method in class net.sf.paperclips.NoBreakPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.PageNumberPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.PagePrint
- iterator(Device, GC) - Method in interface net.sf.paperclips.Print
-
Returns a PrintIterator for laying out the contents of this Print.
- iterator(Device, GC) - Method in class net.sf.paperclips.RotatePrint
- iterator(Device, GC) - Method in class net.sf.paperclips.ScalePrint
- iterator(Device, GC) - Method in class net.sf.paperclips.SeriesPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.SidewaysPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.StyledTextPrint
- iterator(Device, GC) - Method in class net.sf.paperclips.TextPrint
L
- label(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint with the given text.
- label(String, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint with the given text and alignment.
- layer() - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Constructs and returns a new LayerPrint.
- LayerEntry - Class in net.sf.paperclips
-
Instances in this class represent an entry in a LayerPrint.
- LayerPrint - Class in net.sf.paperclips
-
A Print which displays its child Prints on top each other.
- LayerPrint() - Constructor for class net.sf.paperclips.LayerPrint
-
Constructs a new LayerPrint.
- left - Variable in class net.sf.paperclips.GapBorder
-
The left side gap, expressed in points.
- left - Variable in class net.sf.paperclips.Margins
-
The left margin.
- LineBorder - Class in net.sf.paperclips
-
A border that draws a rectangle around a print.
- LineBorder() - Constructor for class net.sf.paperclips.LineBorder
-
Constructs a LineBorder with a black border and 5-pt insets.
- LineBorder(RGB) - Constructor for class net.sf.paperclips.LineBorder
-
Constructs a LineBorder with 5-pt insets.
- LineBreakPrint - Class in net.sf.paperclips
-
A class for adding line breaks corresponding to a particular font size.
- LineBreakPrint(FontData) - Constructor for class net.sf.paperclips.LineBreakPrint
-
Constructs a new LineBreakPrint on the given font.
- LinePrint - Class in net.sf.paperclips
-
A Print for drawing horizontal and vertical lines.
- LinePrint() - Constructor for class net.sf.paperclips.LinePrint
-
Constructs a horizontal LinePrint.
- LinePrint(int) - Constructor for class net.sf.paperclips.LinePrint
-
Constructs a LinePrint with the given orientation and 1-point thickness.
- LinePrint(int, double) - Constructor for class net.sf.paperclips.LinePrint
-
Constructs a LinePrint with the given orientation and thickness.
M
- Margins - Class in net.sf.paperclips
-
Instances of this class represent the page margins to follow when processing a print job.
- Margins() - Constructor for class net.sf.paperclips.Margins
-
Constructs a Margins with all sides set to 1" margins.
- Margins(int) - Constructor for class net.sf.paperclips.Margins
-
Constructs a Margins with all sides set to the argument.
- Messages - Class in net.sf.paperclips
-
Convenience methods for retrieving locale-specific messages.
- MINIMUM - Static variable in class net.sf.paperclips.internal.PrintSizeStrategy
-
Compute the minimum size
- minimumSize() - Method in interface net.sf.paperclips.PrintIterator
-
Returns the minimum size PrintPiece that this Print should be broken into.
N
- net.sf.paperclips - package net.sf.paperclips
- net.sf.paperclips.decorator - package net.sf.paperclips.decorator
- net.sf.paperclips.internal - package net.sf.paperclips.internal
- newline() - Method in class net.sf.paperclips.StyledTextPrint
-
Appends a line break to the document.
- next(int, int) - Method in interface net.sf.paperclips.PrintIterator
-
Returns the next PrintPiece for the Print.
- next(PrintIterator, int, int) - Static method in class net.sf.paperclips.PaperClips
-
Calls iterator.next(width, height) and returns the result.
- nextPage() - Method in class net.sf.paperclips.PageEnumeration
-
Returns the next page.
- NoBreakPrint - Class in net.sf.paperclips
-
A print wrapper which prevents its target from being broken into multiple pieces when printed.
- NoBreakPrint(Print) - Constructor for class net.sf.paperclips.NoBreakPrint
-
Constructs a NoBreakPrint with the given target.
- noNulls(Object[]) - Static method in class net.sf.paperclips.internal.Util
-
Triggers a SWT.ERROR_NULL_ARGUMENT exception if the argument or any of its elements is null.
- noNulls(List) - Static method in class net.sf.paperclips.internal.Util
-
Triggers a SWT.ERROR_NULL_ARGUMENT exception if the argument or any of its elements is null.
- notNull(Object) - Static method in class net.sf.paperclips.internal.Util
-
Triggers a SWT.ERROR_NULL_ARGUMENT exception if the argument is null.
- notNull(Object, Object) - Static method in class net.sf.paperclips.internal.Util
-
Triggers a SWT.ERROR_NULL_ARGUMENT exception if any argument is null.
- notNull(Object, Object, Object) - Static method in class net.sf.paperclips.internal.Util
-
Triggers a SWT.ERROR_NULL_ARGUMENT exception if any argument is null.
O
- openBottom - Variable in class net.sf.paperclips.GapBorder
-
The bottom gap of an open border, expressed in points.
- openTop - Variable in class net.sf.paperclips.GapBorder
-
The top gap of an open border, expressed in points.
- ORIENTATION_DEFAULT - Static variable in class net.sf.paperclips.PaperClips
-
Indicates that the printer's default page orientation should be used.
- ORIENTATION_LANDSCAPE - Static variable in class net.sf.paperclips.PaperClips
-
Indicates landscape page orientation.
- ORIENTATION_PORTRAIT - Static variable in class net.sf.paperclips.PaperClips
-
Indicates portrait page orientation.
P
- PAGE_X_OF_Y - Static variable in class net.sf.paperclips.Messages
-
Key for "Page {x} of {y}" used by DefaultPageNumberFormat.
- PageDecoration - Interface in net.sf.paperclips
-
An interface for creating page decorations.
- PageEnumeration - Class in net.sf.paperclips
-
An enumeration of pages for given print job on the given printer device.
- PageNumber - Interface in net.sf.paperclips
-
Instances of this class represent a page index in the output of a PagePrint.
- PageNumberFormat - Interface in net.sf.paperclips
-
Interface for formatting a PageNumber instance into a printable string.
- PageNumberPageDecoration - Class in net.sf.paperclips
-
A PageDecoration which displays the page number.
- PageNumberPageDecoration() - Constructor for class net.sf.paperclips.PageNumberPageDecoration
-
Constructs a PageNumberPageDecoration with default font, alignment, and page number format.
- PageNumberPageDecoration(int) - Constructor for class net.sf.paperclips.PageNumberPageDecoration
-
Constructs a PageNumberPageDecoration with the given alignment.
- PageNumberPrint - Class in net.sf.paperclips
-
Displays the page number and page count within the context of a
PagePrint
. - PageNumberPrint(PageNumber) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number.
- PageNumberPrint(PageNumber, int) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and alignment.
- PageNumberPrint(PageNumber, TextStyle) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and text style.
- PageNumberPrint(PageNumber, FontData) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number and font.
- PageNumberPrint(PageNumber, FontData, int) - Constructor for class net.sf.paperclips.PageNumberPrint
-
Constructs a PageNumberPrint for the given page number, font and alignment.
- PagePrint - Class in net.sf.paperclips
-
A decorator Print which displays page headers and footers around a document body, with page numbering capabilities.
- PagePrint(PageDecoration, int, Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given header and body.
- PagePrint(PageDecoration, int, Print, int, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- PagePrint(PageDecoration, Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given header and body.
- PagePrint(PageDecoration, Print, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- PagePrint(Print) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body.
- PagePrint(Print, int, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body, header and footer.
- PagePrint(Print, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Constructs a PagePrint with the given body and footer.
- PagePrint(Print, PageDecoration, PageDecoration) - Constructor for class net.sf.paperclips.PagePrint
-
Deprecated.PagePrint(PageDecoration, Print, PageDecoration) instead.
- paint(GC, int, int) - Method in class net.sf.paperclips.CompositePiece
- paint(GC, int, int) - Method in interface net.sf.paperclips.PrintPiece
-
Draws this PrintPiece on the given graphics device, at the given coordinates.
- paint(GC, int, int, int[], int[], int[][], int, boolean, int[], int[][], boolean, int[], int[][]) - Method in class net.sf.paperclips.BasicGridLookPainter
- paint(GC, int, int, int[], int[], int[][], int, boolean, int[], int[][], boolean, int[], int[][]) - Method in interface net.sf.paperclips.GridLookPainter
-
Paints the grid look onto the GC.
- paint(GC, int, int, int, int, boolean, boolean) - Method in class net.sf.paperclips.AbstractBorderPainter
-
Paints a border around the specified region.
- paint(GC, int, int, int, int, boolean, boolean) - Method in interface net.sf.paperclips.BorderPainter
-
Paints a border around the specified region.
- paintBodyCell(GC, Rectangle, int, int, int, boolean, boolean) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described body cell.
- paintFooterCell(GC, Rectangle, int, int, int) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described footer cell.
- paintHeaderCell(GC, Rectangle, int, int, int) - Method in class net.sf.paperclips.BasicGridLookPainter
-
Paint the decorations for the described header cell.
- PaperClips - Class in net.sf.paperclips
-
This class contains static constants and methods for preparing and printing documents.
- PaperClipsUtil - Class in net.sf.paperclips.internal
-
Convenience methods specific to PaperClips
- parse(String) - Static method in class net.sf.paperclips.GridColumn
-
Parses the given column spec and returns a GridColumn matching that spec.
- PREFERRED - Static variable in class net.sf.paperclips.GridPrint
-
Constant column size value indicating that the column should be given its preferred size.
- PREFERRED - Static variable in class net.sf.paperclips.internal.PrintSizeStrategy
-
Compute the preferred size.
- preferredSize() - Method in interface net.sf.paperclips.PrintIterator
-
Returns the smallest size PrintPiece that this Print would be broken into if print space was unlimited.
- print(String, Print) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - print(String, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - print(Print) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.use
PaperClips.print(PrintJob, PrinterData)
instead. - print(PrintJob, Printer) - Static method in class net.sf.paperclips.PaperClips
-
Prints the print job to the given printer.
- print(PrintJob, PrinterData) - Static method in class net.sf.paperclips.PaperClips
-
Prints the print job to the given printer.
- print(Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.use
PaperClips.print(PrintJob, PrinterData)
instead. - Print - Interface in net.sf.paperclips
-
Interface for printable elements.
- PrintDecorator - Interface in net.sf.paperclips.decorator
-
Interface for wrapping a print in a decoration.
- PrintIterator - Interface in net.sf.paperclips
-
Splits a Print into multiple PrintPieces, according to the space available on the graphics device.
- PrintJob - Class in net.sf.paperclips
-
Instances of this class represent a prepared print job.
- PrintJob(String, Print) - Constructor for class net.sf.paperclips.PrintJob
-
Constructs a PrintJob for the given document.
- PrintPiece - Interface in net.sf.paperclips
-
A piece of a Print, which is capable of drawing itself on a graphics device.
- PrintSizeStrategy - Class in net.sf.paperclips.internal
-
The static instance members of this class aid in the calculation of prints and help abstract out the minimum/preferred size concepts to simplify algorithms.
- printTo(String, PrinterData, Print) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - printTo(String, PrinterData, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - printTo(String, Printer, Print) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - printTo(String, Printer, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - printTo(Printer, Print) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - printTo(Printer, Print, int) - Static method in class net.sf.paperclips.PrintUtil
-
Deprecated.Use
PaperClips.print(PrintJob, PrinterData)
instead. - PrintUtil - Class in net.sf.paperclips
-
Deprecated.Create
PrintJob
instances, and print them with thePaperClips.print(PrintJob, PrinterData)
method.
R
- REMAINDER - Static variable in class net.sf.paperclips.GridPrint
-
Constant colspan value indicating that all remaining columns in the row should be used.
- ResourcePool - Class in net.sf.paperclips.internal
-
Manages a pool of graphics resources for a graphics device (fonts, colors).
- right - Variable in class net.sf.paperclips.GapBorder
-
The right side gap, expressed in points.
- right - Variable in class net.sf.paperclips.Margins
-
The right margin.
- rotate() - Method in class net.sf.paperclips.Margins
-
Returns a Margins that is the result of rotating this Margins counter-clockwise 90 degrees.
- RotatePrint - Class in net.sf.paperclips
-
A decorator print that rotates it's target by increments of 90 degrees.
- RotatePrint(Print) - Constructor for class net.sf.paperclips.RotatePrint
-
Constructs a RotatePrint that rotates it's target 90 degrees counter-clockwise.
- RotatePrint(Print, int) - Constructor for class net.sf.paperclips.RotatePrint
-
Constructs a RotatePrint.
S
- sameClass(Object, Object) - Static method in class net.sf.paperclips.internal.Util
-
Returns whether the objects are of the same class.
- ScalePrint - Class in net.sf.paperclips
-
A decorator print that scales it's target larger or smaller.
- ScalePrint(Print) - Constructor for class net.sf.paperclips.ScalePrint
-
Constructs a ScalePrint which scales down it's target to print at it's preferred size.
- ScalePrint(Print, Double) - Constructor for class net.sf.paperclips.ScalePrint
-
Constructs a ScalePrint which scales it's target by the given factor.
- SeriesPrint - Class in net.sf.paperclips
-
A Print which displays its child prints in series.
- SeriesPrint() - Constructor for class net.sf.paperclips.SeriesPrint
- setAlign(int) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the horizontal text alignment.
- setAlign(int) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the horizontal text alignment to the argument.
- setAlign(int) - Method in class net.sf.paperclips.TextPrint
-
Deprecated.Use
TextPrint.setAlignment(int)
instead. - setAlignment(int) - Method in class net.sf.paperclips.TextPrint
-
Sets the horizontal text alignment.
- setBackground(RGB) - Method in class net.sf.paperclips.BackgroundPrint
-
Sets the background color.
- setBackground(RGB) - Method in class net.sf.paperclips.DefaultCellBackgroundProvider
-
Sets the background color to the argument.
- setBackground(RGB) - Method in class net.sf.paperclips.TextPrint
-
Sets the background color to the argument.
- setBody(Print) - Method in class net.sf.paperclips.PagePrint
-
Sets the page body to the argument.
- setBodyBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the body background color.
- setBodyBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setBodyBackground on the grid look.
- setBodyBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the body background color provider.
- setCellBorder(Border) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell border.
- setCellBorder(Border) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellBorder on the grid look.
- setCellClippingEnabled(boolean) - Method in class net.sf.paperclips.GridPrint
-
Sets whether individual body cells in the grid may be broken across pages.
- setCellPadding(int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the given horizontal and vertical values.
- setCellPadding(int, int, int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the specified values.
- setCellPadding(Rectangle) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the cell padding to the values in the public fields of the argument.
- setCellSpacing(int, int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the border spacing, in points, between adjacent grid cells.
- setCellSpacing(Point) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the border spacing, in points, between adjacent grid cells.
- setColumnGroups(int[][]) - Method in class net.sf.paperclips.GridPrint
-
Sets the column groups to the given two-dimension array.
- setCompressed(boolean) - Method in class net.sf.paperclips.ColumnPrint
-
Sets whether the columns are compressed to the smallest possible height on the last page.
- setDebug(boolean) - Static method in class net.sf.paperclips.PaperClips
-
EXPERIMENTAL: Sets whether debug mode is enabled.
- setDPI(int, int) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given DPI.
- setDPI(Point) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the DPI of the argument.
- setFontData(FontData) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the font.
- setFontData(FontData) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text font to the argument.
- setFontData(FontData) - Method in class net.sf.paperclips.TextPrint
-
Sets the font that will be used to print the text.
- setFooter(PageDecoration) - Method in class net.sf.paperclips.PagePrint
-
Sets the page footer to the argument.
- setFooterBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the footer background color.
- setFooterBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setFooterBackground on the grid look.
- setFooterBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the footer background color provider.
- setFooterGap(int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the vertical gap between the header and body cells.
- setFooterGap(int) - Method in class net.sf.paperclips.PagePrint
-
Sets the gap between the body and footer to the argument, expressed in points.
- setForeground(RGB) - Method in class net.sf.paperclips.TextPrint
-
Sets the foreground color to the argument.
- setFormat(PageNumberFormat) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the page number format.
- setGap(int) - Method in class net.sf.paperclips.GapBorder
-
Sets the left, right, closed top and closed bottom gaps to he argument.
- setGapSize(int) - Method in class net.sf.paperclips.LineBorder
-
Sets the size of the gap between the line border and the target print.
- setHeader(PageDecoration) - Method in class net.sf.paperclips.PagePrint
-
Sets the page header to the argument.
- setHeaderBackground(RGB) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the header background color.
- setHeaderBackground(RGB) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setHeaderBackground on the grid look.
- setHeaderBackgroundProvider(CellBackgroundProvider) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the header background color provider.
- setHeaderGap(int) - Method in class net.sf.paperclips.DefaultGridLook
-
Sets the vertical gap between the header and body cells.
- setHeaderGap(int) - Method in class net.sf.paperclips.PagePrint
-
Sets the gap between the header and body to the argument, expressed in points.
- setHorizontalSpacing(int) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellSpacing(Point) on the grid look.
- setLineWidth(int) - Method in class net.sf.paperclips.LineBorder
-
Sets the line width to the argument.
- setLook(GridLook) - Method in class net.sf.paperclips.GridPrint
-
Sets the grid's look.
- setMargins(int) - Method in class net.sf.paperclips.PrintJob
-
Sets the top, left, right, and bottom margins to the argument.
- setMargins(Margins) - Method in class net.sf.paperclips.PrintJob
-
Sets the page margins.
- setOrientation(int) - Method in class net.sf.paperclips.PrintJob
-
Sets the page orientation.
- setPageNumber(PageNumber) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the page number to the argument.
- setPageNumberFormat(PageNumberFormat) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the format that will be used to convert the page number to a text string.
- setRGB(RGB) - Method in class net.sf.paperclips.LineBorder
-
Sets the border color to the argument.
- setRGB(RGB) - Method in class net.sf.paperclips.LinePrint
-
Sets the line color to the argument.
- setRGB(RGB) - Method in class net.sf.paperclips.PageNumberPageDecoration
-
Sets the text color.
- setRGB(RGB) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text color.
- setRGB(RGB) - Method in class net.sf.paperclips.TextPrint
-
Deprecated.Use
TextPrint.setForeground(RGB)
instead. - setSize(int, int) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given size, in points.
- setSize(Point) - Method in class net.sf.paperclips.ImagePrint
-
Sets the ImagePrint to render the image at the given size, in points.
- setStrikeout(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets the strikeout flag to the argument.
- setStyle(TextStyle) - Method in class net.sf.paperclips.StyledTextPrint
-
Sets the text style that will be applied to text added through the
StyledTextPrint.append(String)
- setStyle(TextStyle) - Method in class net.sf.paperclips.TextPrint
-
Sets the text style to the argument.
- setText(String) - Method in class net.sf.paperclips.TextPrint
-
Sets the text that will be printed.
- setTextStyle(TextStyle) - Method in class net.sf.paperclips.PageNumberPrint
-
Sets the text style that will be used to render the page number
- setThickness(double) - Method in class net.sf.paperclips.LinePrint
-
Sets the line thickness, in points.
- setUnderline(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets the underline flag to the argument.
- setVerticalSpacing(int) - Method in class net.sf.paperclips.GridPrint
-
Deprecated.this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellSpacing(Point) on the grid look.
- setWordSplitting(boolean) - Method in class net.sf.paperclips.TextPrint
-
Sets whether word splitting is enabled.
- SidewaysPrint - Class in net.sf.paperclips
-
A decorator print that rotates it's target by increments of 90 degrees.
- SidewaysPrint(Print) - Constructor for class net.sf.paperclips.SidewaysPrint
-
Constructs a SidewaysPrint that rotates it's target 90 degrees counter-clockwise.
- SidewaysPrint(Print, int) - Constructor for class net.sf.paperclips.SidewaysPrint
-
Constructs a SidewaysPrint.
- SimplePageDecoration - Class in net.sf.paperclips
-
A PageDecoration which displays the same decoration on every page (ignoring the page number).
- SimplePageDecoration(Print) - Constructor for class net.sf.paperclips.SimplePageDecoration
-
Constructs a BasicPageDecoration.
- size - Variable in class net.sf.paperclips.GridColumn
-
The size property for this GridColumn.
- size() - Method in class net.sf.paperclips.SeriesPrint
-
Returns the number of Prints that have been added to this SeriesPrint.
- startDummyJob(Printer, String) - Static method in class net.sf.paperclips.PaperClips
-
Starts a dummy job on the given Printer if the platform requires it.
- strikeout() - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the strikeout flag set to true.
- strikeout(boolean) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the strikeout flag set to the argument.
- StyledTextPrint - Class in net.sf.paperclips
-
A class for printing styled text.
- StyledTextPrint() - Constructor for class net.sf.paperclips.StyledTextPrint
-
Constructs a new StyledTextPrint.
- sum(int[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array.
- sum(int[], int, int) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array in the range
[start, start+count)
. - sumByIndex(int[], int[]) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Returns the sum of all elements in the array at the given indices.
- SWTUtil - Class in net.sf.paperclips.internal
-
Utility methods for dealing with SWT objects
- SWTUtil() - Constructor for class net.sf.paperclips.internal.SWTUtil
T
- text(Object) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint whose text represents the given parameter.
- text(Object, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint whose text represents the given parameter.
- text(String) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint with the given text.
- text(String, int) - Method in class net.sf.paperclips.FactoryPrint
-
Deprecated.Returns a TextPrint with the given text and alignment.
- TextPrint - Class in net.sf.paperclips
-
A Print for displaying text.
- TextPrint() - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the default properties.
- TextPrint(String) - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the given text.
- TextPrint(String, int) - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the give text and alignment.
- TextPrint(String, TextStyle) - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the given text and style.
- TextPrint(String, FontData) - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the given text and font data.
- TextPrint(String, FontData, int) - Constructor for class net.sf.paperclips.TextPrint
-
Constructs a TextPrint with the given text, font data, and alignment.
- TextStyle - Class in net.sf.paperclips
-
Defines a set of styles that can be applied to text.
- TextStyle() - Constructor for class net.sf.paperclips.TextStyle
-
Constructs a new TextStyle with default font (device-dependent), black foreground, transparent background, default alignment, and the strikeout and underline flags set to false.
- toIntArray(List) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Converts the argument to an int[] array.
- toIntIntArray(List) - Static method in class net.sf.paperclips.internal.PaperClipsUtil
-
Converts the argument to an int[][] array.
- top - Variable in class net.sf.paperclips.GapBorder
-
The top gap of a closed border, expressed in points.
- top - Variable in class net.sf.paperclips.Margins
-
The top margin.
U
- underline() - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the underline flag set to true.
- underline(boolean) - Method in class net.sf.paperclips.TextStyle
-
Returns a copy of this TextStyle, with the underline flag set to the argument.
- Util - Class in net.sf.paperclips.internal
-
General use convenience methods: null checking, equality
- Util() - Constructor for class net.sf.paperclips.internal.Util
W
- weight - Variable in class net.sf.paperclips.GridColumn
-
The weight of this column.
All Classes and Interfaces|All Packages|Constant Field Values
GridPrint.add(int, Print, int)
instead. GridPrint's add method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan]