e4s.html.navigation
Class E4DropdownMenu
java.lang.Object
e4s.util.E4Object
e4s.html.E4HtmlObject
e4s.html.E4HtmlElementGeneral
e4s.html.E4HtmlElement
e4s.html.E4HtmlContentElement
e4s.html.DIV
e4s.html.navigation.E4DropdownMenu
- All Implemented Interfaces:
- E4HtmlElement_Intf
public class E4DropdownMenu
- extends DIV
- implements E4HtmlElement_Intf
|
Method Summary |
static java.lang.String |
_getSVNVersionString()
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(E4Label_Intf label)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(E4Label_Intf label,
E4Method_Intf mref)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4CgiParams params)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4CgiParams params,
E4Permission_Intf permission)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4Permission_Intf permission)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(java.lang.String label)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(java.lang.String label,
E4Method_Intf mref)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4CgiParams params)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4CgiParams params,
E4Permission_Intf permission)
|
E4DropdownMenu.E4DropDownMenuItem |
addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4Permission_Intf permission)
|
void |
addParameter(E4InputFieldName_Intf name,
boolean value)
|
void |
addParameter(E4InputFieldName_Intf name,
java.util.Date value)
|
void |
addParameter(E4InputFieldName_Intf name,
E4Long value)
|
void |
addParameter(E4InputFieldName_Intf name,
E4String value)
|
void |
addParameter(E4InputFieldName_Intf name,
float value)
|
void |
addParameter(E4InputFieldName_Intf name,
long value)
|
void |
addParameter(E4InputFieldName_Intf name,
java.lang.String value)
|
void |
addParameter(java.lang.String name,
boolean value)
|
void |
addParameter(java.lang.String name,
java.util.Date value)
|
void |
addParameter(java.lang.String name,
E4Long value)
|
void |
addParameter(java.lang.String name,
E4String value)
|
void |
addParameter(java.lang.String name,
float value)
|
void |
addParameter(java.lang.String name,
long value)
|
void |
addParameter(java.lang.String name,
java.lang.String value)
|
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. |
void |
constructScript(E4ServletImplementation_Intf servlet)
|
E4DropdownMenu.E4DropDownMenuItem[] |
getMenuItems()
|
void |
prepareBody(BODY body)
Does not add the menu, just preparing the body. |
void |
set_css_menu_item_selected(CLASS_Name css_menu_item_selected)
|
void |
set_css_menu_item(CLASS_Name css_menu_item)
|
void |
setCssMenuItem(CLASS_Name clazz)
|
void |
setCssMenuItemInactive(CLASS_Name clazz)
|
void |
setCssMenuItemPreSelected(CLASS_Name clazz)
|
void |
setCssMenuItemSelected(CLASS_Name clazz)
|
void |
setCssMenuLine(CLASS_Name clazz)
|
void |
setCssMenuLineInactive(CLASS_Name clazz)
|
void |
setCssMenuLinePreSelected(CLASS_Name clazz)
|
void |
setCssMenuLineSelected(CLASS_Name clazz)
|
void |
setCssMenuLineSpacer(CLASS_Name clazz)
|
void |
setCssMenuPopup(CLASS_Name clazz)
|
void |
setDropDownOffsetY(int drop_down_offset_y)
|
void |
setDropShadow(boolean mode)
|
void |
setPreSelected(E4Method_Intf method)
|
| 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, toHtml, toString |
| 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.E4HtmlElementGeneral |
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, 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, validate |
| 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, collectTranslationsForEditing, debugToString, findElement, findElement, getElements, getElementsVec, getField, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, toHtml, validate |
JS_MENU
public static final E4JavaScriptReference JS_MENU
E4DropdownMenu
public E4DropdownMenu(java.lang.String div_id)
E4DropdownMenu
public E4DropdownMenu()
E4DropdownMenu
public E4DropdownMenu(BODY body)
E4DropdownMenu
public E4DropdownMenu(java.lang.String div_id,
BODY body)
prepareBody
public void prepareBody(BODY body)
- Does not add the menu, just preparing the body. Does not add the menu element itself to the body!
- Parameters:
body - the body instance to add some event handlers for the menu
constructScript
public void constructScript(E4ServletImplementation_Intf servlet)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(java.lang.String label)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(E4Label_Intf label)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(java.lang.String label,
E4Method_Intf mref)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(E4Label_Intf label,
E4Method_Intf mref)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4CgiParams params)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4CgiParams params)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4Permission_Intf permission)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4Permission_Intf permission)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(java.lang.String label,
E4Method_Intf mref,
E4CgiParams params,
E4Permission_Intf permission)
addMenuItem
public E4DropdownMenu.E4DropDownMenuItem addMenuItem(E4Label_Intf label,
E4Method_Intf mref,
E4CgiParams params,
E4Permission_Intf permission)
setDropShadow
public void setDropShadow(boolean mode)
setDropDownOffsetY
public void setDropDownOffsetY(int drop_down_offset_y)
set_css_menu_item
public void set_css_menu_item(CLASS_Name css_menu_item)
set_css_menu_item_selected
public void set_css_menu_item_selected(CLASS_Name css_menu_item_selected)
setCssMenuItem
public void setCssMenuItem(CLASS_Name clazz)
setCssMenuItemSelected
public void setCssMenuItemSelected(CLASS_Name clazz)
setCssMenuItemPreSelected
public void setCssMenuItemPreSelected(CLASS_Name clazz)
setCssMenuItemInactive
public void setCssMenuItemInactive(CLASS_Name clazz)
setCssMenuPopup
public void setCssMenuPopup(CLASS_Name clazz)
setCssMenuLine
public void setCssMenuLine(CLASS_Name clazz)
setCssMenuLineSpacer
public void setCssMenuLineSpacer(CLASS_Name clazz)
setCssMenuLineInactive
public void setCssMenuLineInactive(CLASS_Name clazz)
setCssMenuLineSelected
public void setCssMenuLineSelected(CLASS_Name clazz)
setCssMenuLinePreSelected
public void setCssMenuLinePreSelected(CLASS_Name clazz)
collectScripts
public void collectScripts(E4ScriptsVec v,
E4ServletImplementation_Intf servlet)
- Description copied from class:
E4HtmlElementGeneral
- Get a vector of used scripts from all subelements.
- Specified by:
collectScripts in interface E4HtmlElement_Intf- Overrides:
collectScripts in class E4HtmlElementGeneral
- Parameters:
v - collect the names of all scriptsservlet - the servlet context- See Also:
E4JavaScript
collectStylesForEditing
public void collectStylesForEditing(E4StylesHash v,
E4ServletImplementation_Intf servlet)
- Description copied from class:
E4HtmlElementGeneral
- Build a list (Vector) with style definitions used so far during
display of this page. Run throught all subclasses elements and
collect their styles as well. Note, that a style will only
be added one time. The Vector contains elements of class
E4StyleUsage.
- Specified by:
collectStylesForEditing in interface E4HtmlElement_Intf- Overrides:
collectStylesForEditing in class E4HtmlElementGeneral
- Parameters:
v - the Vector where the styles will be collected, may not be nullservlet - the servlet context- See Also:
E4ServletImplementation_Intf.sessionCanEditStyles(),
#collectStylesForEditing(e4s.html.style.E4StylesHash, STYLE_Name, boolean)
setPreSelected
public void setPreSelected(E4Method_Intf method)
addParameter
public void addParameter(java.lang.String name,
java.lang.String value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
java.lang.String value)
addParameter
public void addParameter(java.lang.String name,
long value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
long value)
addParameter
public void addParameter(java.lang.String name,
boolean value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
boolean value)
addParameter
public void addParameter(java.lang.String name,
java.util.Date value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
java.util.Date value)
addParameter
public void addParameter(java.lang.String name,
float value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
float value)
addParameter
public void addParameter(java.lang.String name,
E4Long value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
E4Long value)
addParameter
public void addParameter(java.lang.String name,
E4String value)
addParameter
public void addParameter(E4InputFieldName_Intf name,
E4String value)
getMenuItems
public E4DropdownMenu.E4DropDownMenuItem[] getMenuItems()
_getSVNVersionString
public static java.lang.String _getSVNVersionString()