Class RenderableDomainArchitecture
java.lang.Object
org.forester.phylogeny.data.DomainArchitecture
org.forester.archaeopteryx.phylogeny.data.RenderableDomainArchitecture
- All Implemented Interfaces:
 RenderablePhylogenyData,PhylogenyData
public final class RenderableDomainArchitecture
extends DomainArchitecture
implements RenderablePhylogenyData
- 
Field Summary
Fields inherited from class org.forester.phylogeny.data.DomainArchitecture
NHX_SEPARATOR - 
Constructor Summary
ConstructorsConstructorDescriptionRenderableDomainArchitecture(DomainArchitecture domain_structure) RenderableDomainArchitecture(DomainArchitecture domain_structure, String node_name)  - 
Method Summary
Modifier and TypeMethodDescriptionasText()copy()Creates a new PhylogenyData object with identical values as this PhylogenyData.getDomain(int i) intfloatintbooleanisEqual(PhylogenyData data) Returns true if the names and the order of the domains match (domain and linker lengths are ignored).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).static voidsetColorMap(Map<String, Color> domain_colors) voidsetParameter(double e_value_threshold_exp) voidsetRenderingFactorWidth(float rendering_factor_width) voidsetRenderingHeight(float rendering_height) toNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data.Methods inherited from class org.forester.phylogeny.data.DomainArchitecture
addDomain, setTotalLength, toString 
- 
Constructor Details
- 
RenderableDomainArchitecture
 - 
RenderableDomainArchitecture
 
 - 
 - 
Method Details
- 
setColorMap
 - 
asSimpleText
- Specified by:
 asSimpleTextin interfacePhylogenyData- Overrides:
 asSimpleTextin classDomainArchitecture
 - 
asText
- Specified by:
 asTextin interfacePhylogenyData- Overrides:
 asTextin classDomainArchitecture
 - 
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- Overrides:
 copyin classDomainArchitecture- Returns:
 - a ~deep~ copy of this PhylogenyData
 
 - 
getDomain
- Overrides:
 getDomainin classDomainArchitecture
 - 
getDomains
- Overrides:
 getDomainsin classDomainArchitecture
 - 
getNumberOfDomains
public int getNumberOfDomains()- Overrides:
 getNumberOfDomainsin classDomainArchitecture
 - 
getOriginalSize
- Specified by:
 getOriginalSizein interfaceRenderablePhylogenyData
 - 
getParameter
- Specified by:
 getParameterin interfaceRenderablePhylogenyData
 - 
getRenderingFactorWidth
public float getRenderingFactorWidth() - 
getRenderingSize
- Specified by:
 getRenderingSizein interfaceRenderablePhylogenyData
 - 
getTotalLength
public int getTotalLength()- Overrides:
 getTotalLengthin classDomainArchitecture
 - 
isEqual
Description copied from class:DomainArchitectureReturns true if the names and the order of the domains match (domain and linker lengths are ignored).- Specified by:
 isEqualin interfacePhylogenyData- Overrides:
 isEqualin classDomainArchitecture- 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 e_value_threshold_exp) - Specified by:
 setParameterin interfaceRenderablePhylogenyData
 - 
setRenderingFactorWidth
public void setRenderingFactorWidth(float rendering_factor_width)  - 
setRenderingHeight
public void setRenderingHeight(float rendering_height) - Specified by:
 setRenderingHeightin interfaceRenderablePhylogenyData
 - 
toNHX
- Specified by:
 toNHXin interfacePhylogenyData- Overrides:
 toNHXin classDomainArchitecture
 - 
toPhyloXML
Description copied from interface:PhylogenyDataWrites a phyloXML representation of this phylogeny data.- Specified by:
 toPhyloXMLin interfacePhylogenyData- Overrides:
 toPhyloXMLin classDomainArchitecture- Throws:
 IOException
 
 -