info.bioinfweb.treegraph.document.format
Class Margin
java.lang.Object
  
info.bioinfweb.treegraph.document.format.Margin
public class Margin
- extends Object
 
 
 
 
 
left
private DistanceValue left
top
private DistanceValue top
right
private DistanceValue right
bottom
private DistanceValue bottom
Margin
public Margin()
Margin
public Margin(float margin)
Margin
public Margin(float left,
              float top,
              float right,
              float bottom)
- Initializes the margin with values in millimeters.
- Parameters:
 left - the left margin in millimeterstop - the top margin in millimetersright - the right margin in millimetersbottom - the bottom margin in millimeters
 
Margin
public Margin(DistanceValue left,
              DistanceValue top,
              DistanceValue right,
              DistanceValue bottom)
getBottom
public DistanceValue getBottom()
 
getLeft
public DistanceValue getLeft()
 
getRight
public DistanceValue getRight()
 
getTop
public DistanceValue getTop()
 
assign
public void assign(Margin other)
 
clone
protected Margin clone()
- Overrides:
 clone in class Object
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
equals
public boolean equals(Object obj)
- Overrides:
 equals in class Object