info.bioinfweb.treegraph.document.format
Class NodeFormats
java.lang.Object
info.bioinfweb.treegraph.document.format.TextFormats
info.bioinfweb.treegraph.document.format.NodeFormats
- All Implemented Interfaces:
- EdgeRadiusFormats, ElementFormats, LineFormats, Cloneable
public class NodeFormats
- extends TextFormats
- implements ElementFormats, LineFormats, EdgeRadiusFormats, Cloneable
| Methods inherited from class info.bioinfweb.treegraph.document.format.TextFormats |
addTextStyle, assignTextFormats, getDecimalFormat, getDescent, getFont, getFontName, getLocale, getTextColor, getTextHeight, getTextStyle, hasTextStyle, removeTextStyle, setDecimalFormat, setFontName, setLocale, setTextColor, setTextStyle |
lineWidth
private DistanceValue lineWidth
edgeRadius
private DistanceValue edgeRadius
lineColor
private Color lineColor
NodeFormats
public NodeFormats()
getLineWidth
public DistanceValue getLineWidth()
- Specified by:
getLineWidth in interface LineFormats
getEdgeRadius
public DistanceValue getEdgeRadius()
- The line wich is dasplayed for an node can be rounded at ist top and bottom end
The inner radius (without the line width) of the quater of a circle at the ends
of this line is specified by the edge radius.
- Specified by:
getEdgeRadius in interface EdgeRadiusFormats
- Returns:
- the edge radius for this node
getLineColor
public Color getLineColor()
- Specified by:
getLineColor in interface LineFormats
setLineColor
public void setLineColor(Color color)
- Specified by:
setLineColor in interface LineFormats
assignLineFormats
public void assignLineFormats(LineFormats other)
- Specified by:
assignLineFormats in interface LineFormats
assignEdgeRadiusFormats
public void assignEdgeRadiusFormats(EdgeRadiusFormats other)
- Specified by:
assignEdgeRadiusFormats in interface EdgeRadiusFormats
assign
public void assign(NodeFormats other)
clone
public NodeFormats clone()
- Specified by:
clone in interface ElementFormats- Overrides:
clone in class TextFormats