www.element4solution.com

e4s.application.sysmodule.css
Class E4ModuleEditStyles

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

public class E4ModuleEditStyles
extends E4ModuleImplementation

Editing of STYLE elements.

Since:
JDK 1.4
See Also:
e4s.html.style.E4CSS, STYLE

Field Summary
static E4Method changeStatus
           
static E4Method copyOneStyle
           
static E4Method deleteOneStyle
           
static E4Method displayStyles
           
static E4Method editOneStyle
           
static E4Method editStyles
           
static E4Method mainMenu
           
static java.lang.String PARAM_CUT_N_PASTE_OBJ
           
static java.lang.String PARAM_LEVEL
           
static java.lang.String PARAM_STYLES_OBJ2
           
static E4Method pasteOneStyle
           
static E4Method saveStyle
           
static E4Method switchLevel
           
 
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
E4ModuleEditStyles()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void changeStatus(HTML html, E4CgiParams params)
           
 void copyOneStyle(HTML html, E4CgiParams params)
           
 void deleteOneStyle(HTML html, E4CgiParams params)
          E4User can delete style from a given list.
 void displayStyles(HTML html)
          Show list of styles within the HTML document ordered by HTML attributes.
 void editOneStyle(HTML html, E4CgiParams params)
          Display and make user editable the styles related to a single HTML attribute of the document.
 void editStyles(HTML html, E4CgiParams params)
           
static E4PermissionOr getPermission()
           
 void mainMenu(HTML html)
           
 void pasteOneStyle(HTML html, E4CgiParams params)
           
 void saveStyle(HTML html, E4CgiParams params)
          Save edited STYLE_Definitions back into E4CssFile.
 void switchLevel(HTML html, E4CgiParams params)
           
 
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

PARAM_STYLES_OBJ2

public static final java.lang.String PARAM_STYLES_OBJ2
See Also:
Constant Field Values

PARAM_CUT_N_PASTE_OBJ

public static final java.lang.String PARAM_CUT_N_PASTE_OBJ
See Also:
Constant Field Values

PARAM_LEVEL

public static final java.lang.String PARAM_LEVEL
See Also:
Constant Field Values

displayStyles

public static E4Method displayStyles

editStyles

public static E4Method editStyles

editOneStyle

public static E4Method editOneStyle

copyOneStyle

public static E4Method copyOneStyle

pasteOneStyle

public static E4Method pasteOneStyle

deleteOneStyle

public static E4Method deleteOneStyle

switchLevel

public static E4Method switchLevel

saveStyle

public static E4Method saveStyle

changeStatus

public static E4Method changeStatus

mainMenu

public static E4Method mainMenu
Constructor Detail

E4ModuleEditStyles

public E4ModuleEditStyles()
Method Detail

editStyles

public void editStyles(HTML html,
                       E4CgiParams params)
                throws java.lang.Exception
Throws:
java.lang.Exception

displayStyles

public void displayStyles(HTML html)
                   throws java.lang.Exception
Show list of styles within the HTML document ordered by HTML attributes.

Throws:
java.lang.Exception

copyOneStyle

public void copyOneStyle(HTML html,
                         E4CgiParams params)
                  throws java.lang.Exception
Throws:
java.lang.Exception

pasteOneStyle

public void pasteOneStyle(HTML html,
                          E4CgiParams params)
                   throws java.lang.Exception
Throws:
java.lang.Exception

editOneStyle

public void editOneStyle(HTML html,
                         E4CgiParams params)
                  throws java.lang.Exception
Display and make user editable the styles related to a single HTML attribute of the document. List all styles with their E4CSS.Attribute names and given values as well a combination of all possible values for each Attribute.

Parameters:
html - description.
params - description.
Throws:
java.lang.Exception - is thrown if given E4CSS.Attributes or values cannot be parsed via STYLE_Definitions.
See Also:
e4s.application.sysmodule.css.E4StyleDefinition., e4s.application.sysmodule.css.E4StyleValue., e4s.application.sysmodule.css.E4CSS.

deleteOneStyle

public void deleteOneStyle(HTML html,
                           E4CgiParams params)
                    throws java.lang.Exception
E4User can delete style from a given list.

Parameters:
html - description.
params - description.
Throws:
java.lang.Exception - description.

saveStyle

public void saveStyle(HTML html,
                      E4CgiParams params)
               throws java.lang.Exception
Save edited STYLE_Definitions back into E4CssFile.

Parameters:
html - description.
params - description.
Throws:
java.lang.Exception - description.

switchLevel

public void switchLevel(HTML html,
                        E4CgiParams params)
                 throws java.lang.Exception
Throws:
java.lang.Exception

changeStatus

public void changeStatus(HTML html,
                         E4CgiParams params)
                  throws E4PermissionException
Throws:
E4PermissionException

mainMenu

public void mainMenu(HTML html)
              throws E4PermissionException
Throws:
E4PermissionException

getPermission

public static E4PermissionOr getPermission()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com