info.bioinfweb.treegraph.document.format
Class GlobalFormats
java.lang.Object
info.bioinfweb.treegraph.document.format.GlobalFormats
public class GlobalFormats
- extends Object
DEFAULT_BACKGROUNG_COLOR
public static final Color DEFAULT_BACKGROUNG_COLOR
DEFAULT_LEGEND_SPACING_IN_MM
public static final float DEFAULT_LEGEND_SPACING_IN_MM
- See Also:
- Constant Field Values
DEFAULT_LABEL_BLOCK_DISTANCE_IN_MM
public static final float DEFAULT_LABEL_BLOCK_DISTANCE_IN_MM
- See Also:
- Constant Field Values
DEFAULT_BRANCH_LENGTH_SCALE
public static final float DEFAULT_BRANCH_LENGTH_SCALE
- See Also:
- Constant Field Values
DEFAULT_SHOW_SCALE_BAR
public static final boolean DEFAULT_SHOW_SCALE_BAR
- See Also:
- Constant Field Values
DEFAULT_SHOW_ROOTED
public static final boolean DEFAULT_SHOW_ROOTED
- See Also:
- Constant Field Values
backgroundColor
private Color backgroundColor
minDocumentDimension
private DistanceDimension minDocumentDimension
documentMargin
private Margin documentMargin
branchLengthScale
private DistanceValue branchLengthScale
showScaleBar
private boolean showScaleBar
showRooted
private boolean showRooted
labelBlockMargin
private Margin labelBlockMargin
horizontalLabelSpacing
private DistanceValue horizontalLabelSpacing
verticalLabelSpacing
private DistanceValue verticalLabelSpacing
labelBlockDistance
private DistanceValue labelBlockDistance
nodeMargin
private Margin nodeMargin
leafMargin
private Margin leafMargin
legendMargin
private Margin legendMargin
legendSpacing
private DistanceValue legendSpacing
GlobalFormats
public GlobalFormats()
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getMinDocumentDimension
public DistanceDimension getMinDocumentDimension()
getBranchLengthScale
public DistanceValue getBranchLengthScale()
getLabelBlockDistance
public DistanceValue getLabelBlockDistance()
getShowScaleBar
public boolean getShowScaleBar()
setShowScaleBar
public void setShowScaleBar(boolean showScaleBar)
getShowRooted
public boolean getShowRooted()
setShowRooted
public void setShowRooted(boolean showRooted)
getLegendMargin
public Margin getLegendMargin()
getNodeMargin
public Margin getNodeMargin()
getLabelBlockMargin
public Margin getLabelBlockMargin()
getLeafMargin
public Margin getLeafMargin()
getDocumentMargin
public Margin getDocumentMargin()
getHorizontalLabelSpacing
public DistanceValue getHorizontalLabelSpacing()
getVerticalLabelSpacing
public DistanceValue getVerticalLabelSpacing()
getLegendSpacing
public DistanceValue getLegendSpacing()
- The legend spacing is the distance between the bracket and the text of a legend.
assign
public void assign(GlobalFormats other)
clone
public GlobalFormats clone()
- Overrides:
clone in class Object