public final class RenderableVector extends java.lang.Object implements RenderablePhylogenyData
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuffer |
asSimpleText() |
java.lang.StringBuffer |
asText() |
java.lang.Object |
clone() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
static RenderableVector |
createInstance(java.util.List<java.lang.Double> values,
DescriptiveStatistics stats,
Configuration configuration) |
java.awt.Dimension |
getOriginalSize() |
java.lang.Object |
getParameter() |
double |
getRenderingFactorWidth() |
java.awt.Dimension |
getRenderingSize() |
int |
getTotalLength() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
void |
render(double x1,
double y1,
java.awt.Graphics2D g,
TreePanel tree_panel,
boolean to_pdf)
This can be used to render phylogeny data as graphics (for example,
display of the domain structure).
|
void |
setParameter(double parameter) |
void |
setRenderingFactorWidth(double rendering_factor_width) |
void |
setRenderingHeight(double height) |
java.lang.StringBuffer |
toNHX() |
void |
toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
Writes a phyloXML representation of this phylogeny data.
|
public static final int DEFAULT_HEIGHT
public static final int DEFAULT_WIDTH
public static RenderableVector createInstance(java.util.List<java.lang.Double> values, DescriptiveStatistics stats, Configuration configuration)
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic java.lang.StringBuffer asText()
asText in interface PhylogenyDatapublic double getRenderingFactorWidth()
public int getTotalLength()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic void render(double x1,
double y1,
java.awt.Graphics2D g,
TreePanel tree_panel,
boolean to_pdf)
RenderablePhylogenyDatarender in interface RenderablePhylogenyDatag - the Graphics to render topublic void setRenderingFactorWidth(double rendering_factor_width)
public java.lang.StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
throws java.io.IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDatajava.io.IOExceptionpublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic java.awt.Dimension getOriginalSize()
getOriginalSize in interface RenderablePhylogenyDatapublic java.lang.Object getParameter()
getParameter in interface RenderablePhylogenyDatapublic java.awt.Dimension getRenderingSize()
getRenderingSize in interface RenderablePhylogenyDatapublic void setParameter(double parameter)
setParameter in interface RenderablePhylogenyDatapublic void setRenderingHeight(double height)
setRenderingHeight in interface RenderablePhylogenyData