www.element4solution.com

e4s.html.input.extended
Class E4SelectValues.OPTION

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.input.extended.E4SelectValues.OPTION
Enclosing class:
E4SelectValues

public static class E4SelectValues.OPTION
extends E4Object

Option for the selection. An option holds the value and the text beeing displayed.

See Also:
SELECT.newOption(java.lang.String, java.lang.String)

Field Summary
protected  CLASS_Name m_css_class
          The E4CSS Style
protected  E4Label_Intf m_display
          The value displayed
protected  java.lang.String m_option
          The value selected
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4SelectValues.OPTION(E4String option)
          Construct an otion.
E4SelectValues.OPTION(java.lang.String option)
          Construct an otion.
E4SelectValues.OPTION(java.lang.String option, E4Label_Intf display)
          Construct an otion.
E4SelectValues.OPTION(java.lang.String option, java.lang.String display)
          Construct an otion.
 
Method Summary
 void collectStylesForEditing(E4StylesHash v, E4ServletImplementation_Intf servlet)
           
 java.lang.String getDest(Language lang_dest)
          Get the translated text for display.
 E4Label_Intf getDisplay()
          Get the display text.
 java.lang.String getOption()
          Get the option value.
 CLASS_Name getSTYLE()
           
 void setSTYLE(CLASS_Name css_class)
           
 void showUntranslatedInBrackets(boolean mode)
           
 E4StyleAttributes Style()
           
 java.lang.String toString()
           
 
Methods inherited from class e4s.util.E4Object
_getSVNVersionString, 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, 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

m_option

protected java.lang.String m_option
The value selected


m_display

protected E4Label_Intf m_display
The value displayed


m_css_class

protected CLASS_Name m_css_class
The E4CSS Style

Constructor Detail

E4SelectValues.OPTION

public E4SelectValues.OPTION(java.lang.String option,
                             java.lang.String display)
Construct an otion.

Parameters:
option - the internal option to be stored as value in the select box
display - the text being displayed on the screen

E4SelectValues.OPTION

public E4SelectValues.OPTION(java.lang.String option,
                             E4Label_Intf display)
Construct an otion.

Parameters:
option - the internal option to be stored as value in the select box
display - the text being displayed on the screen

E4SelectValues.OPTION

public E4SelectValues.OPTION(java.lang.String option)
Construct an otion.

Parameters:
option - the internal option to be stored as value in the select box and it will be also used for display purpouses.

E4SelectValues.OPTION

public E4SelectValues.OPTION(E4String option)
Construct an otion.

Parameters:
option - the internal option to be stored as value in the select box and it will be also used for display purpouses.
Method Detail

Style

public E4StyleAttributes Style()

getOption

public java.lang.String getOption()
Get the option value.

Returns:
option the internal option to be stored as value in the select box

getDisplay

public E4Label_Intf getDisplay()
Get the display text.

Returns:
the text being displayed

getDest

public java.lang.String getDest(Language lang_dest)
Get the translated text for display.

Returns:
the text being displayed

showUntranslatedInBrackets

public void showUntranslatedInBrackets(boolean mode)

toString

public java.lang.String toString()
Overrides:
toString in class E4Object

setSTYLE

public void setSTYLE(CLASS_Name css_class)

getSTYLE

public CLASS_Name getSTYLE()

collectStylesForEditing

public void collectStylesForEditing(E4StylesHash v,
                                    E4ServletImplementation_Intf servlet)

www.element4solution.com