Package org.forester.archaeopteryx
Class AptxUtil
java.lang.Object
org.forester.archaeopteryx.AptxUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final ColorcalculateColorFromString(String str, boolean is_taxonomy) static MaskFormatterstatic final booleanstatic final booleanReturns true if at least one branch has a length larger than zero.static final booleanstatic final booleanstatic final booleanstatic final booleanstatic final voidlaunchWebBrowser(URI uri, boolean is_applet, JApplet applet, String frame_name) static final voidprintWarningMessage(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 voidshowErrorMessage(Component parent, String error_msg) static voidwritePhylogenyToGraphicsFile(File intree, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) static voidwritePhylogenyToGraphicsFile(Phylogeny phy, File outfile, int width, int height, AptxUtil.GraphicsExportType type, Configuration config) static final voidwritePhylogenyToGraphicsFileNonInteractive(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:
FileNotFoundExceptionIOException
-
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
-