ReportCat 1.1

li.netcat.print
Class PrintConstants

java.lang.Object
  extended byli.netcat.print.PrintConstants

public class PrintConstants
extends java.lang.Object

This class contains a collection of useful constans. Where available, the constants are defined equal to the java standard.

Author:
Arthur Marxer

Field Summary
static int BOTTOM
          Equal to SwingConstants.BOTTOM
static int CENTER
          Equal to SwingConstants.CENTER
static int HORIZONTAL
          Equal to SwingConstants.HORIZONTAL
static int LANDSCAPE
          Equal to PageFormat.LANDSCAPE
static int LEFT
          Equal to SwingConstants.LEFT
static int PORTRAIT
          Equal to PageFormat.PORTRAIT
static int REVERSE_LANDSCAPE
          Equal to PageFormat.REVERSE_LANDSCAPE
static int RIGHT
          Equal to SwingConstants.RIGHT
static int ROTATE_0
          Defines the rotation of 0 degrees clockwise
static int ROTATE_180
          Defines the rotation of 180 degrees clockwise
static int ROTATE_270
          Defines the rotation of 270 degrees clockwise
static int ROTATE_90
          Defines the rotation of 90 degrees clockwise
static int TOP
          Equal to SwingConstants.TOP
static int VERTICAL
          Equal to SwingConstants.VERTICAL
 
Constructor Summary
PrintConstants()
           
 
Method Summary
static double getPhi(int rotate)
          Returns the rotation angle in radians for the given rotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CENTER

public static final int CENTER
Equal to SwingConstants.CENTER

See Also:
Constant Field Values

TOP

public static final int TOP
Equal to SwingConstants.TOP

See Also:
Constant Field Values

LEFT

public static final int LEFT
Equal to SwingConstants.LEFT

See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
Equal to SwingConstants.BOTTOM

See Also:
Constant Field Values

RIGHT

public static final int RIGHT
Equal to SwingConstants.RIGHT

See Also:
Constant Field Values

HORIZONTAL

public static final int HORIZONTAL
Equal to SwingConstants.HORIZONTAL

See Also:
Constant Field Values

VERTICAL

public static final int VERTICAL
Equal to SwingConstants.VERTICAL

See Also:
Constant Field Values

ROTATE_0

public static final int ROTATE_0
Defines the rotation of 0 degrees clockwise

See Also:
Constant Field Values

ROTATE_90

public static final int ROTATE_90
Defines the rotation of 90 degrees clockwise

See Also:
Constant Field Values

ROTATE_180

public static final int ROTATE_180
Defines the rotation of 180 degrees clockwise

See Also:
Constant Field Values

ROTATE_270

public static final int ROTATE_270
Defines the rotation of 270 degrees clockwise

See Also:
Constant Field Values

LANDSCAPE

public static final int LANDSCAPE
Equal to PageFormat.LANDSCAPE

See Also:
Constant Field Values

PORTRAIT

public static final int PORTRAIT
Equal to PageFormat.PORTRAIT

See Also:
Constant Field Values

REVERSE_LANDSCAPE

public static final int REVERSE_LANDSCAPE
Equal to PageFormat.REVERSE_LANDSCAPE

See Also:
Constant Field Values
Constructor Detail

PrintConstants

public PrintConstants()
Method Detail

getPhi

public static double getPhi(int rotate)
Returns the rotation angle in radians for the given rotation.

Parameters:
rotate - One of the constants ROTATE_*.
Returns:
The angle in radians.

ReportCat 1.1

Copyright © 2003 - 2005 NetCat Inc.. All rights reserved. Feedback

Print,Printing,Printer,Java,Java Print,SDK,Java Printing,Printing Java,Print Java,Library,Java Library,Print Library,Report,Reports,Java Report,Java Programming,Java Output,Layout,Page,API,Preview,Print Preview,Content,A4,Free,Output,Header,Footer,Download,Package,Jar,Evaluation, Print,Printing,Printer,Java,Java Print,SDK,Java Printing,Printing Java,Print Java,Library,Java Library,Print Library,Report,Reports,Java Report,Java Programming,Java Output,Layout,Page,API,Preview,Print Preview,Content,A4,Free,Output,Header,Footer,Download,Package,Jar,Evaluation, Print,Printing,Printer,Java,Java Print,SDK,Java Printing,Printing Java,Print Java,Library,Java Library,Print Library,Report,Reports,Java Report,Java Programming,Java Output,Layout,Page,API,Preview,Print Preview,Content,A4,Free,Output,Header,Footer,Download,Package,Jar,Evaluation