Class Verbs.WebFiles

  • Enclosing class:
    Verbs

    public static class Verbs.WebFiles
    extends java.lang.Object
    Lazily-Load & retrieve the Java-Script Web-Files needed with the Spanish Verb Cojugation popup-windows.

    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. A CSS-File
    2. Three Java-Script Files:

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



    Stateless Class:
    This class neither contains any program-state, nor can it be instantiated. The @StaticFunctional Annotation may also be called 'The Spaghetti Report'. Static-Functional classes are, essentially, C-Styled Files, without any constructors or non-static member fields. It is a concept very similar to the Java-Bean's @Stateless Annotation.

    • 1 Constructor(s), 1 declared private, zero-argument constructor
    • 4 Method(s), 4 declared static
    • 0 Field(s)


    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static String CSSgetCode()
      Extracts the needed CSS Declaractions from the Java-HTML JAR File, and returns that CSS as a java.lang.String.
      static String JSgetDefinitionsCode()
      Extracts Java-Script "Spanish verb Definitions" Java-Script Arrays from the Java-HTML JAR File, and returns those arrays as a java.lang.String.
      static String JSgetIrregulars()
      Extracts Java-Script "Irregular Spanish Verbs" Java-Script Arrays from the Java-HTML JAR File, and returns those arrays as a java.lang.String.
      static String JSgetPopupCode()
      Extracts Java-Script "Verb Conjugations Pop-Up Window" Java-Script Functions from the Java-HTML JAR File, and returns those functions as a java.lang.String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • JSgetDefinitionsCode

        🡇     🗕  🗗  🗖
        public static java.lang.String JSgetDefinitionsCode()
        Extracts Java-Script "Spanish verb Definitions" Java-Script Arrays from the Java-HTML JAR File, and returns those arrays as a java.lang.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:
         return LFEC.readObjectFromFile_JAR
             (Verbs.class, DEFINITIONS_JS, true, String.class);
        
      • JSgetPopupCode

        🡅  🡇     🗕  🗗  🗖
        public static java.lang.String JSgetPopupCode()
        Extracts Java-Script "Verb Conjugations Pop-Up Window" Java-Script Functions from the Java-HTML JAR File, and returns those functions as a java.lang.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:
         return LFEC.readObjectFromFile_JAR
             (Verbs.class, POPUP_WIN_JS, true, String.class);
        
      • CSSgetCode

        🡅  🡇     🗕  🗗  🗖
        public static java.lang.String CSSgetCode()
        Extracts the needed CSS Declaractions from the Java-HTML JAR File, and returns that CSS as a java.lang.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:
         return LFEC.readObjectFromFile_JAR
             (Verbs.class, POPUP_WIN_CSS, true, String.class);
        
      • JSgetIrregulars

        🡅     🗕  🗗  🗖
        public static java.lang.String JSgetIrregulars()
        Extracts Java-Script "Irregular Spanish Verbs" Java-Script Arrays from the Java-HTML JAR File, and returns those arrays as a java.lang.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:
         return LFEC.readObjectFromFile_JAR
             (Verbs.class, IRREG_CONJ_JS, true, String.class);