www.element4solution.com

e4s.application.sysmodule
Class E4ModuleBlockMenuHandling

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.servlet.E4ModuleImplementation
              extended by e4s.application.sysmodule.E4ModuleBlockMenuHandling

public class E4ModuleBlockMenuHandling
extends E4ModuleImplementation

This class provides default tree handling (opening nodes, activating nodes). See also E4TreeNode and E4TreeNode_Intf

Since:
JDK 1.4

Field Summary
static E4Method activateNode
          Defines the method for activating (selecting) a node.
static E4Method toggleNode
          Defines the method for toggling a node, means open and close a node.
 
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
E4ModuleBlockMenuHandling()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void activateNode(HTML html, E4CgiParams p)
          Change the activate (selected) state of a tree node as well as of all other nodes.
 void toggleNode(HTML html, E4CgiParams p)
          Change the open (display) mode of a tree node (E4TreeNode_Intf).
 
Methods inherited from class e4s.servlet.E4ModuleImplementation
canDo, canDo, canRun, closeHtmlOutput, empty2nbsp, empty2nbsp, getApplication_Permissions, getApplication, getApplObj, getClient, getClientImage, getClientObject, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDbConnection, getDecimalSign, getE4ClientLogo, getE4S_Permissions, getLanguage_App, getLanguage_Sys, getLanguage, getParameters, getPersistantParameter, getPersistantParameterBoolean, getPersistantParameterDate, getPersistantParameterInt, getPersistantParameterIntArr, getPersistantParameterLong, getPickParams, getRemoteAddr, getRequiredModulePermission, getServlet, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUrl, getUserEmail, getUserValue, getUserValue, getUserValueArr, getUserValueBool, getUserValueBool, getUserValueDate, getUserValueDate, getUserValueInt, getUserValueInt, getUserValueLong, getUserValueLong, isok, isPersistant, isRunningWindow, isTimeout, ok, openHtmlOutput, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeUserValue, removeUserValue, resetClientLogo, setAjaxTrace, setApplication, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setServlet, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, write, write, write, write, write, writeln, writeln, writeln, writeln
 
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, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, 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
 

Field Detail

toggleNode

public static E4Method toggleNode
Defines the method for toggling a node, means open and close a node.

See Also:
toggleNode(HTML html, E4CgiParams p)

activateNode

public static E4Method activateNode
Defines the method for activating (selecting) a node.

See Also:
activateNode(HTML html, E4CgiParams p)
Constructor Detail

E4ModuleBlockMenuHandling

public E4ModuleBlockMenuHandling()
Method Detail

toggleNode

public void toggleNode(HTML html,
                       E4CgiParams p)
Change the open (display) mode of a tree node (E4TreeNode_Intf). If a user clicks on the [+] or [-] symbol beside a tree node, this changes the E4TreeNode_Intf.isOpen() state of the node. The whole tree needs to be stored in the session objects (see E4ServletImplementation_Intf.getSessionObject(String)). Parameters used to handle tree functionality: the tree-object handle E4ModuleTreeHandling._PARAM_TREE_OBJ and the node-id (e4s.application.sysmodule.moduleTreeHandlinge4s.application.sysmodule.E4ModuleTreeHandling#_PARAM_NODE_ID) as well as the target frame (E4ModuleTreeHandling._PARAM_TARGET).

Parameters:
html - the active HTML context to be used for output.
p - parameters, including the tree-object handle, node-id and target frame.
See Also:
activateNode

activateNode

public void activateNode(HTML html,
                         E4CgiParams p)
Change the activate (selected) state of a tree node as well as of all other nodes. (See E4TreeNode_Intf). If a user clicks on the node text or associated images, this changes the E4TreeNode_Intf.isActive() state of the selected node to true but all other nodes to false. The whole tree needs to be stored in the session objects (see E4ServletImplementation_Intf.getSessionObject(String)).

Parameters:
html - the active HTML context to be used for output.
p - parameters, including the tree-object handle E4ModuleTreeHandling._PARAM_TREE_OBJ and the node-id (E4ModuleTreeHandling._PARAM_NODE_ID) as well as the target frame (E4ModuleTreeHandling._PARAM_TARGET).
See Also:
toggleNode

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com