lt.monarch.print
Interface PrintableConstants

All Known Implementing Classes:
AbstractPrintable, ChartPrintable, ComponentPrintable

public interface PrintableConstants

Constants indicating which scaling mode and alignment should be used for printout.


Field Summary
Modifier and Type Field and Description
static int ALIGNMENT_BOTTOM
          Bottom alignment.
static int ALIGNMENT_CENTER
          Center alignment.
static int ALIGNMENT_LEFT
          Left alignment.
static int ALIGNMENT_RIGHT
          Right alignment.
static int ALIGNMENT_TOP
          Top alignment.
static int SCALING_FACTOR_SPECIFIED
          Indicates that printout should be scaled using user-specified factor.
static int SCALING_FIT_TO_PAGES
          Indicates that printout should be scaled to fit on printable area of [rows x cols] pages layouted in a grid.
 

Field Detail

SCALING_FACTOR_SPECIFIED

static final int SCALING_FACTOR_SPECIFIED
Indicates that printout should be scaled using user-specified factor. Desired scaling factor can be specified using the setScalingFactorSpecified(double) method. Default value of scaling factor is 1.0d and view is printed at 100% normal size.

See Also:
Constant Field Values

SCALING_FIT_TO_PAGES

static final int SCALING_FIT_TO_PAGES
Indicates that printout should be scaled to fit on printable area of [rows x cols] pages layouted in a grid. Number of rows and columns of this grid of pages can be specified using the setScalingFitToPagesGrid(int,int) method. By default 1 x 1 grid of pages (i.e. one page) is used.

See Also:
Constant Field Values

ALIGNMENT_CENTER

static final int ALIGNMENT_CENTER
Center alignment.

See Also:
Constant Field Values

ALIGNMENT_TOP

static final int ALIGNMENT_TOP
Top alignment.

See Also:
Constant Field Values

ALIGNMENT_BOTTOM

static final int ALIGNMENT_BOTTOM
Bottom alignment.

See Also:
Constant Field Values

ALIGNMENT_LEFT

static final int ALIGNMENT_LEFT
Left alignment.

See Also:
Constant Field Values

ALIGNMENT_RIGHT

static final int ALIGNMENT_RIGHT
Right alignment.

See Also:
Constant Field Values