public final class AptxUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AptxUtil.GraphicsExportType |
| Constructor and Description |
|---|
AptxUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
calculateColorFromString(String str,
boolean is_taxonomy) |
static MaskFormatter |
createMaskFormatter(String s) |
static boolean |
isHasAtLeastNodeWithEvent(Phylogeny phy) |
static boolean |
isHasAtLeastOneBranchLengthLargerThanZero(Phylogeny phy)
Returns true if at least one branch has a length larger than zero.
|
static boolean |
isHasAtLeastOneBranchWithSupportSD(Phylogeny phy) |
static boolean |
isHasAtLeastOneBranchWithSupportValues(Phylogeny phy) |
static boolean |
isHasAtLeastOneNodeWithScientificName(Phylogeny phy) |
static boolean |
isHasAtLeastOneNodeWithSequenceAnnotation(Phylogeny phy) |
static void |
launchWebBrowser(URI uri,
boolean is_applet,
JApplet applet,
String frame_name) |
static Set<Taxonomy> |
obtainAllDistinctTaxonomies(PhylogenyNode node) |
static void |
printWarningMessage(String name,
String message) |
static Phylogeny[] |
readPhylogeniesFromUrl(URL url,
boolean phyloxml_validate_against_xsd,
boolean replace_underscores,
boolean internal_numbers_are_confidences,
NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction,
boolean midpoint_reroot) |
static void |
showErrorMessage(Component parent,
String error_msg) |
static void |
writePhylogenyToGraphicsFile(File intree,
File outfile,
int width,
int height,
AptxUtil.GraphicsExportType type,
Configuration config) |
static void |
writePhylogenyToGraphicsFile(Phylogeny phy,
File outfile,
int width,
int height,
AptxUtil.GraphicsExportType type,
Configuration config) |
static void |
writePhylogenyToGraphicsFileNonInteractive(File outfile,
int width,
int height,
TreePanel tree_panel,
org.forester.archaeopteryx.ControlPanel ac,
AptxUtil.GraphicsExportType type,
Options options) |
public static final Color calculateColorFromString(String str, boolean is_taxonomy)
public static MaskFormatter createMaskFormatter(String s)
public static final boolean isHasAtLeastNodeWithEvent(Phylogeny phy)
public static final boolean isHasAtLeastOneBranchLengthLargerThanZero(Phylogeny phy)
phy - public static final boolean isHasAtLeastOneBranchWithSupportSD(Phylogeny phy)
public static final boolean isHasAtLeastOneBranchWithSupportValues(Phylogeny phy)
public static final boolean isHasAtLeastOneNodeWithScientificName(Phylogeny phy)
public static final boolean isHasAtLeastOneNodeWithSequenceAnnotation(Phylogeny phy)
public static final void launchWebBrowser(URI uri, boolean is_applet, JApplet applet, String frame_name) throws IOException
IOExceptionpublic static Set<Taxonomy> obtainAllDistinctTaxonomies(PhylogenyNode node)
public static final Phylogeny[] readPhylogeniesFromUrl(URL url, boolean phyloxml_validate_against_xsd, boolean replace_underscores, boolean internal_numbers_are_confidences, NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction, boolean midpoint_reroot) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static void writePhylogenyToGraphicsFile(File intree, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) throws IOException
IOExceptionpublic static void writePhylogenyToGraphicsFile(Phylogeny phy, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) throws IOException
IOExceptionpublic static final void writePhylogenyToGraphicsFileNonInteractive(File outfile, int width, int height, TreePanel tree_panel, org.forester.archaeopteryx.ControlPanel ac, AptxUtil.GraphicsExportType type, Options options) throws IOException
IOExceptionCopyright © 2016. All rights reserved.