www.element4solution.com

e4s.html
Class E4HtmlContentElement

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.html.E4HtmlElementGeneral
              extended by e4s.html.E4HtmlElement
                  extended by e4s.html.E4HtmlContentElement
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
A, A_Multiple, A_Name, A_Reference, A_ReturnValue, BUTTON, DIV, E4BoxRoundCorners, E4HtmlContentElementPersistant, E4ModuleCalendar.UpDownSelector, E4SimpleTag, E4SystemError, FONT, P, TD, UL, UL.LI

public class E4HtmlContentElement
extends E4HtmlElement
implements E4HtmlElement_Intf

The "content"-element is the main class where most other html classes are inheritaed from. It is useful wherever simple output, with print(java.lang.String) or println(java.lang.String) is required, which is the case for most of the elements. E.g. a print(java.lang.String) can be used to write a string into a table cell (TD) as well as the main HTML page HTML. Beside this, this class covers simple creation of other HTML elements, such as TABLE, A and more. In general, all elements that can have subsequent output, but not elements for e.g. input or framesets. This class is inherited from E4HtmlElement which covers all non-output relevant impelementation, primary adding sub elements to the element chain (Vector).

Since:
JDK 1.4
See Also:
E4HtmlElementGeneral

Field Summary
static java.lang.String BOOL_STR_FALSE
           
static java.lang.String BOOL_STR_TRUE
          There are two "constants" that can be changed within an application.
 
Fields inherited from class e4s.html.E4HtmlElementGeneral
m_elements, m_needed_scripts
 
Fields inherited from class e4s.html.E4HtmlObject
m_parent_e4sID
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4HtmlContentElement()
           
E4HtmlContentElement(E4HtmlContentElement e)
           
