info.bioinfweb.treegraph.document.format
Class GlobalFormats
java.lang.Object
info.bioinfweb.treegraph.document.format.GlobalFormats
public class GlobalFormats
- extends Object
- Author:
- Ben Stöver
DEFAULT_BACKGROUNG_COLOR
public static final Color DEFAULT_BACKGROUNG_COLOR
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
DEFAULT_ALIGN_LEGENDS_TO_SUBTREE
public static final boolean DEFAULT_ALIGN_LEGENDS_TO_SUBTREE
- See Also:
- Constant Field Values
DEFAULT_POSITION_LABELS_TO_LEFT
public static final boolean DEFAULT_POSITION_LABELS_TO_LEFT
- See Also:
- Constant Field Values
backgroundColor
private Color backgroundColor
documentMargin
private Margin documentMargin
branchLengthScale
private DistanceValue branchLengthScale
showScaleBar
private boolean showScaleBar
showRooted
private boolean showRooted
alignLegendsToSubtree
private boolean alignLegendsToSubtree
positionLabelsToLeft
private boolean positionLabelsToLeft
GlobalFormats
public GlobalFormats()
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getBranchLengthScale
public DistanceValue getBranchLengthScale()
getShowScaleBar
public boolean getShowScaleBar()
setShowScaleBar
public void setShowScaleBar(boolean showScaleBar)
getShowRooted
public boolean getShowRooted()
setShowRooted
public void setShowRooted(boolean showRooted)
getAlignLegendsToSubtree
public boolean getAlignLegendsToSubtree()
setAlignLegendsToSubtree
public void setAlignLegendsToSubtree(boolean alignLegendsToSubtree)
getPositionLabelsToLeft
public boolean getPositionLabelsToLeft()
setPositionLabelsToLeft
public void setPositionLabelsToLeft(boolean positionLabelsToLeft)
getDocumentMargin
public Margin getDocumentMargin()
assign
public void assign(GlobalFormats other)
clone
public GlobalFormats clone()
- Overrides:
clone
in class Object