Class ArchaeopteryxE

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer

public class ArchaeopteryxE extends JApplet implements ActionListener
See Also:
  • Constructor Details

    • ArchaeopteryxE

      public ArchaeopteryxE()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • destroy

      public void destroy()
      Overrides:
      destroy in class Applet
    • getCurrentExternalNodesDataBuffer

      public String getCurrentExternalNodesDataBuffer()
      This method returns the current external node data which has been selected by the user by clicking the "Return ..." menu item. This method is expected to be called from Javascript or something like it.
      Returns:
      current external node data as String
    • getCurrentExternalNodesDataBufferChangeCounter

      public int getCurrentExternalNodesDataBufferChangeCounter()
    • getCurrentExternalNodesDataBufferLength

      public int getCurrentExternalNodesDataBufferLength()
    • getCurrentPhylogeny

      public String getCurrentPhylogeny(String format)
      This method returns the current phylogeny as a string in the chosen format
      Parameters:
      format - must be NH, NHX, NEXUS or PHYLOXML
      Returns:
      the phylogeny string
    • getCurrentPhylogenyGraphicsAsBase64EncodedString

      public String getCurrentPhylogenyGraphicsAsBase64EncodedString(String format)
      This method returns a view of the current phylogeny in a chosen graphics format, base64-encoded in a string so that in can be used from javascript.
      Parameters:
      format - must be GraphicsExportType (gif, jpg, pdf, png, tif, bmp)
      Returns:
      the phylogeny string
    • getOptions

      public Options getOptions()
    • init

      public void init()
      Overrides:
      init in class Applet
    • showTextFrame

      public void showTextFrame(String s, String title)
    • start

      public void start()
      Overrides:
      start in class Applet