E4HtmlContentElement(E4ID parent_id)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 A_Email A_Email(E4String email)
           
 A_Email A_Email(java.lang.String email)
           
 A_Multiple A_Multiple(E4ServletImplementation_Intf servlet)
           
 A_Popup A_Popup(A_Popup template)
           
 A_Popup A_Popup(E4HtmlElement element, E4ServletImplementation_Intf servlet)
          Create a <A>-Tag and add it to the elements.
 A_Popup A_Popup(E4JavaScript formatter, java.lang.String[] params)
          Formatting is done by a user defined script where the output, based on the specified parameters, is constructed.
 A_Popup A_Popup(E4Method mref, E4HtmlElement element, E4ServletImplementation_Intf servlet)
          Create a <A>-Tag and add it to the elements.
 A_Popup A_Popup(E4Method mref, java.lang.String element)
          Create a <A>-Tag and add it to the elements.
 A_Popup A_Popup(java.lang.String element)
          Create a <A>-Tag and add it to the elements.
 A_Popup A_Popup(java.lang.String element, boolean transparent)
          Create a <A>-Tag and add it to the elements.
 A_Reference A_Reference(char name)
          Construct an anchor tag for a local reference within an HTML page.
 A_Reference A_Reference(E4Long name)
          Construct an anchor tag for a local reference within an HTML page.
 A_Reference A_Reference(E4String name)
          Construct an anchor tag for a local reference within an HTML page.
 A_Reference A_Reference(long name)
          Construct an anchor tag for a local reference within an HTML page.
 A_Reference A_Reference(java.lang.String name)
          Construct an anchor tag for a local reference within an HTML page.
 A_ReturnValue A_ReturnValue(E4Long value, E4CgiParams params)
          Return a value from a pickup mechanism.
 A_ReturnValue A_ReturnValue(E4String value, E4CgiParams params)
          Return a value from a pickup mechanism.
 A_ReturnValue A_ReturnValue(long value, E4CgiParams params)
          Return a value from a pickup mechanism.
 A_ReturnValue A_ReturnValue(java.lang.String value, E4CgiParams params)
          Return a value from a pickup mechanism.
 A A(E4EventHandlerA handler)
           
 A A(E4Label_Intf question, E4Method functionname)
           
 A A(E4Method functionname)
          Creates a URL link (<A HREF=".."
 A A(E4MethodPickup functionname)
           
 A A(E4String url)
           
 A A(java.lang.String url)
           
 A A(java.lang.String question, E4Method functionname)
           
 E4AjaxElement AjaxElement(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet)
          Add an E4Ajax element to the html content.
 E4AjaxElement AjaxElement(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, boolean debug, boolean name_scripts)
          Add an E4Ajax element to the html content.
 E4AjaxElement AjaxElement(E4AjaxData_Intf data, int width, int height, E4ServletImplementation_Intf servlet)
          Add an E4Ajax element to the html content.
 B B()
           
 void B(boolean mode)
          Changes <B%gt; (Bold) Tag.
 BIG BIG()
           
 E4Box Box()
          Construct an E4Box.
 E4Box Box(E4Label_Intf caption)
          Construct an E4Box.
 E4Box Box(java.lang.String caption)
          Construct an E4Box.
 E4BoxRoundCorners BoxRoundCorners()
          Construct an E4BoxRoundCorners.
 E4BoxRoundCorners BoxRoundCorners(E4Label_Intf caption)
          Construct an E4BoxRoundCorners.
 E4BoxRoundCorners BoxRoundCorners(java.lang.String caption)
          Construct an E4BoxRoundCorners.
 void BR()
          Prints the Html-Tag <BR>
 BUTTON BUTTON()
           
 BUTTON BUTTON(E4EventHandlerBUTTON evt)
           
 BUTTON BUTTON(E4Label_Intf label, E4EventHandlerBUTTON evt)
           
 BUTTON BUTTON(E4Method_Intf mref, boolean newwindow, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method_Intf mref, E4CgiParams params, boolean newwindow, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4CgiParams params, E4FrameName frame, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4CgiParams params, E4Label_Intf label, boolean newwindow, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4CgiParams params, E4Label_Intf label, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4CgiParams params, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4FrameName frame, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4Label_Intf label, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(E4Method mref, E4ServletImplementation_Intf servlet)
           
 BUTTON BUTTON(java.lang.String label, E4EventHandlerBUTTON evt)
           
 CENTER CENTER()
           
 DEL DEL()
           
 DIV DIV()
           
 DIV DIV(java.lang.String id)
           
 DIV DIV(java.lang.String id, int width, int height)
           
 DIV DIV(java.lang.String id, int left, int top, int width, int height)
           
 FONT FONT()
           
 FONT FONT(CLASS_Name style)
           
 FONT FONT(E4Color color)
           
 FONT FONT(E4Color color, int size)
           
 FONT FONT(E4Color color, int size, java.lang.String face)
           
 FONT FONT(E4Color color, java.lang.String face)
           
 FONT FONT(E4Color color, java.lang.String face, int size)
           
 FONT FONT(FONT font)
           
 FONT FONT(int size, E4Color color)
           
 FONT FONT(int size, java.lang.String face)
           
 FONT FONT(java.lang.String face)
           
 FONT FONT(java.lang.String face, E4Color color)
           
 FONT FONT(java.lang.String face, E4Color color, int size)
           
 FONT FONT(java.lang.String face, int size)
           
 FONT FONT(java.lang.String face, int size, E4Color color)
           
 void FullSizeE4Message(java.lang.String message, E4Color bgcolor)
          Draw a full size table (WIDTH=100% HEIGHT=100%) using the defined background color and print message vertically and horizontally centered.
 Hx H1()
           
 Hx H2()
           
 Hx H3()
           
 Hx H4()
           
 E4Hint Hint(E4HintID id, E4ServletImplementation_Intf servlet)
          Create a hint and add it to the element.
 HR HR()
          Prints the Html-Tag <HR> for a horizontal ruler.
 I I()
           
 void I(boolean mode)
          Changes <I%gt; (Italic) Tag.
 IMG IMG(E4Method_Intf mref, E4ServletImplementation_Intf servlet)
          Create an image on the fly, based on a E4Method_Intf
 IMG IMG(E4String image)
          Create an image, using the default [@link e4s.html.E4DocumentBase} which is E4S root.
 IMG IMG(E4String image, E4DocumentBase documentbase)
          Create an image, using the specified DocuumentBase.
 IMG IMG(E4StringImage image)
          Create an image, using the default [@link e4s.html.E4DocumentBase} which is E4S root.
 IMG IMG(E4StringImage image, E4DocumentBase documentbase)
           
 IMG IMG(IMG image)
           
 IMG IMG(java.lang.String image)
           
 IMG IMG(java.lang.String image, E4DocumentBase documentbase)
           
 INS INS()
           
 E4Message Message(E4Label_Intf txt)
          Construct a E4Message element to display a message, using the E4Message.CAPTION mode for display.
 E4Message Message(E4Permission_Intf permission)
          Construct a E4Message element to display a message, that is a standard text "permission XY not granted.".
 E4Message Message(int state, E4Label_Intf txt)
          Construct a E4Message element to display a message.
 E4Message Message(int state, java.lang.String txt)
          Construct a E4Message element to display a message.
 E4Message Message(java.lang.String txt)
          Construct a E4Message element to display a message, using the E4Message.CAPTION mode for display.
 void NBSP()
          Print an NBSP character sequence.
 NOBR NOBR()
           
 void P_NBSP()
          Prints the Html-Tag <P> followed by E4Object.NBSP and again <P> which causes a space line.
 P P()
          Prints the Html-Tag <P>
 PRE PRE()
           
 void print(boolean val)
          Print out some text into the HTML context, no new-line is appended.
 void print(char ch)
          Print out a character into the HTML context, no new-line is appended.
 void print(java.util.Date date)
          Format a date value using the default date format and print it out.
 void print(java.util.Date date, java.text.SimpleDateFormat df)
          Format a date value and print it out.
 void print(java.util.Date date, java.lang.String df)
          Format a date value and print it out.
 void print(E4Label_Intf s)
          Print out some text that is intended for translation (localization).
 void print(E4LabelApp label)
          Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
 void print(E4LabelNone label)
          Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
 void print(E4LabelSys label)
          Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
 void print(E4Long lng)
          Print out some text into the HTML context, no new-line is appended.
 void print(E4String str)
          Print out some text into the HTML context, no new-line is appended.
 void print(E4StringBufferHtml buf)
          Print out some text into the HTML context, a new-line is appended.
 void print(float val)
          Print out some text into the HTML context, no new-line is appended.
 void print(int val)
          Print out some text into the HTML context, no new-line is appended.
 void print(long val)
          Print out some text into the HTML context, no new-line is appended.
 void print(java.lang.String s)
          Print out some text into the HTML context, no new-line is appended.
 void print(java.lang.StringBuffer s)
          Print out some text into the HTML context, a new-line is appended.
 void println(boolean val)
          Print out some text into the HTML context, a new-line is appended.
 void println(E4Label_Intf s)
          Print out some text that is intended for translation (localization), add an line break (CRLF).
 void println(E4String str)
          Print out some text into the HTML context, a new-line is appended.
 void println(float val)
          Print out some text into the HTML context, a new-line is appended.
 void println(int val)
          Print out some text into the HTML context, a new-line is appended.
 void println(long val)
          Print out some text into the HTML context, a new-line is appended.
 void println(java.lang.String s)
          Print out some text into the HTML context, a new-line is appended.
 void rem(E4String s)
          Place an invisible remark in the HTML output.
 void rem(int i)
          Place an invisible remark in the HTML output.
 void rem(long l)
          Place an invisible remark in the HTML output.
 void rem(java.lang.Object obj)
          Place an invisible remark in the HTML output.
 void rem(java.lang.String s)
          Place an invisible remark in the HTML output.
 void rem(java.lang.Throwable t)
          Place an invisible remark in the HTML output.
 SMALL SMALL()
           
 SPAN SPAN()
           
 STRIKE STRIKE()
          Deprecated.  
 void strike(java.lang.String txt, boolean mode)
           
 E4SystemError SystemError(java.lang.String errormsg)
           
 E4SystemError SystemError(java.lang.Throwable t)
           
 E4SystemError SystemError(java.lang.Throwable t, E4MethodCallTrace mtrace)
           
 E4SystemError SystemError(java.lang.Throwable t, java.lang.String detailed_text)
           
 TABLE TABLE()
           
 TABLE TABLE(TABLE template)
          Defines a <TABLE> tag.
 void trace()
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void trace(E4String s)
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void trace(int i)
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void trace(long lng)
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void trace(java.lang.Object o)
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void trace(java.lang.String s)
          Place an invisible remark in the HTML output, using the Java module, Java line-number.
 void translate_Sys(java.lang.String s)
          Add a translation element based on E4LabelSys.
 void translate(java.lang.String s)
          Print out some text that is intended for translation (localization).
 void U(boolean mode)
          Changes <U%gt; (Underline) Tag.
 UL UL()
          Adds an UL (Unsorted List)
 
Methods inherited from class e4s.html.E4HtmlElement
addElement, addElement, addElement, copyElements, print
 
Methods inherited from class e4s.html.E4HtmlElementGeneral
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, collectScripts, collectStylesForEditing, collectStylesForEditing, collectStylesForEditing, collectTranslationsForEditing, collectTranslationsForEditing, createScript, createScript, debugToString, findElement, findElement, findElement, findElement, getElements, getElementsVec, getField, getId, getLastElement, getStringContent, getStyle, getSTYLE, getStyle, hasScripts, hasSTYLE, isContentClass, isE4InputField_Intf, openTag, removeAll, removeElementById, removeElements, removeElements, removeStyle, setId, setReadOnly, setStyle, setStyle, setSTYLE, setValue, Style, Style, toHtml_hidden, toHtml, validate
 
Methods inherited from class e4s.html.E4HtmlObject
E4ID, E4ID, set_e4sID
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface e4s.html.E4HtmlElement_Intf
addScript, addScript, addScript, collectScripts, collectStylesForEditing, collectTranslationsForEditing, debugToString, findElement, findElement, getElements, getElementsVec, getField, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, toHtml, validate
 

Field Detail

BOOL_STR_TRUE

public static java.lang.String BOOL_STR_TRUE
There are two "constants" that can be changed within an application. Both are used for the println(boolean) function to represent a String value for the boolean pair.

See Also:
println(boolean), print(boolean), BOOL_STR_FALSE

BOOL_STR_FALSE

public static java.lang.String BOOL_STR_FALSE
See Also:
BOOL_STR_TRUE
Constructor Detail

E4HtmlContentElement

public E4HtmlContentElement()

E4HtmlContentElement

public E4HtmlContentElement(E4HtmlContentElement e)

E4HtmlContentElement

public E4HtmlContentElement(E4ID parent_id)
Method Detail

NBSP

public void NBSP()
Print an NBSP character sequence.

See Also:
E4Object.NBSP

print

public void print(java.lang.String s)
Print out some text into the HTML context, no new-line is appended. The text may also contain HTML tags. Change to &nbsp; if the text is null or empty.

Parameters:
val - the text to be printed out
See Also:
println(String), print(e4s.util.E4String)

print

public void print(E4StringBufferHtml buf)
Print out some text into the HTML context, a new-line is appended. If the StringBuffer is null, a " " is printed out instead. The StringBuffer might contain new-line characters and HTML tags.

Parameters:
s - the text to be printed out
See Also:
print(String), println(String)

print

public void print(java.lang.StringBuffer s)
Print out some text into the HTML context, a new-line is appended. If the StringBuffer is null, a " " is printed out instead. The StringBuffer might contain new-line characters and HTML tags.

Parameters:
s - the text to be printed out
See Also:
print(String), println(String)

println

public void println(java.lang.String s)
Print out some text into the HTML context, a new-line is appended. The text may also contain HTML tags.

Parameters:
s - the text to be printed out
See Also:
print(String), println(e4s.util.E4String)

print

public void print(int val)
Print out some text into the HTML context, no new-line is appended.

Parameters:
val - the text to be printed out
See Also:
print(String), println(int)

println

public void println(int val)
Print out some text into the HTML context, a new-line is appended.

Parameters:
val - the text to be printed out
See Also:
println(String), print(int)

print

public void print(float val)
Print out some text into the HTML context, no new-line is appended.

Parameters:
val - the text to be printed out
See Also:
print(String), println(float)

println

public void println(float val)
Print out some text into the HTML context, a new-line is appended.

Parameters:
val - the text to be printed out
See Also:
println(String), print(float)

print

public void print(boolean val)
Print out some text into the HTML context, no new-line is appended.

Parameters:
val - the text to be printed out, a value of true is printed out as BOOL_STR_TRUE and a value of false is printed out as BOOL_STR_FALSE.
See Also:
print(String), println(boolean), BOOL_STR_TRUE, BOOL_STR_FALSE

println

public void println(boolean val)
Print out some text into the HTML context, a new-line is appended.

Parameters:
val - the text to be printed out, a value of true is printed out as BOOL_STR_TRUE and a value of false is printed out as BOOL_STR_FALSE.
See Also:
println(String), print(boolean), BOOL_STR_TRUE, BOOL_STR_FALSE

print

public void print(long val)
Print out some text into the HTML context, no new-line is appended.

Parameters:
val - the text to be printed out
See Also:
println(long), print(String)

println

public void println(long val)
Print out some text into the HTML context, a new-line is appended.

Parameters:
val - the text to be printed out
See Also:
println(String), print(long)

print

public void print(char ch)
Print out a character into the HTML context, no new-line is appended.

Parameters:
ch - the text to be printed out
See Also:
println(String), print(String)

print

public void print(java.util.Date date,
                  java.text.SimpleDateFormat df)
Format a date value and print it out.

Parameters:
date - the date to be printed
df - a dateformat used for formatting the date value
See Also:
print(java.util.Date, String), print(java.util.Date)

print

public void print(java.util.Date date,
                  java.lang.String df)
Format a date value and print it out.

Parameters:
date - the date to be printed
df - a dateformat used for formatting the date value
See Also:
print(java.util.Date, SimpleDateFormat), print(java.util.Date)

print

public void print(java.util.Date date)
Format a date value using the default date format and print it out.

Parameters:
date - the date to be printed
See Also:
print(java.util.Date, String), print(java.util.Date)

print

public void print(E4Long lng)
Print out some text into the HTML context, no new-line is appended. The text may also contain HTML tags.

Parameters:
str - the text to be printed out
See Also:
print(long)

print

public void print(E4String str)
Print out some text into the HTML context, no new-line is appended. The text may also contain HTML tags.

Parameters:
str - the text to be printed out
See Also:
print(String), println(String), println(e4s.util.E4String)

println

public void println(E4String str)
Print out some text into the HTML context, a new-line is appended. The text may also contain HTML tags.

Parameters:
str - the text to be printed out
See Also:
print(e4s.util.E4String), println(String)

trace

public void trace()
Place an invisible remark in the HTML output, using the Java module, Java line-number.

See Also:
trace(String), trace(long), trace(int), trace(Object), trace(e4s.util.E4String), rem(String)

trace

public void trace(java.lang.String s)
Place an invisible remark in the HTML output, using the Java module, Java line-number.

Parameters:
s - the remark
See Also:
trace(), trace(long), trace(int), trace(Object), trace(e4s.util.E4String), rem(String)

trace

public void trace(E4String s)
Place an invisible remark in the HTML output, using the Java module, Java line-number.

Parameters:
s - the remark
See Also:
trace(), trace(String), trace(long), trace(int), trace(Object), rem(e4s.util.E4String)

trace

public void trace(long lng)
Place an invisible remark in the HTML output, using the Java module, Java line-number.

Parameters:
lng - the remark
See Also:
trace(String), trace(), trace(int), trace(Object), rem(long)

trace

public void trace(int i)
Place an invisible remark in the HTML output, using the Java module, Java line-number.

Parameters:
i - the remark
See Also:
trace(String), trace(), trace(long), trace(Object), rem(int)

trace

public void trace(java.lang.Object o)
Place an invisible remark in the HTML output, using the Java module, Java line-number.

Parameters:
o - the remark, a toString() function si recommended
See Also:
trace(), trace(String), trace(long), trace(int), trace(Object), trace(e4s.util.E4String), rem(Throwable), rem(Object)

rem

public void rem(java.lang.String s)
Place an invisible remark in the HTML output.

Parameters:
s - the remark
See Also:
rem(e4s.util.E4String), rem(long), rem(int), rem(Object), rem(Throwable), trace()

rem

public void rem(E4String s)
Place an invisible remark in the HTML output.

Parameters:
s - the remark
See Also:
rem(String), rem(long), rem(int), rem(Object), rem(Throwable), trace()

rem

public void rem(long l)
Place an invisible remark in the HTML output.

Parameters:
l - the remark
See Also:
rem(String), rem(e4s.util.E4String), rem(int), rem(Object), rem(Throwable), trace()

rem

public void rem(int i)
Place an invisible remark in the HTML output.

Parameters:
i - the remark
See Also:
rem(String), rem(e4s.util.E4String), rem(long), rem(Object), rem(Throwable), trace()

rem

public void rem(java.lang.Object obj)
Place an invisible remark in the HTML output.

Parameters:
obj - the remark, a toString() function is recommended
See Also:
rem(String), rem(e4s.util.E4String), rem(long), rem(int), rem(Throwable), trace()

rem

public void rem(java.lang.Throwable t)
Place an invisible remark in the HTML output.

Parameters:
t - the remark
See Also:
rem(String), rem(e4s.util.E4String), rem(long), rem(int), rem(Object), trace()

SystemError

public E4SystemError SystemError(java.lang.String errormsg)

SystemError

public E4SystemError SystemError(java.lang.Throwable t)

SystemError

public E4SystemError SystemError(java.lang.Throwable t,
                                 E4MethodCallTrace mtrace)

SystemError

public E4SystemError SystemError(java.lang.Throwable t,
                                 java.lang.String detailed_text)

BR

public void BR()
Prints the Html-Tag <BR>


P

public P P()
Prints the Html-Tag <P>

Returns:
the new created P element

P_NBSP

public void P_NBSP()
Prints the Html-Tag <P> followed by E4Object.NBSP and again <P> which causes a space line.


B

public void B(boolean mode)
Changes <B%gt; (Bold) Tag.

Parameters:
mode - true = <B%gt;, false = </B%gt;

SPAN

public SPAN SPAN()

B

public B B()

H1

public Hx H1()

H2

public Hx H2()

H3

public Hx H3()

H4

public Hx H4()

SMALL

public SMALL SMALL()

BIG

public BIG BIG()

STRIKE

public STRIKE STRIKE()
Deprecated. 

See Also:
DEL()

DEL

public DEL DEL()

INS

public INS INS()

I

public I I()

NOBR

public NOBR NOBR()

FONT

public FONT FONT(CLASS_Name style)

FONT

public FONT FONT()

FONT

public FONT FONT(java.lang.String face,
                 E4Color color,
                 int size)

FONT

public FONT FONT(java.lang.String face,
                 int size,
                 E4Color color)

FONT

public FONT FONT(E4Color color,
                 java.lang.String face,
                 int size)

FONT

public FONT FONT(E4Color color,
                 int size,
                 java.lang.String face)

FONT

public FONT FONT(java.lang.String face,
                 E4Color color)

FONT

public FONT FONT(E4Color color,
                 java.lang.String face)

FONT

public FONT FONT(java.lang.String face)

FONT

public FONT FONT(java.lang.String face,
                 int size)

FONT

public FONT FONT(int size,
                 java.lang.String face)

FONT

public FONT FONT(E4Color color,
                 int size)

FONT

public FONT FONT(int size,
                 E4Color color)

FONT

public FONT FONT(E4Color color)

FONT

public FONT FONT(FONT font)

I

public void I(boolean mode)
Changes <I%gt; (Italic) Tag.

Parameters:
mode - true = <I%gt;, false = </I%gt;

U

public void U(boolean mode)
Changes <U%gt; (Underline) Tag.

Parameters:
mode - true = <U%gt;, false = </U%gt;

HR

public HR HR()
Prints the Html-Tag <HR> for a horizontal ruler.


UL

public UL UL()
Adds an UL (Unsorted List)


CENTER

public CENTER CENTER()

A

public A A(E4Method functionname)
Creates a URL link (<A HREF="..">)


A

public A A(java.lang.String question,
           E4Method functionname)

A

public A A(E4Label_Intf question,
           E4Method functionname)

A

public A A(E4MethodPickup functionname)

A

public A A(E4EventHandlerA handler)

A

public A A(java.lang.String url)

A

public A A(E4String url)

A_Email

public A_Email A_Email(java.lang.String email)

A_Email

public A_Email A_Email(E4String email)

A_Popup

public A_Popup A_Popup(E4Method mref,
                       E4HtmlElement element,
                       E4ServletImplementation_Intf servlet)
                throws java.lang.Exception
Create a <A>-Tag and add it to the elements. The A_Popup element is used to popup a dynamic window when the mouse get's over it. Please note, that this mechanism requires a call to A_Popup.prepare(e4s.html.BODY) for the surrounding BODY element!

Parameters:
mref - a method that will be executed on click
element - an element to be rendered for output on the dynamic overlay window (use small and less elements only)
servlet - the servlet context
Throws:
java.lang.Exception
See Also:
A_Popup(e4s.html.A_Popup), A_Popup.prepare(e4s.html.BODY)

A_Popup

public A_Popup A_Popup(A_Popup template)
                throws java.lang.Exception
Throws:
java.lang.Exception

A_Popup

public A_Popup A_Popup(E4HtmlElement element,
                       E4ServletImplementation_Intf servlet)
                throws java.lang.Exception
Create a <A>-Tag and add it to the elements. The A_Popup element is used to popup a dynamic window when the mouse get's over it. Please note, that this mechanism requires a call to A_Popup.prepare(e4s.html.BODY) for the surrounding BODY element!

Parameters:
element - an element to be rendered for output on the dynamic overlay window (use small and less elements only)
servlet - the servlet context
Throws:
java.lang.Exception
See Also:
A_Popup(e4s.html.E4Method, e4s.html.E4HtmlElement, e4s.servlet.E4ServletImplementation_Intf), A_Popup.prepare(e4s.html.BODY)

A_Popup

public A_Popup A_Popup(E4JavaScript formatter,
                       java.lang.String[] params)
                throws java.lang.Exception
Formatting is done by a user defined script where the output, based on the specified parameters, is constructed. It is important, that this content is handled to the JavaScript either #JS_NAME_WRITE_TRANSPARENT or #JS_NAME_WRITE_NON_TRANSPARENT.

Parameters:
formatter - a JavaScript
params - can be null or an array of values passed to formatter
Throws:
java.lang.Exception

A_Popup

public A_Popup A_Popup(E4Method mref,
                       java.lang.String element)
                throws java.lang.Exception
Create a <A>-Tag and add it to the elements. The A_Popup element is used to popup a dynamic window when the mouse get's over it. Please note, that this mechanism requires a call to A_Popup.prepare(e4s.html.BODY) for the surrounding BODY element!

Parameters:
mref - a method that will be executed on click
element - a ready rendered element for output on the dynamic overlay window (use small and less text only, avoid special characters, Scripts, etc..)
Throws:
java.lang.Exception
See Also:
A_Popup(String), A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf), A_Popup.prepare(e4s.html.BODY)

A_Popup

public A_Popup A_Popup(java.lang.String element)
                throws java.lang.Exception
Create a <A>-Tag and add it to the elements. The A_Popup element is used to popup a dynamic window when the mouse get's over it. Please note, that this mechanism requires a call to A_Popup.prepare(e4s.html.BODY) for the surrounding BODY element!

Parameters:
element - a ready rendered element for output on the dynamic overlay window (use small and less text only, avoid special characters, Scripts, etc..)
Throws:
java.lang.Exception
See Also:
A_Popup(e4s.html.E4Method,String), A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf), A_Popup.prepare(e4s.html.BODY)

