|
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.navigation.E4MenuItem
public class E4MenuItem
Defines the single elements for a tabbed style menu.
e4s.html| Field Summary | |
|---|---|
static java.lang.String |
SCRIPTNAME
|
| 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 | |
|---|---|
E4MenuItem()
|
|
E4MenuItem(java.lang.String objId)
|
|
E4MenuItem(java.lang.String objId,
int id)
|
|
| 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. |
void |
collectTranslationsForEditing(E4TranslationsVec v,
E4ServletImplementation_Intf servlet)
Build a list (Vector) with translation texts used so far during display of this page. |
A |
getA()
The normal case is, that a method-reclection is beeing used. |
CLASS_Name |
getClass_A()
|
CLASS_Name |
getClass_A(boolean active)
|
E4HtmlElement_Intf |
getElement()
|
IMG |
getImage()
Get the image defined. |
static java.lang.String |
getJS_Name(java.lang.String objId)
|
E4Label_Intf |
getLabel()
Get the label (text to be displayed) for this menu item. |
boolean |
isActive()
Get the active state of this menu item. |
void |
setActive()
Sets this menu item to the active state. |
void |
setActive(boolean active)
Sets this menu item to the state provided by parameter active. |
void |
setClass_A(CLASS_Name classname,
boolean active)
|
void |
setElement(E4HtmlElement_Intf element)
|
void |
setImage(IMG img)
Define an image which will be displayed in front of the label. |
void |
setInActive()
Sets this menu item to the IN-active state. |
void |
setLabel(E4Label_Intf label)
Set the label (text to be displayed) for this menu item. |
void |
setLabel(java.lang.String label)
Set the label (text to be displayed) for this menu item. |
void |
toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
Create the HTML output for this element. |
java.lang.String |
toString()
Debug capabilities only - do not use except debugging and tracing. |
| 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, 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 SCRIPTNAME
| Constructor Detail |
|---|
public E4MenuItem(java.lang.String objId,
int id)
public E4MenuItem(java.lang.String objId)
public E4MenuItem()
| Method Detail |
|---|
public void setLabel(java.lang.String label)
label - the labelsetLabel(E4Label_Intf),
getLabel()public void setLabel(E4Label_Intf label)
label - the labelsetLabel(E4Label_Intf),
getLabel()public E4Label_Intf getLabel()
setLabel(java.lang.String)public void setActive()
setInActive(),
setActive( boolean ),
isActive()public void setInActive()
setActive(),
setActive( boolean ),
isActive()public void setActive(boolean active)
active - the new state.setActive(),
setInActive(),
isActive()public boolean isActive()
setActive(),
setInActive(),
setActive(boolean)public void setElement(E4HtmlElement_Intf element)
public E4HtmlElement_Intf getElement()
public A getA()
A which can be retrieved using this function, e.g. to add parameters.
E4Method.
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 - the servlet environment currently running in
java.lang.Exceptionpublic java.lang.String toString()
toString in class E4Object
public void collectTranslationsForEditing(E4TranslationsVec v,
E4ServletImplementation_Intf servlet)
E4HtmlElementGeneralE4Label.
collectTranslationsForEditing in interface E4HtmlElement_IntfcollectTranslationsForEditing in class E4HtmlElementGeneralv - the Vector where the styles will be collected, may not be nullservlet - the current servlet instanceE4Label_Intf
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 CLASS_Name getClass_A()
public CLASS_Name getClass_A(boolean active)
public void setClass_A(CLASS_Name classname,
boolean active)
public void setImage(IMG img)
img - the imagegetImage(),
#setLabel()public IMG getImage()
#setImage()public static final java.lang.String getJS_Name(java.lang.String objId)
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 static java.lang.String _getSVNVersionString()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||