www.element4solution.com

e4s.html
Class E4HtmlElementGeneralPersistant

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.html.E4HtmlElementGeneral
              extended by e4s.html.E4HtmlElementGeneralPersistant
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
E4Fieldset, E4FieldsetTabbed

public class E4HtmlElementGeneralPersistant
extends E4HtmlElementGeneral
implements E4HtmlElement_Intf

An extension to E4HtmlContentElement to prevent objects inheritated from this class to be optionally not to be removed.

See Also:
E4HtmlElementPersistant, E4ServletImplementation_Intf.setSessionObject(java.lang.String, java.lang.Object)

Field Summary
 
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
E4HtmlElementGeneralPersistant()
           
E4HtmlElementGeneralPersistant(E4ID parent_id)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void preventFromRemoving()
          Prevent removing all elements.
 void preventFromRemoving(boolean prevent_from_removing)
          Prevent removing all elements.
 void removeAll()
          Remove all elements - only if the preventFromRemoving() function was not called before.
 
Methods inherited from class e4s.html.E4HtmlElementGeneral
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, collectScripts, 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, removeElementById, removeElements, removeElements, removeStyle, setId, setReadOnly, setStyle, setStyle, setSTYLE, setValue, Style, Style, toHtml_hidden, toHtml, validate
 
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, 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, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, toHtml, validate
 

Constructor Detail

E4HtmlElementGeneralPersistant

public E4HtmlElementGeneralPersistant()

E4HtmlElementGeneralPersistant

public E4HtmlElementGeneralPersistant(E4ID parent_id)
Method Detail

removeAll

public void removeAll()
Remove all elements - only if the preventFromRemoving() function was not called before. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

Specified by:
removeAll in interface E4HtmlElement_Intf
Overrides:
removeAll in class E4HtmlElementGeneral
See Also:
preventFromRemoving(), E4HtmlElementGeneral.removeAll()

preventFromRemoving

public void preventFromRemoving()
Prevent removing all elements. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

See Also:
removeAll(), preventFromRemoving( boolean )

preventFromRemoving

public void preventFromRemoving(boolean prevent_from_removing)
Prevent removing all elements. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

Parameters:
prevent_from_removing - the new status for removing
See Also:
removeAll(), preventFromRemoving()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com