A_Popup

public A_Popup A_Popup(java.lang.String element,
                       boolean transparent)
                throws java.lang.Exception
Create a <A>-Tag and add it to the elements. The A_Popup element is used to popup a dynamic window when the mouse get's over it. Please note, that this mechanism requires a call to A_Popup.prepare(e4s.html.BODY) for the surrounding BODY element!

Parameters:
element - a ready rendered element for output on the dynamic overlay window (use small and less text only, avoid special characters, Scripts, etc..)
transparent - true enables transparent background
Throws:
java.lang.Exception
See Also:
A_Popup(e4s.html.E4Method,String), A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf), A_Popup.prepare(e4s.html.BODY)

A_Reference

public A_Reference A_Reference(java.lang.String name)
Construct an anchor tag for a local reference within an HTML page.

Parameters:
name - the name of the tag, resulting in: <A HREF="#name">..</A> name can but must not start with the '#' character as this will be appended
Returns:
the new created and added element
See Also:
A_Name, BODY.A_Name(String), A_Reference(long), A_Reference(char), A_Reference(e4s.util.E4String), A_Reference(e4s.util.E4Long)

A_Reference

public A_Reference A_Reference(E4String name)
Construct an anchor tag for a local reference within an HTML page.

Parameters:
name - the name of the tag, resulting in: <A HREF="#name">..</A> name can but must not start with the '#' character as this will be appended
Returns:
the new created and added element
See Also:
A_Name, BODY.A_Name(e4s.util.E4String), A_Reference(String), A_Reference(e4s.util.E4Long), A_Reference(long), A_Reference(char)

