|
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
e4s.html.E4HtmlContentElementPersistant
e4s.html.BODY
public class BODY
Main <BODY>-Element of a webpage. The main content of the page can be created based on the BODY tag. Normally, you use html.BODY() to create the body tag, from whereas you can build on more html elements.
| Example_Button.java |
HTML.BODY(),
E4EventHandlerBODY,
E4SubEditingBODY,
A_Popup.prepare(e4s.html.BODY)| Field Summary | |
|---|---|
static STYLE_Name |
DEFAULTSTYLE
|
static java.lang.String |
HTML_TAG
|
| Fields inherited from class e4s.html.E4HtmlContentElement |
|---|
BOOL_STR_FALSE, BOOL_STR_TRUE |
| 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 | |
|---|---|
BODY()
|
|
BODY(E4ID parent_id)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
A_Name |
A_Name(char name)
Construct an anchor tag for a name. |
A_Name |
A_Name(E4Long name)
Construct an anchor tag for a name. |
A_Name |
A_Name(E4String name)
Construct an anchor tag for a name. |
A_Name |
A_Name(long name)
Construct an anchor tag for a name. |
A_Name |
A_Name(java.lang.String name)
Construct an anchor tag for a name. |
void |
addKeepAliveScript(E4ServletImplementation_Intf servlet)
Add a "keep alive" script to this frameset. |
E4BlockMenuElement |
BlockMenuElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
|
E4EventHandlerBODY |
createEventHandler(int event_id)
Create an E4EventHandlerBODY object by a generic name and add it to the internal list. |
E4EventHandlerBODY |
createEventHandler(int event_id,
java.lang.String name)
Create an E4EventHandlerBODY object and add it to the internal list. |
static void |
defineNoScript(E4NoScript noscript)
Define a default E4NoScript element to be used in each BODY. |
E4DropdownMenu |
E4DropDownMenu()
|
E4DropdownMenu |
E4DropDownMenu(java.lang.String div_id)
|
java.lang.StringBuffer |
eventHandlers()
Generate a string with the events in the form: onload="x();y();return false;" onunload="z();return false;" |
E4Fieldset |
FIELDSET()
|
E4FieldsetTabbed |
FieldsetTabbed()
|
E4FieldsetTable |
FieldsetTable()
|
FORM |
FORM()
Defines a <FORM> tag, uses "DEFAULT" as form name |
FORM |
FORM(E4Method mref)
Defines a <FORM> tag. |
FORM |
FORM(java.lang.String name)
Defines a <FORM> tag. |
FORM |
FORM(java.lang.String name,
E4Method mref)
Defines a <FORM> tag. |
void |
FullSizeE4Message(java.lang.String message,
E4Color bgcolor,
boolean closewindow)
Draw a full size table (WIDTH=100% HEIGHT=100%) using the defined background color and print message vertically and horizontally centered. |
E4Color |
getBgColor()
Get the background color. |
IMG |
getBgImage()
Get the background image. |
E4HashEventHandler |
getEventHandlers()
Get the event handlers. |
IFRAME |
IFRAME(E4Method mref)
Defines a <IFRAME> tag. |
IFRAME |
IFRAME(E4Method mref,
E4CgiParams params)
Defines a <IFRAME> tag. |
IFRAME |
IFRAME(java.lang.String url)
Defines a <IFRAME> tag. |
E4MenuElement |
MenuElement(E4Menu menu)
Deprecated. - applobject is required for the permission handling |
E4MenuElement |
MenuElement(E4Menu menu,
E4ApplObj_Intf applobj)
|
E4MenuElement |
MenuElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
|
E4MethodInlineElement |
MethodInlineElement(E4Method mref)
|
E4MethodInlineElement |
MethodInlineElement(E4Method mref,
E4CgiParams params)
|
void |
NOSCIPT()
Includes a check in the header of the body tag using a |
void |
onLoad_Print()
Create an E4EventHandlerBODY of type E4EventHandlerBODY.ehPrint() by a generic name and add it to the internal list. |
E4EventHandlerBODY |
onLoad()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. |
void |
onLoad(E4Method mref,
E4ServletImplementation_Intf servlet)
Calls a method when the body becomes loaded. |
E4EventHandlerBODY |
onLoad(java.lang.String name)
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. |
E4EventHandlerBODY |
onResize()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list. |
E4EventHandlerBODY |
onUnLoad()
Create an E4EventHandlerBODY of type E4EventHandlerBODY._EVENT_ONUNLOAD by a generic name and add it to the internal list. |
void |
onUnLoad(E4Method mref,
E4ServletImplementation_Intf servlet)
Calls a method when the body becomes unloaded. |
void |
redirectLocation(E4String http_url_reference,
E4ServletImplementation_Intf servlet)
Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address. |
void |
redirectLocation(java.lang.String http_url_reference,
E4ServletImplementation_Intf servlet)
Redirects the content of the BODY to the specified URL address, leaving the E4S framework to any outside address. |
void |
setBgcolor(E4Color bgcolor)
Deprecated. |
void |
setBgColor(E4Color bgcolor)
Set the background color. |
void |
setBgImage(IMG bgimg)
Set the background image. |
static void |
setCodeBeforeClosing(java.lang.StringBuffer buf)
Enables to integrate code before closing of the body-tag. |
void |
setEventHandler(E4EventHandlerBODY handler)
Define an input handler for the BODY tag. |
void |
setStatusBar(java.lang.String statusbar)
Set the browser's status bar text content. |
void |
setSTYLE(CLASS_Name class_name)
|
E4SortedListElement |
SortedListElement(E4SortedList list)
|
E4SortedListElement |
SortedListElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
|
void |
toHtml_without_BodyTag(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
|
void |
toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
Create the HTML output for this element. |
E4TreeElement |
TreeElement(E4Tree tree)
|
E4TreeElement |
TreeElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
|
| Methods inherited from class e4s.html.E4HtmlContentElementPersistant |
|---|
preventFromRemoving, preventFromRemoving, removeAll, toDebug |
| 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, 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, validate |
| Field Detail |
|---|
public static final java.lang.String HTML_TAG
public static final STYLE_Name DEFAULTSTYLE
| Constructor Detail |
|---|
public BODY(E4ID parent_id)
public BODY()
| Method Detail |
|---|
public void setSTYLE(CLASS_Name class_name)
public FORM FORM(java.lang.String name,
E4Method mref)
name - the name of the formmref - the method associated (FORM.setAction(e4s.html.E4Method))
public FORM FORM()
public FORM FORM(java.lang.String name)
name - the name of the form
public FORM FORM(E4Method mref)
mref - the method associated (FORM.setAction(e4s.html.E4Method))
public IFRAME IFRAME(java.lang.String url)
url - the web page to be displayed
IFRAME(E4Method,E4CgiParams),
IFRAME(E4Method)public IFRAME IFRAME(E4Method mref)
mref - the method to be called
IFRAME(E4Method,E4CgiParams),
IFRAME(String)
public IFRAME IFRAME(E4Method mref,
E4CgiParams params)
mref - the method to be calledparams - additional parameters to the method call
IFRAME(E4Method),
IFRAME(String)public E4FieldsetTabbed FieldsetTabbed()
public E4FieldsetTable FieldsetTable()
public E4Fieldset FIELDSET()
public E4TreeElement TreeElement(E4Tree tree)
public E4TreeElement TreeElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
public E4BlockMenuElement BlockMenuElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
public E4MenuElement MenuElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
public E4MenuElement MenuElement(E4Menu menu,
E4ApplObj_Intf applobj)
public E4MenuElement MenuElement(E4Menu menu)
public E4SortedListElement SortedListElement(E4SortedList list)
public E4SortedListElement SortedListElement(java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
public E4MethodInlineElement MethodInlineElement(E4Method mref)
public E4MethodInlineElement MethodInlineElement(E4Method mref,
E4CgiParams params)
public void setBgcolor(E4Color bgcolor)
setBgColor(e4s.html.E4Color)public void setBgColor(E4Color bgcolor)
bgcolor - the color to be set (null indicates, that no color shall be set)getBgColor(),
setBgImage(e4s.html.IMG)public E4Color getBgColor()
setBgColor(e4s.html.E4Color)public void setBgImage(IMG bgimg)
bgimg - an image to be used as background image (null indicates, that no image shall be set)setBgColor(e4s.html.E4Color),
getBgImage()public IMG getBgImage()
setBgImage(e4s.html.IMG)public void setEventHandler(E4EventHandlerBODY handler)
handler - the event handler to be set.createEventHandler(int)public E4EventHandlerBODY createEventHandler(int event_id)
setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
event_id - an id for the event (such as onload), defined in class E4EventHandlerBODY.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
E4EventHandlerBODY._EVENT_ONRESIZE,
createEventHandler(int,String),
onLoad()public void onLoad_Print()
E4EventHandlerBODY.ehPrint() by a generic name and add it to the internal list.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
createEventHandler(int,String)public E4EventHandlerBODY onLoad()
E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
createEventHandler(int,String),
onUnLoad()public E4EventHandlerBODY onLoad(java.lang.String name)
E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
createEventHandler(int,String),
onUnLoad()public E4EventHandlerBODY onResize()
E4EventHandlerBODY._EVENT_ONLOAD by a generic name and add it to the internal list.
After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
createEventHandler(int,String),
onUnLoad()public E4EventHandlerBODY onUnLoad()
E4EventHandlerBODY._EVENT_ONUNLOAD by a generic name and add it to the internal list.
After creation, a call to setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
setEventHandler(e4s.html.E4EventHandlerBODY),
E4EventHandlerBODY._EVENT_ONLOAD,
createEventHandler(int,String)
public void onLoad(E4Method mref,
E4ServletImplementation_Intf servlet)
E4EventHandlerFRAMESET._EVENT_ONUNLOAD by a generic name,
add it to the internal list and call the specified method when the frameset becomes unloaded.
onLoad(),
onUnLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf)
public void onUnLoad(E4Method mref,
E4ServletImplementation_Intf servlet)
E4EventHandlerFRAMESET._EVENT_ONUNLOAD by a generic name,
add it to the internal list and call the specified method when the frameset becomes unloaded.
onUnLoad(),
onLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf),
FRAMESET.onUnLoad(e4s.html.E4Method,e4s.servlet.E4ServletImplementation_Intf)
public E4EventHandlerBODY createEventHandler(int event_id,
java.lang.String name)
setEventHandler(e4s.html.E4EventHandlerBODY) is performed.
event_id - an id for the event (such as onload), defined in class E4EventHandlerBODY.name - name of the E4JavaScript function that is "behind" the E4EventHandlerBODY.
setEventHandler(e4s.html.E4EventHandlerBODY),
createEventHandler(int),
E4EventHandlerBODY._EVENT_ONUNLOAD,
E4EventHandlerBODY._EVENT_ONLOAD,
E4EventHandlerBODY._EVENT_ONRESIZE,
onLoad(),
onUnLoad()
public void toHtml_without_BodyTag(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
servlet - is the servlet context which can be retrieved using the E4ModuleImplementation.getServlet().
java.lang.Exception
public void toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
E4HtmlElement_IntfE4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) function to generate output of those
objects which becomes appended. Normally, there is no need to call this function anyway,
and this also might result in side effects of too-early relasing of objects in some cases.
This function is called by E4ServletImplementation_Intf.write(e4s.html.E4HtmlElement)
on the top level HTML element (common this is a HTML
or BODY element) and branches down to all child elements.
toHtml in interface E4HtmlElement_IntftoHtml in class E4HtmlElementGeneralservlet - is the servlet context which can be retrieved using the E4ModuleImplementation.getServlet().
java.lang.Exceptionpublic void NOSCIPT()
defineNoScript(e4s.html.E4NoScript),
E4NoScriptpublic java.lang.StringBuffer eventHandlers()
E4HashEventHandler.eventHandlers(),
getEventHandlers()public E4HashEventHandler getEventHandlers()
public void FullSizeE4Message(java.lang.String message,
E4Color bgcolor,
boolean closewindow)
bgcolor - background color for the tablemessage - text to display
public void redirectLocation(java.lang.String http_url_reference,
E4ServletImplementation_Intf servlet)
http_url_reference - the new page to be displayed
public void redirectLocation(E4String http_url_reference,
E4ServletImplementation_Intf servlet)
http_url_reference - the new page to be displayedpublic void setStatusBar(java.lang.String statusbar)
statusbar - text to be displayedpublic A_Name A_Name(java.lang.String name)
name - the name of the tag, resulting in: <A NAME="name">..</A>
A_Reference,
E4HtmlContentElement.A_Reference(String)public A_Name A_Name(E4String name)
name - the name of the tag, resulting in: <A NAME="name">..</A>
A_Reference,
E4HtmlContentElement.A_Reference(E4String)public A_Name A_Name(long name)
name - the name of the tag, resulting in: <A NAME="name">..</A>
A_Reference,
E4HtmlContentElement.A_Reference(long)public A_Name A_Name(E4Long name)
name - the name of the tag, resulting in: <A NAME="name">..</A>
A_Reference,
E4HtmlContentElement.A_Reference(e4s.util.E4Long)public A_Name A_Name(char name)
name - the name of the tag, resulting in: <A NAME="name">..</A>
A_Reference,
E4HtmlContentElement.A_Reference(char)public static void defineNoScript(E4NoScript noscript)
noscript - a E4NoScript tag that is used on each BODY tag, a value
or null turns off this mechanism.public void addKeepAliveScript(E4ServletImplementation_Intf servlet)
servlet - a valid servlet contextE4ModuleFrameSpacer.keepAlive,
E4ServletImplementation_Servlet.setMaxInactiveInterval(int),
e4s.html.FRAMESET#addKeepAliveScript(servlet.E4ServletImplementation_Servlet)public static void setCodeBeforeClosing(java.lang.StringBuffer buf)
buf - if not null, this content will be included before using the body-close tagpublic E4DropdownMenu E4DropDownMenu()
public E4DropdownMenu E4DropDownMenu(java.lang.String div_id)
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 | ||||||||