Package Torello.Languages
Class Verbs.WebFiles
- java.lang.Object
-
- Torello.Languages.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:- A CSS-File
- Three Java-Script Files:
- Java-Script Spanish Verb Definitions
".js"
file. - Java-Script Spanish Irregular-Verb Conjugations
".js"
file. - Java-Script Spanish Pop-Up Window Code
".js"
file.
- Java-Script Spanish Verb Definitions
Hi-Lited Source-Code:- View Here: Torello/Languages/Verbs.java
- Open New Browser-Tab: Torello/Languages/Verbs.java
File Size: 3,782 Bytes Line Count: 85 '\n' Characters Found
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 ajava.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 ajava.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 ajava.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 ajava.lang.String
.
-
-
-
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 ajava.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 ajava.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 ajava.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 ajava.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);
-
-