|
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.A
e4s.html.A_Popup
public class A_Popup
Popup a dynamic window with information when the mouse get's over the <A>-Tag.
When a A_Popup element is used, it is important to prepare the BODY
element using function prepare(e4s.html.BODY). Unless you don't prepare, you wan't see anything.
The popup text will be included by a e4s.html.avaScript in the page, so either use
less or small elements only. Within the popup text element, you shold avoid links, scripts,
big data, interactive elements. Unless you dont specify a background, element will be transparent.
Suitable results will be possible using a TABLE element.
| Example_Popup.java |
| Field Summary | |
|---|---|
static java.lang.String |
JS_NAME_WRITE_NON_TRANSPARENT
|
static java.lang.String |
JS_NAME_WRITE_TRANSPARENT
|
| Fields inherited from class e4s.html.A |
|---|
HTML_TAG, WINDOW_PARAM_DIRECTORIES, WINDOW_PARAM_MENU, WINDOW_PARAM_RESIZE, WINDOW_PARAM_SCROLL, WINDOW_PARAM_STATUS, WINDOW_PARAM_TOOLBAR |
| 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 | |
|---|---|
A_Popup(A_Popup template)
|
|
A_Popup(E4HtmlElement element,
E4ServletImplementation_Intf servlet)
|
|
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(E4Method mref,
E4HtmlElement element,
E4ServletImplementation_Intf servlet)
|
|
A_Popup(E4Method mref,
java.lang.String sHtml)
|
|
A_Popup(E4Method mref,
java.lang.String sHtml,
boolean transparent)
|
|
A_Popup(java.lang.String sHtml)
|
|
A_Popup(java.lang.String sHtml,
boolean transparent)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
|
void |
collectScripts(E4ScriptsVec v,
E4ServletImplementation_Intf servlet)
Get a vector of used scripts from all subelements. |
void |
collectStylesForEditing(E4StylesHash v,
E4ServletImplementation_Intf servlet)
Build a list (Vector) with style definitions used so far during display of this page. |
static void |
prepare(BODY body)
|
static void |
prepare(HTML html)
|
| 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, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface e4s.html.E4HtmlElement_Intf |
|---|
addScript, addScript, addScript, 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 final java.lang.String JS_NAME_WRITE_TRANSPARENT
public static final java.lang.String JS_NAME_WRITE_NON_TRANSPARENT
| Constructor Detail |
|---|
public A_Popup(E4HtmlElement element,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
java.lang.Exception
public 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(E4Method mref,
E4HtmlElement element,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
java.lang.Exception
public A_Popup(java.lang.String sHtml)
throws java.lang.Exception
java.lang.Exception
public A_Popup(java.lang.String sHtml,
boolean transparent)
throws java.lang.Exception
java.lang.Exception
public A_Popup(E4Method mref,
java.lang.String sHtml)
throws java.lang.Exception
java.lang.Exception
public A_Popup(E4Method mref,
java.lang.String sHtml,
boolean transparent)
throws java.lang.Exception
java.lang.Exception
public A_Popup(A_Popup template)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public static void prepare(BODY body)
public static void prepare(HTML html)
public void collectStylesForEditing(E4StylesHash v,
E4ServletImplementation_Intf servlet)
E4HtmlElementGeneralE4StyleUsage.
collectStylesForEditing in interface E4HtmlElement_IntfcollectStylesForEditing in class E4HtmlElementGeneralv - the Vector where the styles will be collected, may not be nullservlet - the servlet contextE4ServletImplementation_Intf.sessionCanEditStyles(),
#collectStylesForEditing(e4s.html.style.E4StylesHash, STYLE_Name, boolean)
public void collectScripts(E4ScriptsVec v,
E4ServletImplementation_Intf servlet)
E4HtmlElementGeneral
collectScripts in interface E4HtmlElement_IntfcollectScripts in class E4HtmlElementGeneralv - collect the names of all scriptsservlet - the servlet contextE4JavaScriptpublic static java.lang.String _getSVNVersionString()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||