Package org.forester.archaeopteryx
Class AptxUtil
java.lang.Object
org.forester.archaeopteryx.AptxUtil
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final Color
calculateColorFromString
(String str, boolean is_taxonomy) static MaskFormatter
static final boolean
static final boolean
Returns true if at least one branch has a length larger than zero.static final boolean
static final boolean
static final boolean
static final boolean
static final void
launchWebBrowser
(URI uri, boolean is_applet, JApplet applet, String frame_name) static final void
printWarningMessage
(String name, String message) 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) static final 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 final void
writePhylogenyToGraphicsFileNonInteractive
(File outfile, int width, int height, TreePanel tree_panel, org.forester.archaeopteryx.ControlPanel ac, AptxUtil.GraphicsExportType type, Options options)
-
Constructor Details
-
AptxUtil
public AptxUtil()
-
-
Method Details
-
calculateColorFromString
-
createMaskFormatter
-
isHasAtLeastNodeWithEvent
-
isHasAtLeastOneBranchLengthLargerThanZero
Returns true if at least one branch has a length larger than zero.- Parameters:
phy
-
-
isHasAtLeastOneBranchWithSupportSD
-
isHasAtLeastOneBranchWithSupportValues
-
isHasAtLeastOneNodeWithScientificName
-
isHasAtLeastOneNodeWithSequenceAnnotation
-
launchWebBrowser
public static final void launchWebBrowser(URI uri, boolean is_applet, JApplet applet, String frame_name) throws IOException - Throws:
IOException
-
obtainAllDistinctTaxonomies
-
printWarningMessage
-
readPhylogeniesFromUrl
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 - Throws:
FileNotFoundException
IOException
-
showErrorMessage
-
writePhylogenyToGraphicsFile
public static void writePhylogenyToGraphicsFile(File intree, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) throws IOException - Throws:
IOException
-
writePhylogenyToGraphicsFile
public static void writePhylogenyToGraphicsFile(Phylogeny phy, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) throws IOException - Throws:
IOException
-
writePhylogenyToGraphicsFileNonInteractive
public 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 - Throws:
IOException
-