public final class RenderableMsaSequence extends Object implements RenderablePhylogenyData
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_WIDTH |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
Object |
clone() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
static RenderableMsaSequence |
createInstance(String seq,
String type,
Configuration configuration) |
Dimension |
getOriginalSize() |
Object |
getParameter() |
double |
getRenderingFactorWidth() |
Dimension |
getRenderingSize() |
int |
getTotalLength() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
void |
render(float x1,
float y1,
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(float height) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
public static final int DEFAULT_WIDTH
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic Dimension getOriginalSize()
getOriginalSize in interface RenderablePhylogenyDatapublic Object getParameter()
getParameter in interface RenderablePhylogenyDatapublic double getRenderingFactorWidth()
public Dimension getRenderingSize()
getRenderingSize in interface RenderablePhylogenyDatapublic int getTotalLength()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic void render(float x1,
float y1,
Graphics2D g,
TreePanel tree_panel,
boolean to_pdf)
RenderablePhylogenyDatarender in interface RenderablePhylogenyDatag - the Graphics to render topublic void setParameter(double parameter)
setParameter in interface RenderablePhylogenyDatapublic void setRenderingFactorWidth(double rendering_factor_width)
public void setRenderingHeight(float height)
setRenderingHeight in interface RenderablePhylogenyDatapublic StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionpublic static RenderableMsaSequence createInstance(String seq, String type, Configuration configuration)
Copyright © 2016. All rights reserved.