A_Reference

public A_Reference A_Reference(long name)
Construct an anchor tag for a local reference within an HTML page.

Parameters:
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
Returns:
the new created and added element
See Also:
A_Name, BODY.A_Name(long), A_Reference(String), A_Reference(e4s.util.E4String), A_Reference(e4s.util.E4Long), A_Reference(char)

A_Reference

public A_Reference A_Reference(E4Long name)
Construct an anchor tag for a local reference within an HTML page.

Parameters:
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
Returns:
the new created and added element
See Also:
A_Name, BODY.A_Name(e4s.util.E4Long), A_Reference(String), A_Reference(e4s.util.E4String), A_Reference(long), A_Reference(char)

A_Reference

public A_Reference A_Reference(char name)
Construct an anchor tag for a local reference within an HTML page.

Parameters:
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
Returns:
the new created and added element
See Also:
A_Name, BODY.A_Name(char), A_Reference(String), A_Reference(e4s.util.E4String), A_Reference(e4s.util.E4Long), A_Reference(long)

A_ReturnValue

public A_ReturnValue A_ReturnValue(java.lang.String value,
                                   E4CgiParams params)
Return a value from a pickup mechanism. Pickup means, that there is a form containing an input field (E4InputField_Intf), where a method (E4MethodPickup) was defined for pickup. This means, that a symbol will be displayed and the user has the chance to click on that symbol, a window openes and values are displayed for selection. The user can click on one of those values, to overtake into the input field using the A_ReturnValue class. When the pickup is defined, it will be done using the A_FORM class instead of the normal <A;gt;-Tag (but very similar to) which extendes to optionally include other input fields (as the "calling" field) of the form as well.

