info.bioinfweb.treegraph.document.format
Class BranchFormats
java.lang.Object
  
info.bioinfweb.treegraph.document.format.BranchFormats
- All Implemented Interfaces: 
 - ElementFormats, LineFormats, Cloneable
 
public class BranchFormats
- extends Object
- implements ElementFormats, LineFormats, Cloneable
  
 
 
 
 
 
STD_CONSTANT_WIDTH
public static final boolean STD_CONSTANT_WIDTH
- See Also:
 - Constant Field Values
 
DEFAULT_MIN_LENGTH
public static final float DEFAULT_MIN_LENGTH
- See Also:
 - Constant Field Values
 
STD_MIN_SPACE_ABOVE
public static final float STD_MIN_SPACE_ABOVE
- See Also:
 - Constant Field Values
 
STD_MIN_SPACE_BELOW
public static final float STD_MIN_SPACE_BELOW
- See Also:
 - Constant Field Values
 
lineColor
private Color lineColor
lineWidth
private DistanceValue lineWidth
constantWidth
private boolean constantWidth
minSpaceAbove
private DistanceValue minSpaceAbove
minSpaceBelow
private DistanceValue minSpaceBelow
minLength
private DistanceValue minLength
BranchFormats
public BranchFormats()
getLineWidth
public DistanceValue getLineWidth()
- Specified by:
 getLineWidth in interface LineFormats
 
 
getMinLength
public DistanceValue getMinLength()
 
 
getMinSpaceAbove
public DistanceValue getMinSpaceAbove()
 
 
getMinSpaceBelow
public DistanceValue getMinSpaceBelow()
 
 
getLineColor
public Color getLineColor()
- Specified by:
 getLineColor in interface LineFormats
 
 
setLineColor
public void setLineColor(Color color)
- Specified by:
 setLineColor in interface LineFormats
 
 
isConstantWidth
public boolean isConstantWidth()
 
 
setConstantWidth
public void setConstantWidth(boolean constantWidth)
 
 
assignLineFormats
public void assignLineFormats(LineFormats other)
- Specified by:
 assignLineFormats in interface LineFormats
 
 
assignBranchFormats
public void assignBranchFormats(BranchFormats other)
 
 
assign
public void assign(BranchFormats other)
 
 
clone
public BranchFormats clone()
- Specified by:
 clone in interface ElementFormats- Specified by:
 clone in interface LineFormats- Overrides:
 clone in class Object