Class RenderableMsaSequence
java.lang.Object
org.forester.archaeopteryx.phylogeny.data.RenderableMsaSequence
- All Implemented Interfaces:
 RenderablePhylogenyData,PhylogenyData
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionasText()clone()copy()Creates a new PhylogenyData object with identical values as this PhylogenyData.static RenderableMsaSequencecreateInstance(String seq, String type, Configuration configuration) doubleintbooleanisEqual(PhylogenyData data) Compares this PhylogenyData to PhylogenyData data.voidrender(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).voidsetParameter(double parameter) voidsetRenderingFactorWidth(double rendering_factor_width) voidsetRenderingHeight(float height) toNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data. 
- 
Field Details
- 
DEFAULT_WIDTH
public static final int DEFAULT_WIDTH- See Also:
 
 
 - 
 - 
Method Details
- 
asSimpleText
- Specified by:
 asSimpleTextin interfacePhylogenyData
 - 
asText
- Specified by:
 asTextin interfacePhylogenyData
 - 
clone
 - 
copy
Description copied from interface:PhylogenyDataCreates a new PhylogenyData object with identical values as this PhylogenyData. This ~should~ return a deep copy, but not there yet.- Specified by:
 copyin interfacePhylogenyData- Returns:
 - a ~deep~ copy of this PhylogenyData
 
 - 
getOriginalSize
- Specified by:
 getOriginalSizein interfaceRenderablePhylogenyData
 - 
getParameter
- Specified by:
 getParameterin interfaceRenderablePhylogenyData
 - 
getRenderingFactorWidth
public double getRenderingFactorWidth() - 
getRenderingSize
- Specified by:
 getRenderingSizein interfaceRenderablePhylogenyData
 - 
getTotalLength
public int getTotalLength() - 
isEqual
Description copied from interface:PhylogenyDataCompares this PhylogenyData to PhylogenyData data. In general, this should return true if and only if all fiels are exactly identical.- Specified by:
 isEqualin interfacePhylogenyData- Returns:
 - in general, true if and only if all fiels are exactly identical, false otherwise
 
 - 
render
Description copied from interface:RenderablePhylogenyDataThis can be used to render phylogeny data as graphics (for example, display of the domain structure). In most Renderable implementations this will do nothing (i.e. just return).- Specified by:
 renderin interfaceRenderablePhylogenyDatag- the Graphics to render to
 - 
setParameter
public void setParameter(double parameter) - Specified by:
 setParameterin interfaceRenderablePhylogenyData
 - 
setRenderingFactorWidth
public void setRenderingFactorWidth(double rendering_factor_width)  - 
setRenderingHeight
public void setRenderingHeight(float height) - Specified by:
 setRenderingHeightin interfaceRenderablePhylogenyData
 - 
toNHX
- Specified by:
 toNHXin interfacePhylogenyData
 - 
toPhyloXML
Description copied from interface:PhylogenyDataWrites a phyloXML representation of this phylogeny data.- Specified by:
 toPhyloXMLin interfacePhylogenyData- Throws:
 IOException
 - 
createInstance
public static RenderableMsaSequence createInstance(String seq, String type, Configuration configuration)  
 -