Parameters:
value - the value to be returned (becomes field value of the calling field)
params - the passed througt parameters, containing some values required for the pickup mechanism.
See Also:
E4MethodPickup, A_FORM

A_ReturnValue

public A_ReturnValue A_ReturnValue(E4String value,
                                   E4CgiParams params)
Return a value from a pickup mechanism. Pickup means, that there is a form containing an input field (E4InputField_Intf), where a method (E4MethodPickup) was defined for pickup. This means, that a symbol will be displayed and the user has the chance to click on that symbol, a window openes and values are displayed for selection. The user can click on one of those values, to overtake into the input field using the A_ReturnValue class. When the pickup is defined, it will be done using the A_FORM class instead of the normal <A;gt;-Tag (but very similar to) which extendes to optionally include other input fields (as the "calling" field) of the form as well.

Parameters:
value - the value to be returned (becomes field value of the calling field)
params - the passed througt parameters, containing some values required for the pickup mechanism.
See Also:
E4MethodPickup, A_FORM

A_ReturnValue

public A_ReturnValue A_ReturnValue(long value,
                                   E4CgiParams params)
Return a value from a pickup mechanism. Pickup means, that there is a form containing an input field (E4InputField_Intf), where a method (E4MethodPickup) was defined for pickup. This means, that a symbol will be displayed and the user has the chance to click on that symbol, a window openes and values are displayed for selection. The user can click on one of those values, to overtake into the input field using the A_ReturnValue class. When the pickup is defined, it will be done using the A_FORM class instead of the normal <A;gt;-Tag (but very similar to) which extendes to optionally include other input fields (as the "calling" field) of the form as well.

