www.element4solution.com

e4s.html.input.extended
Class E4InputMultiStateOptions

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.input.extended.E4InputMultiStateOptions

public class E4InputMultiStateOptions
extends E4Object


Nested Class Summary
static class E4InputMultiStateOptions.M_OPTION
           
 
Field Summary
static java.lang.String BUTTON_NAME_PREFIX
           
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4InputMultiStateOptions()
          Instanciate using a generic identifier.
E4InputMultiStateOptions(java.lang.String id)
          Instanciate using a specified identifier.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 void addOption(E4Long option, IMG display)
          For convinience: create a new OPTION object (which is a inner class and sometimes difficult and ugly to access)
 void addOption(E4String option, IMG display)
          For convinience: create a new OPTION object (which is a inner class and sometimes difficult and ugly to access)
 void addOption(long option, IMG display)
          For convinience: create a new M_OPTION object (which is a inner class and sometimes difficult and ugly to access)
 void addOption(java.lang.String option, IMG display)
          For convinience: create a new M_OPTION object (which is a inner class and sometimes difficult and ugly to access)
 void collectTranslationsForEditing(E4TranslationsVec translations, E4ServletImplementation_Intf servlet)
           
 IMG findImage(java.lang.String value)
           
 IMG firstImage()
           
 java.lang.String firstOption()
           
 E4JavaScript getJsSet(E4ServletImplementation_Intf servlet, java.lang.String fieldname)
           
 E4JavaScript getScript(E4ServletImplementation_Intf servlet)
           
 
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
 

Field Detail

BUTTON_NAME_PREFIX

public static final java.lang.String BUTTON_NAME_PREFIX
See Also:
Constant Field Values
Constructor Detail

E4InputMultiStateOptions

public E4InputMultiStateOptions(java.lang.String id)
Instanciate using a specified identifier.

Parameters:
id - a string identifying the set of multioption images

E4InputMultiStateOptions

public E4InputMultiStateOptions()
Instanciate using a generic identifier.

Method Detail

addOption

public void addOption(java.lang.String option,
                      IMG display)
For convinience: create a new M_OPTION object (which is a inner class and sometimes difficult and ugly to access)

Parameters:
option - is the value associated with the field value (internally)
display - is the label that is shown on the screen and present for the user
See Also:
#newOption(String)

addOption

public void addOption(E4String option,
                      IMG display)
For convinience: create a new OPTION object (which is a inner class and sometimes difficult and ugly to access)

Parameters:
option - is the value associated with the field value (internally)
display - is the label that is shown on the screen and present for the user
See Also:
#newOption(String)

addOption

public void addOption(E4Long option,
                      IMG display)
For convinience: create a new OPTION object (which is a inner class and sometimes difficult and ugly to access)

Parameters:
option - is the value associated with the field value (internally)
display - is the label that is shown on the screen and present for the user
See Also:
#newOption(String)

addOption

public void addOption(long option,
                      IMG display)
For convinience: create a new M_OPTION object (which is a inner class and sometimes difficult and ugly to access)

Parameters:
option - is the value associated with the field value (internally)
display - is the label that is shown on the screen and present for the user
See Also:
#newOption(String)

getScript

public E4JavaScript getScript(E4ServletImplementation_Intf servlet)

findImage

public IMG findImage(java.lang.String value)

firstOption

public java.lang.String firstOption()

firstImage

public IMG firstImage()

collectTranslationsForEditing

public void collectTranslationsForEditing(E4TranslationsVec translations,
                                          E4ServletImplementation_Intf servlet)

getJsSet

public E4JavaScript getJsSet(E4ServletImplementation_Intf servlet,
                             java.lang.String fieldname)

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com