Class Verbs.WebFiles

  • Enclosing class:
    Verbs

    public static class Verbs.WebFiles
    extends java.lang.Object
    Web-Files (Java-Script) Documentation.

    These are the files you will need to make a "Java-Script Front-End Verb Popup Window" work. Call this class' methods, and save the string it returns to your disk.

    CONTAINS:

    1. 3 Java-Script Files

      1. 1 Java-Script Spanish Verb Definitions ".js" file.
      2. 1 Java-Script Spanish Irregular-Verb Conjugations ".js" file.
      3. 1 Java-Script Spanish Pop-Up Window Code ".js" file.
    2. 1 CSS-File



    • Method Detail

      • JSgetDefinitionsCode

        public static java.lang.String JSgetDefinitionsCode()
        Extracts Java-Script Functions from a Data-File and returns the functions as a String.
        Returns:
        This simply returns the necessary Java-Script file as a Java String that contains all verb definitions. Save this file, transmit it, convert it. Generally it can be used to make definition pop-up windows in JS.
        See Also:
        LFEC.readObjectFromFile_JAR(Class, String, boolean, Class)
        Code:
        Exact Method Body:
        1
        2
         return LFEC.readObjectFromFile_JAR
             (Torello.Data.DataFileLoader.class, DEFINITIONS_JS, true, String.class);
        
      • JSgetPopupCode

        public static java.lang.String JSgetPopupCode()
        Extracts Java-Script Functions from a Data-File and returns the functions as a String.
        Returns:
        This returns the Java-Script file (as a String) that contains the "Verb Popup Window" code. Save this file, and store it in an accessible directory when you use the "addVerbSpans" method.

        Save this file to disk, and put it in your HTML <HEADER>...<SCRIPT TYPE="text/javascript"> section!
        See Also:
        LFEC.readObjectFromFile_JAR(Class, String, boolean, Class)
        Code:
        Exact Method Body:
        1
        2
         return LFEC.readObjectFromFile_JAR
             (Torello.Data.DataFileLoader.class, POPUP_WIN_JS, true, String.class);
        
      • CSSgetCode

        public static java.lang.String CSSgetCode()
        Extracts CSS Declaractions from a Data-File and returns the CSS as a String.
        Returns:
        This returns the CSS file (as a String) for formatting the "Verb Popup Window." If a call to method addVerbSpans is used, and the three files listed (3 Java-Script, and 1 CSS) are included in the directory of the output page, then verb-conjugation pop-up windows will be functioning.

        Save this file to disk, and put it in your HTML <HEADER>...<SCRIPT TYPE="text/javascript"> section!
        See Also:
        LFEC.readObjectFromFile_JAR(Class, String, boolean, Class)
        Code:
        Exact Method Body:
        1
        2
         return LFEC.readObjectFromFile_JAR
             (Torello.Data.DataFileLoader.class, POPUP_WIN_CSS, true, String.class);
        
      • JSgetIrregulars

        public static java.lang.String JSgetIrregulars()
        Extracts Java-Script Functions from a Data-File and returns the functions as a String.
        Returns:
        This returns the last Java-Script file you will need to put a "Verbs Pop-up Window" on your Spanish HTML documents.

        Save this file to disk, and put it in your HTML <HEADER>...<SCRIPT TYPE="text/javascript"> section!
        See Also:
        LFEC.readObjectFromFile_JAR(Class, String, boolean, Class)
        Code:
        Exact Method Body:
        1
        2
         return LFEC.readObjectFromFile_JAR
             (Torello.Data.DataFileLoader.class, IRREG_CONJ_JS, true, String.class);