Parameters:
value - the value to be returned (becomes field value of the calling field)
params - the passed througt parameters, containing some values required for the pickup mechanism.
See Also:
E4MethodPickup, A_FORM

A_ReturnValue

public A_ReturnValue A_ReturnValue(E4Long value,
                                   E4CgiParams params)
Return a value from a pickup mechanism. Pickup means, that there is a form containing an input field (E4InputField_Intf), where a method (E4MethodPickup) was defined for pickup. This means, that a symbol will be displayed and the user has the chance to click on that symbol, a window openes and values are displayed for selection. The user can click on one of those values, to overtake into the input field using the A_ReturnValue class. When the pickup is defined, it will be done using the A_FORM class instead of the normal <A;gt;-Tag (but very similar to) which extendes to optionally include other input fields (as the "calling" field) of the form as well.

Parameters:
value - the value to be returned (becomes field value of the calling field)
params - the passed througt parameters, containing some values required for the pickup mechanism.
See Also:
E4MethodPickup, A_FORM

A_Multiple

public A_Multiple A_Multiple(E4ServletImplementation_Intf servlet)

DIV

public DIV DIV()

DIV

public DIV DIV(java.lang.String id)

DIV

public DIV DIV(java.lang.String id,
               int left,
               int top,
               int width,
               int height)

