platypus
Class Margins

java.lang.Object
  extended by platypus.Margins

public class Margins
extends java.lang.Object

Uber-class for page margins.

Author:
alb

Field Summary
private  Value<java.lang.Float>[] allMargins
           
static int BOTTOM
           
static int INNER
           
private static int LEAST_MARGIN
           
static int LEFT
           
private  Value<java.lang.Boolean> marginsMirrored
           
private static int MOST_MARGIN
           
static int OUTER
           
static int RIGHT
           
static int TOP
           
 
Constructor Summary
Margins()
           
 
Method Summary
 boolean areMarginsMirrored()
           
 java.lang.String dump(int which)
           
 int getLineNumber(int which)
           
 float getMargin(int which)
           
 int setMargin(int which, float size)
           
 void setMarginsMirrored(boolean onOff)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allMargins

private Value<java.lang.Float>[] allMargins

marginsMirrored

private Value<java.lang.Boolean> marginsMirrored

TOP

public static final int TOP
See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

INNER

public static final int INNER
See Also:
Constant Field Values

OUTER

public static final int OUTER
See Also:
Constant Field Values

LEAST_MARGIN

private static final int LEAST_MARGIN
See Also:
Constant Field Values

MOST_MARGIN

private static final int MOST_MARGIN
See Also:
Constant Field Values
Constructor Detail

Margins

public Margins()
Method Detail

setMargin

public int setMargin(int which,
                     float size)

getMargin

public float getMargin(int which)

getLineNumber

public int getLineNumber(int which)

setMarginsMirrored

public void setMarginsMirrored(boolean onOff)

areMarginsMirrored

public boolean areMarginsMirrored()

dump

public java.lang.String dump(int which)


Copyright © 2006-7 Pacific Data Works LLC