e4s.html
Class E4TabbedMenu
java.lang.Object
e4s.util.E4Object
e4s.html.E4HtmlObject
e4s.html.E4HtmlElementGeneral
e4s.html.E4HtmlElement
e4s.html.FRAMESET
e4s.html.E4TabbedMenu
- All Implemented Interfaces:
- E4HtmlElement_Intf
public class E4TabbedMenu
- extends FRAMESET
- implements E4HtmlElement_Intf
Provides a tab-layouted menu. Each menu item will be displayed as a property tab like
style, consisting of elements of type e4s.html.
- See Also:
e4s.html
| Methods inherited from class e4s.html.FRAMESET |
_createKeepAliveScript, addKeepAliveScript, collectScripts, createEventHandler, createEventHandler, eventHandlers, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAME, FRAMESET, FRAMESET, FRAMESET, FRAMESET, FRAMESET, getFrameborder, getFrameSize, getFramespacing, MenuFrameset, MenuFrameset, onLoad, onUnLoad, onUnLoad, setEventHandler, setFrameborder, setFramespacing, SmoothResize, SmoothResize, SmoothResize2 |
| Methods inherited from class e4s.html.E4HtmlElementGeneral |
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, collectStylesForEditing, 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, 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 |
m_images
public static IMG[] m_images
X_LEFT_ACTIVE
public static final int X_LEFT_ACTIVE
- See Also:
- Constant Field Values
X_LEFT_INACTIVE
public static final int X_LEFT_INACTIVE
- See Also:
- Constant Field Values
X_MIDDLE_ACTIVE
public static final int X_MIDDLE_ACTIVE
- See Also:
- Constant Field Values
X_MIDDLE_INACTIVE
public static final int X_MIDDLE_INACTIVE
- See Also:
- Constant Field Values
X_RIGHT_ACTIVE
public static final int X_RIGHT_ACTIVE
- See Also:
- Constant Field Values
X_RIGHT_INACTIVE
public static final int X_RIGHT_INACTIVE
- See Also:
- Constant Field Values
X_REMAINING
public static final int X_REMAINING
- See Also:
- Constant Field Values
E4TabbedMenu
public E4TabbedMenu(E4ID parent_id,
java.lang.String persistantObjId,
E4ServletImplementation_Intf servlet)
initImages
public static IMG[] initImages()
addMenuitem
public void addMenuitem(java.lang.String label,
A href)
toHtml
public void toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
- Description copied from class:
FRAMESET
- General about FRAMES/FRAMESET:
A FRAMESET is once derived from class
HTML, the next FRAMESET
can be derived from FRAMESET.
A FRAMESET consists of FRAME (which is a subclass of HTML) or again a FRAMESET.
When a FRAME is used, when it is converted into Html using the FRAMESET.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) function,
for each <FRAME>-tag a URL pattern is created, using the E4ServletImplementation_Intf.PARAM_PRESERVED with
an generic unique ID (based on the time and m_random). Instead of printing out the content of the frame itself,
a link is generated in the <FRAME SRC="..">-tag. The content of the frame is stored using the function E4ServletImplementation_Intf.writePreserved(String,E4HtmlElement_Intf).
In the servlet main routine (typically the doPost() or doGet() method this code should be used to handle this URL requests:
if (! servlet.writePreservedOut())
{
// continue with execution
}
- Specified by:
toHtml in interface E4HtmlElement_Intf- Overrides:
toHtml in class FRAMESET
servlet - use the getServlet() to get the current servlet context
- Throws:
java.lang.Exception
prepareFrameContent_Content
public void prepareFrameContent_Content()
throws java.lang.Exception
- Throws:
java.lang.Exception
prepareContent
public static TABLE prepareContent(E4ID parent_id,
java.util.Vector menu_elements)
prepareFrameContent_Menu
public void prepareFrameContent_Menu(E4ServletImplementation_Intf servlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
formatLabel
public static java.lang.StringBuffer formatLabel(java.lang.StringBuffer label,
boolean active)
E4ID
public E4ID E4ID()
- Description copied from class:
E4HtmlObject
- Get the E4ID of the object.
The E4ID is a unique identifier for an nested HTML element, it can be either
the name of the class or any previous assigned string.
- Overrides:
E4ID in class E4HtmlObject
- Returns:
- the E4ID
- See Also:
E4HtmlObject.E4ID(String),
E4HtmlObject.set_e4sID(e4s.util.E4ID)
_getSVNVersionString
public static java.lang.String _getSVNVersionString()
- Get version info string from subversion.
- Returns:
- the version info string.
- See Also:
E4Util.getRevisionCodeFromSVN(Class)