DIV

public DIV DIV(java.lang.String id,
               int width,
               int height)

AjaxElement

public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
                                 E4ServletImplementation_Intf servlet,
                                 boolean debug,
                                 boolean name_scripts)
Add an E4Ajax element to the html content. This function is a bridge between static HTML and E4Ajax. E4Ajax is a method to involke dynamically content within the web environment. The e4s.html.AjaxElement is derived from the DIV element, which is identified by a unique identification. In this case, the identification is identically with the E4Ajax-Data identification which is defined at E4AjaxData_Intf.getDivId(). While the servlet is running, and the session is active, all E4AjaxData_Intf objects are hold in a session object using E4AjaxDataRepository.

Parameters:
data - the E4Ajax data interface, responsible for creating the data but certain unknown, when it will be involved (e.g. later on a user click)
servlet - the servler (E4ModuleImplementation.getServlet()
debug - creates an alert within the ajax script (development environments only!)
named_scripts - uses script names that contain the div-id if true, instead of generic names for scripts if false
Returns:
the new created and added E4Ajax element.
See Also:
AjaxElement(e4s.html.ajax.E4AjaxData_Intf,int,int,e4s.servlet.E4ServletImplementation_Intf)

AjaxElement

public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
                                 E4ServletImplementation_Intf servlet)
Add an E4Ajax element to the html content. This function is a bridge between static HTML and E4Ajax. E4Ajax is a method to involke dynamically content within the web environment. The e4s.html.AjaxElement is derived from the DIV element, which is identified by a unique identification. In this case, the identification is identically with the E4Ajax-Data identification which is defined at E4AjaxData_Intf.getDivId(). While the servlet is running, and the session is active, all E4AjaxData_Intf objects are hold in a session object using E4AjaxDataRepository.

Parameters:
data - the E4Ajax data interface, responsible for creating the data but certain unknown, when it will be involved (e.g. later on a user click)
servlet - the servler (E4ModuleImplementation.getServlet()
Returns:
the new created and added E4Ajax element.
See Also:
AjaxElement(e4s.html.ajax.E4AjaxData_Intf,int,int,e4s.servlet.E4ServletImplementation_Intf)

AjaxElement

public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
                                 int width,
                                 int height,
                                 E4ServletImplementation_Intf servlet)
Add an E4Ajax element to the html content. This function is a bridge between static HTML and E4Ajax. E4Ajax is a method to involke dynamically content within the web environment. The e4s.html.AjaxElement is derived from the DIV element, which is identified by a unique identification. In this case, the identification is identically with the E4Ajax-Data identification which is defined at E4AjaxData_Intf.getDivId(). While the servlet is running, and the session is active, all E4AjaxData_Intf objects are hold in a session object using E4AjaxDataRepository.

Parameters:
data - the E4Ajax data interface, responsible for creating the data but certain unknown, when it will be involved (e.g. later on a user click)
width - is used as width for the DIV element
height - similar to width
servlet - the servlet (E4ModuleImplementation.getServlet()
Returns:
the new created and added E4Ajax element.
See Also:
AjaxElement(e4s.html.ajax.E4AjaxData_Intf, e4s.servlet.E4ServletImplementation_Intf)

BUTTON

public BUTTON BUTTON()

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4Label_Intf label,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4FrameName frame,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4CgiParams params,
                     E4FrameName frame,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4CgiParams params,
                     E4Label_Intf label,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4CgiParams params,
                     E4Label_Intf label,
                     boolean newwindow,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method_Intf mref,
                     E4CgiParams params,
                     boolean newwindow,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method_Intf mref,
                     boolean newwindow,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Method mref,
                     E4CgiParams params,
                     E4ServletImplementation_Intf servlet)

BUTTON

public BUTTON BUTTON(E4Label_Intf label,
                     E4EventHandlerBUTTON evt)

BUTTON

public BUTTON BUTTON(java.lang.String label,
                     E4EventHandlerBUTTON evt)

BUTTON

public BUTTON BUTTON(E4EventHandlerBUTTON evt)

PRE

public PRE PRE()

IMG

public IMG IMG(java.lang.String image)

IMG

public IMG IMG(java.lang.String image,
               E4DocumentBase documentbase)

IMG

public IMG IMG(E4Method_Intf mref,
               E4ServletImplementation_Intf servlet)
Create an image on the fly, based on a E4Method_Intf

