|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.E4HtmlObject
e4s.html.E4HtmlElementGeneral
e4s.html.E4HtmlElement
e4s.html.E4HtmlContentElement
public class E4HtmlContentElement
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).
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.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 |
|---|
public static java.lang.String BOOL_STR_TRUE
println(boolean),
print(boolean),
BOOL_STR_FALSEpublic static java.lang.String BOOL_STR_FALSE
BOOL_STR_TRUE| Constructor Detail |
|---|
public E4HtmlContentElement()
public E4HtmlContentElement(E4HtmlContentElement e)
public E4HtmlContentElement(E4ID parent_id)
| Method Detail |
|---|
public void NBSP()
E4Object.NBSPpublic void print(java.lang.String s)
val - the text to be printed outprintln(String),
print(e4s.util.E4String)public void print(E4StringBufferHtml buf)
s - the text to be printed outprint(String),
println(String)public void print(java.lang.StringBuffer s)
s - the text to be printed outprint(String),
println(String)public void println(java.lang.String s)
s - the text to be printed outprint(String),
println(e4s.util.E4String)public void print(int val)
val - the text to be printed outprint(String),
println(int)public void println(int val)
val - the text to be printed outprintln(String),
print(int)public void print(float val)
val - the text to be printed outprint(String),
println(float)public void println(float val)
val - the text to be printed outprintln(String),
print(float)public void print(boolean val)
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.print(String),
println(boolean),
BOOL_STR_TRUE,
BOOL_STR_FALSEpublic void println(boolean val)
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.println(String),
print(boolean),
BOOL_STR_TRUE,
BOOL_STR_FALSEpublic void print(long val)
val - the text to be printed outprintln(long),
print(String)public void println(long val)
val - the text to be printed outprintln(String),
print(long)public void print(char ch)
ch - the text to be printed outprintln(String),
print(String)
public void print(java.util.Date date,
java.text.SimpleDateFormat df)
date - the date to be printeddf - a dateformat used for formatting the date valueprint(java.util.Date, String),
print(java.util.Date)
public void print(java.util.Date date,
java.lang.String df)
date - the date to be printeddf - a dateformat used for formatting the date valueprint(java.util.Date, SimpleDateFormat),
print(java.util.Date)public void print(java.util.Date date)
date - the date to be printedprint(java.util.Date, String),
print(java.util.Date)public void print(E4Long lng)
str - the text to be printed outprint(long)public void print(E4String str)
str - the text to be printed outprint(String),
println(String),
println(e4s.util.E4String)public void println(E4String str)
str - the text to be printed outprint(e4s.util.E4String),
println(String)public void trace()
trace(String),
trace(long),
trace(int),
trace(Object),
trace(e4s.util.E4String),
rem(String)public void trace(java.lang.String s)
s - the remarktrace(),
trace(long),
trace(int),
trace(Object),
trace(e4s.util.E4String),
rem(String)public void trace(E4String s)
s - the remarktrace(),
trace(String),
trace(long),
trace(int),
trace(Object),
rem(e4s.util.E4String)public void trace(long lng)
lng - the remarktrace(String),
trace(),
trace(int),
trace(Object),
rem(long)public void trace(int i)
i - the remarktrace(String),
trace(),
trace(long),
trace(Object),
rem(int)public void trace(java.lang.Object o)
o - the remark, a toString() function si recommendedtrace(),
trace(String),
trace(long),
trace(int),
trace(Object),
trace(e4s.util.E4String),
rem(Throwable),
rem(Object)public void rem(java.lang.String s)
s - the remarkrem(e4s.util.E4String),
rem(long),
rem(int),
rem(Object),
rem(Throwable),
trace()public void rem(E4String s)
s - the remarkrem(String),
rem(long),
rem(int),
rem(Object),
rem(Throwable),
trace()public void rem(long l)
l - the remarkrem(String),
rem(e4s.util.E4String),
rem(int),
rem(Object),
rem(Throwable),
trace()public void rem(int i)
i - the remarkrem(String),
rem(e4s.util.E4String),
rem(long),
rem(Object),
rem(Throwable),
trace()public void rem(java.lang.Object obj)
obj - the remark, a toString() function is recommendedrem(String),
rem(e4s.util.E4String),
rem(long),
rem(int),
rem(Throwable),
trace()public void rem(java.lang.Throwable t)
t - the remarkrem(String),
rem(e4s.util.E4String),
rem(long),
rem(int),
rem(Object),
trace()public E4SystemError SystemError(java.lang.String errormsg)
public E4SystemError SystemError(java.lang.Throwable t)
public E4SystemError SystemError(java.lang.Throwable t,
E4MethodCallTrace mtrace)
public E4SystemError SystemError(java.lang.Throwable t,
java.lang.String detailed_text)
public void BR()
public P P()
public void P_NBSP()
E4Object.NBSP and again <P>
which causes a space line.
public void B(boolean mode)
mode - true = <B%gt;, false = </B%gt;public SPAN SPAN()
public B B()
public Hx H1()
public Hx H2()
public Hx H3()
public Hx H4()
public SMALL SMALL()
public BIG BIG()
public STRIKE STRIKE()
DEL()public DEL DEL()
public INS INS()
public I I()
public NOBR NOBR()
public FONT FONT(CLASS_Name style)
public FONT FONT()
public FONT FONT(java.lang.String face,
E4Color color,
int size)
public FONT FONT(java.lang.String face,
int size,
E4Color color)
public FONT FONT(E4Color color,
java.lang.String face,
int size)
public FONT FONT(E4Color color,
int size,
java.lang.String face)
public FONT FONT(java.lang.String face,
E4Color color)
public FONT FONT(E4Color color,
java.lang.String face)
public FONT FONT(java.lang.String face)
public FONT FONT(java.lang.String face,
int size)
public FONT FONT(int size,
java.lang.String face)
public FONT FONT(E4Color color,
int size)
public FONT FONT(int size,
E4Color color)
public FONT FONT(E4Color color)
public FONT FONT(FONT font)
public void I(boolean mode)
mode - true = <I%gt;, false = </I%gt;public void U(boolean mode)
mode - true = <U%gt;, false = </U%gt;public HR HR()
public UL UL()
public CENTER CENTER()
public A A(E4Method functionname)
public A A(java.lang.String question,
E4Method functionname)
public A A(E4Label_Intf question,
E4Method functionname)
public A A(E4MethodPickup functionname)
public A A(E4EventHandlerA handler)
public A A(java.lang.String url)
public A A(E4String url)
public A_Email A_Email(java.lang.String email)
public A_Email A_Email(E4String email)
public A_Popup A_Popup(E4Method mref,
E4HtmlElement element,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
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!
mref - a method that will be executed on clickelement - an element to be rendered for output on the dynamic overlay window (use small
and less elements only)servlet - the servlet context
java.lang.ExceptionA_Popup(e4s.html.A_Popup),
A_Popup.prepare(e4s.html.BODY)
public A_Popup A_Popup(A_Popup template)
throws java.lang.Exception
java.lang.Exception
public A_Popup A_Popup(E4HtmlElement element,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
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!
element - an element to be rendered for output on the dynamic overlay window (use small
and less elements only)servlet - the servlet context
java.lang.ExceptionA_Popup(e4s.html.E4Method, e4s.html.E4HtmlElement, e4s.servlet.E4ServletImplementation_Intf),
A_Popup.prepare(e4s.html.BODY)
public A_Popup A_Popup(E4JavaScript formatter,
java.lang.String[] params)
throws java.lang.Exception
#JS_NAME_WRITE_TRANSPARENT or #JS_NAME_WRITE_NON_TRANSPARENT.
formatter - a JavaScriptparams - can be null or an array of values passed to formatter
java.lang.Exception
public A_Popup A_Popup(E4Method mref,
java.lang.String element)
throws java.lang.Exception
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!
mref - a method that will be executed on clickelement - a ready rendered element for output on the dynamic overlay window (use small
and less text only, avoid special characters, Scripts, etc..)
java.lang.ExceptionA_Popup(String),
A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf),
A_Popup.prepare(e4s.html.BODY)
public A_Popup A_Popup(java.lang.String element)
throws java.lang.Exception
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!
element - a ready rendered element for output on the dynamic overlay window (use small
and less text only, avoid special characters, Scripts, etc..)
java.lang.ExceptionA_Popup(e4s.html.E4Method,String),
A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf),
A_Popup.prepare(e4s.html.BODY)
public A_Popup A_Popup(java.lang.String element,
boolean transparent)
throws java.lang.Exception
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!
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
java.lang.ExceptionA_Popup(e4s.html.E4Method,String),
A_Popup(e4s.html.E4Method,e4s.html.E4HtmlElement,e4s.servlet.E4ServletImplementation_Intf),
A_Popup.prepare(e4s.html.BODY)public A_Reference A_Reference(java.lang.String name)
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
A_Name,
BODY.A_Name(String),
A_Reference(long),
A_Reference(char),
A_Reference(e4s.util.E4String),
A_Reference(e4s.util.E4Long)public A_Reference A_Reference(E4String name)
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
A_Name,
BODY.A_Name(e4s.util.E4String),
A_Reference(String),
A_Reference(e4s.util.E4Long),
A_Reference(long),
A_Reference(char)public A_Reference A_Reference(long name)
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
A_Name,
BODY.A_Name(long),
A_Reference(String),
A_Reference(e4s.util.E4String),
A_Reference(e4s.util.E4Long),
A_Reference(char)public A_Reference A_Reference(E4Long name)
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
A_Name,
BODY.A_Name(e4s.util.E4Long),
A_Reference(String),
A_Reference(e4s.util.E4String),
A_Reference(long),
A_Reference(char)public A_Reference A_Reference(char name)
name - the name of the tag, resulting in: <A HREF="#name">..</A> the '#' character as this will be appended
A_Name,
BODY.A_Name(char),
A_Reference(String),
A_Reference(e4s.util.E4String),
A_Reference(e4s.util.E4Long),
A_Reference(long)
public A_ReturnValue A_ReturnValue(java.lang.String value,
E4CgiParams params)
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.
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.E4MethodPickup,
A_FORM
public A_ReturnValue A_ReturnValue(E4String value,
E4CgiParams params)
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.
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.E4MethodPickup,
A_FORM
public A_ReturnValue A_ReturnValue(long value,
E4CgiParams params)
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.
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.E4MethodPickup,
A_FORM
public A_ReturnValue A_ReturnValue(E4Long value,
E4CgiParams params)
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.
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.E4MethodPickup,
A_FORMpublic A_Multiple A_Multiple(E4ServletImplementation_Intf servlet)
public DIV DIV()
public DIV DIV(java.lang.String id)
public DIV DIV(java.lang.String id,
int left,
int top,
int width,
int height)
public DIV DIV(java.lang.String id,
int width,
int height)
public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
E4ServletImplementation_Intf servlet,
boolean debug,
boolean name_scripts)
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.
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
AjaxElement(e4s.html.ajax.E4AjaxData_Intf,int,int,e4s.servlet.E4ServletImplementation_Intf)
public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
E4ServletImplementation_Intf servlet)
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.
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()
AjaxElement(e4s.html.ajax.E4AjaxData_Intf,int,int,e4s.servlet.E4ServletImplementation_Intf)
public E4AjaxElement AjaxElement(E4AjaxData_Intf data,
int width,
int height,
E4ServletImplementation_Intf servlet)
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.
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 elementheight - similar to widthservlet - the servlet (E4ModuleImplementation.getServlet()
AjaxElement(e4s.html.ajax.E4AjaxData_Intf, e4s.servlet.E4ServletImplementation_Intf)public BUTTON BUTTON()
public BUTTON BUTTON(E4Method mref,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4Label_Intf label,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4FrameName frame,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4CgiParams params,
E4FrameName frame,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4CgiParams params,
E4Label_Intf label,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4CgiParams params,
E4Label_Intf label,
boolean newwindow,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method_Intf mref,
E4CgiParams params,
boolean newwindow,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method_Intf mref,
boolean newwindow,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Method mref,
E4CgiParams params,
E4ServletImplementation_Intf servlet)
public BUTTON BUTTON(E4Label_Intf label,
E4EventHandlerBUTTON evt)
public BUTTON BUTTON(java.lang.String label,
E4EventHandlerBUTTON evt)
public BUTTON BUTTON(E4EventHandlerBUTTON evt)
public PRE PRE()
public IMG IMG(java.lang.String image)
public IMG IMG(java.lang.String image,
E4DocumentBase documentbase)
public IMG IMG(E4Method_Intf mref,
E4ServletImplementation_Intf servlet)
E4Method_Intf
e4s.html.IMG#IMG(e4s.html.E4Method_Intf,e4s.servlet.E4ServletImplementation_Intf}public IMG IMG(E4String image)
image - relative or absolute path of an image
public IMG IMG(E4String image,
E4DocumentBase documentbase)
image - relative or absolute path of an imagepublic IMG IMG(E4StringImage image)
image - relative or absolute path of an image
public IMG IMG(E4StringImage image,
E4DocumentBase documentbase)
public IMG IMG(IMG image)
public TABLE TABLE()
public TABLE TABLE(TABLE template)
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.
TR and furthermore TD objects.
public void FullSizeE4Message(java.lang.String message,
E4Color bgcolor)
bgcolor - background color for the tablemessage - text to displaypublic E4BoxRoundCorners BoxRoundCorners(java.lang.String caption)
E4BoxRoundCorners.
caption - the caption for the E4BoxRoundCorners created.BoxRoundCorners(),
BoxRoundCorners(E4Label_Intf)public E4BoxRoundCorners BoxRoundCorners(E4Label_Intf caption)
E4BoxRoundCorners.
caption - the caption for the E4BoxRoundCorners created.BoxRoundCorners(String),
BoxRoundCorners()public E4BoxRoundCorners BoxRoundCorners()
E4BoxRoundCorners.
BoxRoundCorners(String),
BoxRoundCorners(E4Label_Intf)public E4Box Box(java.lang.String caption)
E4Box.
caption - the caption for the E4Box created.Box(),
Box(E4Label_Intf)public E4Box Box(E4Label_Intf caption)
E4Box.
caption - the caption for the E4Box created.Box(String),
Box()public E4Box Box()
E4Box.
Box(String),
Box(E4Label_Intf)
public E4Message Message(int state,
java.lang.String txt)
E4Message element to display a message.
state - the display-state for this message (E4Message.CAPTION which is the default,
E4Message.ERROR, E4Message.INFO).txt - the message to be displayed
public E4Message Message(int state,
E4Label_Intf txt)
E4Message element to display a message.
state - the display-state for this message (E4Message.CAPTION which is the default,
E4Message.ERROR, E4Message.INFO).txt - the message to be displayedpublic E4Message Message(E4Permission_Intf permission)
E4Message element to display a message, that is
a standard text "permission XY not granted.".
permission - the permission to be used in the messagepublic E4Message Message(java.lang.String txt)
E4Message element to display a message, using
the E4Message.CAPTION mode for display.
txt - the message to be displayedpublic E4Message Message(E4Label_Intf txt)
E4Message element to display a message, using
the E4Message.CAPTION mode for display.
txt - the message to be displayedpublic void translate(java.lang.String s)
s - the text to be printed outprint(String),
print(E4Label_Intf),
println(E4Label_Intf)public void print(E4Label_Intf s)
s - the text to be printed outprint(String),
translate(String),
println(E4Label_Intf)public void print(E4LabelSys label)
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
element - the element to be addedE4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)public void print(E4LabelApp label)
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
element - the element to be addedE4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)public void print(E4LabelNone label)
E4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)
element - the element to be addedE4HtmlElement.addElement(e4s.html.E4HtmlElement_Intf)public void println(E4Label_Intf s)
s - the text to be printed outprint(String),
translate(String),
println(E4Label_Intf)public void translate_Sys(java.lang.String s)
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.
s - the text to be printed outtranslate(String),
println(String),
print(float)
public void strike(java.lang.String txt,
boolean mode)
public E4Hint Hint(E4HintID id,
E4ServletImplementation_Intf servlet)
throws E4DBException
id - the identification for the hintservlet - a valid servlet context
E4DBExceptionE4HintID,
T_E4S_HINT_Sel,
T_E4S_HINT_READ_Sel,
E4ModuleHintEdit,
E4ServletImplementation.sessionCanEditHints()public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||