www.element4solution.com

e4s.html
Class E4AjaxElement

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
                      extended by e4s.html.DIV
                          extended by e4s.html.ajax.E4AjaxElementGeneral
                              extended by e4s.html.E4AjaxElement
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
E4InlineEdit

public class E4AjaxElement
extends E4AjaxElementGeneral
implements E4HtmlElement_Intf


Field Summary
 
Fields inherited from class e4s.html.ajax.E4AjaxElementGeneral
JS_XML_HTTP_REQUEST, m_debug, m_id, m_js_AEP_callback_after, m_js_AEP_callback_before, m_url, READY_STATE_COMPLETE
 
Fields inherited from class e4s.html.DIV
DEFAULTSTYLE, 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
  E4AjaxElement(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet)
          Create an E4AjaxElement.
  E4AjaxElement(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, boolean debug)
          Create an E4AjaxElement.
  E4AjaxElement(E4AjaxData_Intf data, E4ServletImplementation_Intf servlet, boolean debug, boolean named_scripts)
          Create an E4AjaxElement.
  E4AjaxElement(E4AjaxData_Intf data, int width, int height, E4ServletImplementation_Intf servlet)
          Create an E4AjaxElement.
  E4AjaxElement(E4AjaxData_Intf data, int width, int height, E4ServletImplementation_Intf servlet, boolean debug)
          Create an E4AjaxElement.
protected E4AjaxElement(java.lang.String div_id)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
protected  void updateOnReadyReqCore(E4JavaScript js)
           
 
Methods inherited from class e4s.html.ajax.E4AjaxElementGeneral
collectScripts, collectStylesForEditing, collectTranslationsForEditing, getDebug, getJsCallMethod, getMethodDispacher, getOnChange, getOnClick, getOnClick, getOnReadyRequest, getOnTimer, getOnTimer, getSendReqScript, getSendReqScriptGeneric, getShowOnLoad, getTimeout, prepare, setAEPCallbackScript_After, setAEPCallbackScript_After, setAEPCallbackScript_Before, setAEPCallbackScript_Before, setData, setData, setMethodDispacher, setNameScripts, setShowOnLoad, setTimeout, toHtml, toString, updateOnReadyReq, validate
 
Methods inherited from class e4s.html.DIV
eventHandlers, getAlign, getDivId, getStyleHide, hide, jsClear, jsHide, jsIsOpen, jsShow, jsWrite, onMouseOut, onMouseOver, setAlign, setEventHandler, setSTYLE, setStyle, setStyleHide, setTitle, show, toHtml
 
Methods inherited from class e4s.html.E4HtmlContentElement
A_Email, A_Email, A_Multiple, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Reference, A_Reference, A_Reference, A_Reference, A_Reference, A_ReturnValue, A_ReturnValue, A_ReturnValue, A_ReturnValue, A, A, A, A, A, A, A, AjaxElement, AjaxElement, AjaxElement, B, B, BIG, Box, Box, Box, BoxRoundCorners, BoxRoundCorners, BoxRoundCorners, BR, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, CENTER, DEL, DIV, DIV, DIV, DIV, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FullSizeE4Message, H1, H2, H3, H4, Hint, HR, I, I, IMG, IMG, IMG, IMG, IMG, IMG, IMG, IMG, INS, Message, Message, Message, Message, Message, NBSP, NOBR, P_NBSP, P, PRE, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, rem, rem, rem, rem, rem, rem, SMALL, SPAN, STRIKE, strike, SystemError, SystemError, SystemError, SystemError, TABLE, TABLE, trace, trace, trace, trace, trace, trace, translate_Sys, translate, U, UL
 
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, collectStylesForEditing, collectStylesForEditing, 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
 
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, 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
 

Constructor Detail

E4AjaxElement

protected E4AjaxElement(java.lang.String div_id)

E4AjaxElement

public E4AjaxElement(E4AjaxData_Intf data,
                     E4ServletImplementation_Intf servlet)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
See Also:
E4HtmlContentElement.AjaxElement(e4s.html.ajax.E4AjaxData_Intf,e4s.servlet.E4ServletImplementation_Intf)

E4AjaxElement

public E4AjaxElement(E4AjaxData_Intf data,
                     E4ServletImplementation_Intf servlet,
                     boolean debug)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
debug - if true then an alert with the rendered output will be displayed - only for development environments
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
See Also:
e4s.html.E4HtmlContentElement#E4AjaxElement

E4AjaxElement

public E4AjaxElement(E4AjaxData_Intf data,
                     E4ServletImplementation_Intf servlet,
                     boolean debug,
                     boolean named_scripts)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
debug - if true then an alert with the rendered output will be displayed - only for development environments
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
named_scripts - uses script names that contain the div-id if true, instead of generic names for scripts if false
See Also:
e4s.html.E4HtmlContentElement#E4AjaxElement

E4AjaxElement

public E4AjaxElement(E4AjaxData_Intf data,
                     int width,
                     int height,
                     E4ServletImplementation_Intf servlet)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
width - horizontal size of the DIV-element
height - vertical size of the DIV-element
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
See Also:
e4s.html.E4HtmlContentElement#E4AjaxElement

E4AjaxElement

public E4AjaxElement(E4AjaxData_Intf data,
                     int width,
                     int height,
                     E4ServletImplementation_Intf servlet,
                     boolean debug)
Create an E4AjaxElement. This is the part of the E4Ajax mechanism that is bound into the HTML elements rendered by E4S.

Parameters:
data - the E4Ajax-Data references to the data beeing displayed and rendered. It is stored internally and will be used asynchronously
debug - if true then an alert with the rendered output will be displayed - only for development environments
width - horizontal size of the DIV-element
height - vertical size of the DIV-element
servlet - a valid servlet context (@link e4s.servlet.E4ModuleImplementation#getServlet()}
See Also:
e4s.html.E4HtmlContentElement#E4AjaxElement
Method Detail

updateOnReadyReqCore

protected void updateOnReadyReqCore(E4JavaScript js)
Specified by:
updateOnReadyReqCore in class E4AjaxElementGeneral

_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