|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.print.PrintConstants
This class contains a collection of useful constans. Where available, the constants are defined equal to the java standard.
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 |
public static final int CENTER
SwingConstants.CENTER
public static final int TOP
SwingConstants.TOP
public static final int LEFT
SwingConstants.LEFT
public static final int BOTTOM
SwingConstants.BOTTOM
public static final int RIGHT
SwingConstants.RIGHT
public static final int HORIZONTAL
SwingConstants.HORIZONTAL
public static final int VERTICAL
SwingConstants.VERTICAL
public static final int ROTATE_0
public static final int ROTATE_90
public static final int ROTATE_180
public static final int ROTATE_270
public static final int LANDSCAPE
PageFormat.LANDSCAPE
public static final int PORTRAIT
PageFormat.PORTRAIT
public static final int REVERSE_LANDSCAPE
PageFormat.REVERSE_LANDSCAPE
Constructor Detail |
public PrintConstants()
Method Detail |
public static double getPhi(int rotate)
rotate
- One of the constants ROTATE_*
.
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |