Package org.jmol.api

Class Interface


  • public class Interface
    extends Object
    • Constructor Detail

      • Interface

        public Interface()
    • Method Detail

      • getInterface

        public static Object getInterface​(String name,
                                          Viewer vwr,
                                          String state)
        Parameters:
        name -
        vwr -
        state -
        Returns:
        instance
      • getOption

        public static Object getOption​(String className,
                                       Viewer vwr,
                                       String state)
        Note! Do not use this method with "viewer." or "util." because when the JavaScript is built, "org.jmol.util" and "org.jmol.viewer" are condensed to "JU" and "JV" (javajs.util is also JU)
        Parameters:
        className -
        vwr -
        state -
        Returns:
        class instance