See Also:
e4s.html.IMG#IMG(e4s.html.E4Method_Intf,e4s.servlet.E4ServletImplementation_Intf}

IMG

public IMG IMG(E4String image)
Create an image, using the default [@link e4s.html.E4DocumentBase} which is E4S root.

Parameters:
image - relative or absolute path of an image

IMG

public IMG IMG(E4String image,
               E4DocumentBase documentbase)
Create an image, using the specified DocuumentBase.

Parameters:
image - relative or absolute path of an image

IMG

public IMG IMG(E4StringImage image)
Create an image, using the default [@link e4s.html.E4DocumentBase} which is E4S root.

Parameters:
image - relative or absolute path of an image

IMG

public IMG IMG(E4StringImage image,
               E4DocumentBase documentbase)

IMG

public IMG IMG(IMG image)

TABLE

public TABLE TABLE()

TABLE

public TABLE TABLE(TABLE template)
Defines a <TABLE> tag.

Parameters:
template - a defined TABLE object, it might be empty or not. Any data will not be copied to the new created instance of TABLE, except definition parameters.
Returns:
the s object which can be used to build up TR and furthermore TD objects.

FullSizeE4Message

public void FullSizeE4Message(java.lang.String message,
                              E4Color bgcolor)
Draw a full size table (WIDTH=100% HEIGHT=100%) using the defined background color and print message vertically and horizontally centered.

Parameters:
bgcolor - background color for the table
message - text to display

BoxRoundCorners

public E4BoxRoundCorners BoxRoundCorners(java.lang.String caption)
Construct an E4BoxRoundCorners.

Parameters:
caption - the caption for the E4BoxRoundCorners created.
See Also:
BoxRoundCorners(), BoxRoundCorners(E4Label_Intf)

BoxRoundCorners

public E4BoxRoundCorners BoxRoundCorners(E4Label_Intf caption)
Construct an E4BoxRoundCorners.

Parameters:
caption - the caption for the E4BoxRoundCorners created.
See Also:
BoxRoundCorners(String), BoxRoundCorners()

BoxRoundCorners

public E4BoxRoundCorners BoxRoundCorners()
Construct an E4BoxRoundCorners.

See Also:
BoxRoundCorners(String), BoxRoundCorners(E4Label_Intf)

Box

public E4Box Box(java.lang.String caption)
Construct an E4Box.

Parameters:
caption - the caption for the E4Box created.
See Also:
Box(), Box(E4Label_Intf)

Box

public E4Box Box(E4Label_Intf caption)
Construct an E4Box.

Parameters:
caption - the caption for the E4Box created.
See Also:
Box(String), Box()

Box

public E4Box Box()
Construct an E4Box.

See Also:
Box(String), Box(E4Label_Intf)

Message

public E4Message Message(int state,
                         java.lang.String txt)
Construct a E4Message element to display a message.

Parameters:
state - the display-state for this message (E4Message.CAPTION which is the default, E4Message.ERROR, E4Message.INFO).
txt - the message to be displayed

Message

public E4Message Message(int state,
                         E4Label_Intf txt)
Construct a E4Message element to display a message.

Parameters:
state - the display-state for this message (E4Message.CAPTION which is the default, E4Message.ERROR, E4Message.INFO).
txt - the message to be displayed

Message

public E4Message Message(E4Permission_Intf permission)
Construct a E4Message element to display a message, that is a standard text "permission XY not granted.".

Parameters:
permission - the permission to be used in the message

Message

public E4Message Message(java.lang.String txt)
Construct a E4Message element to display a message, using the E4Message.CAPTION mode for display.

Parameters:
txt - the message to be displayed

Message

public E4Message Message(E4Label_Intf txt)
Construct a E4Message element to display a message, using the E4Message.CAPTION mode for display.

Parameters:
txt - the message to be displayed

translate

public void translate(java.lang.String s)
Print out some text that is intended for translation (localization). The use of this function is intended for application development.

Parameters:
s - the text to be printed out
See Also:
print(String), print(E4Label_Intf), println(E4Label_Intf)

print

public void print(E4Label_Intf s)
Print out some text that is intended for translation (localization).

Parameters:
s - the text to be printed out
See Also:
print(String), translate(String), println(E4Label_Intf)

print

public void print(E4LabelSys label)
Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

Parameters:
element - the element to be added
See Also:
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

print

public void print(E4LabelApp label)
Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

Parameters:
element - the element to be added
See Also:
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

print

public void print(E4LabelNone label)
Adds an element to the internal Vector, same as E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

Parameters:
element - the element to be added
See Also:
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)

println

public void println(E4Label_Intf s)
Print out some text that is intended for translation (localization), add an line break (CRLF).

Parameters:
s - the text to be printed out
See Also:
print(String), translate(String), println(E4Label_Intf)

translate_Sys

public void translate_Sys(java.lang.String s)
Add a translation element based on E4LabelSys. This function is intended to be used only in the core system context of the e4s, that means if you are building an application based on the e4s then you should use translate(String) instead.

Parameters:
s - the text to be printed out
See Also:
translate(String), println(String), print(float)

strike

public void strike(java.lang.String txt,
                   boolean mode)

Hint

public E4Hint Hint(E4HintID id,
                   E4ServletImplementation_Intf servlet)
            throws E4DBException
Create a hint and add it to the element.

Parameters:
id - the identification for the hint
servlet - a valid servlet context
Returns:
the new created hint
Throws:
E4DBException
See Also:
E4HintID, T_E4S_HINT_Sel, T_E4S_HINT_READ_Sel, E4ModuleHintEdit, E4ServletImplementation.sessionCanEditHints()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com