org.apache.batik.gvt.text
Class MarginInfo

java.lang.Object
  |
  +--org.apache.batik.gvt.text.MarginInfo

public class MarginInfo
extends java.lang.Object


Field Summary
protected  float bottom
           
protected  float firstLineLeft
           
protected  float firstLineRight
           
protected  boolean flowRegionBreak
           
protected  int justification
           
static int JUSTIFY_END
           
static int JUSTIFY_FULL
           
static int JUSTIFY_MIDDLE
           
static int JUSTIFY_START
           
protected  float left
           
protected  float right
           
protected  float top
           
 
Constructor Summary
MarginInfo(float top, float right, float bottom, float left, float firstLineLeft, float firstLineRight, int justification, boolean flowRegionBreak)
           
MarginInfo(float margin, int justification)
           
 
Method Summary
 float getBottomMargin()
           
 float getFirstLineLeftMargin()
           
 float getFirstLineRightMargin()
           
 int getJustification()
           
 float getLeftMargin()
           
 float getRightMargin()
           
 float getTopMargin()
           
 boolean isFlowRegionBreak()
           
 void setMargin(float margin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JUSTIFY_START

public static final int JUSTIFY_START

JUSTIFY_MIDDLE

public static final int JUSTIFY_MIDDLE

JUSTIFY_END

public static final int JUSTIFY_END

JUSTIFY_FULL

public static final int JUSTIFY_FULL

top

protected float top

right

protected float right

bottom

protected float bottom

left

protected float left

firstLineLeft

protected float firstLineLeft

firstLineRight

protected float firstLineRight

justification

protected int justification

flowRegionBreak

protected boolean flowRegionBreak
Constructor Detail

MarginInfo

public MarginInfo(float top,
                  float right,
                  float bottom,
                  float left,
                  float firstLineLeft,
                  float firstLineRight,
                  int justification,
                  boolean flowRegionBreak)

MarginInfo

public MarginInfo(float margin,
                  int justification)
Method Detail

setMargin

public void setMargin(float margin)

getTopMargin

public float getTopMargin()

getRightMargin

public float getRightMargin()

getBottomMargin

public float getBottomMargin()

getLeftMargin

public float getLeftMargin()

getFirstLineLeftMargin

public float getFirstLineLeftMargin()

getFirstLineRightMargin

public float getFirstLineRightMargin()

getJustification

public int getJustification()

isFlowRegionBreak

public boolean isFlowRegionBreak()


Copyright © 2002 Apache Software Foundation. All Rights Reserved.