www.element4solution.com

e4s.application.appmodule
Class E4ModuleFreefieldDefinition.E4FormatterDatatype

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.editing.E4EditingFormatterDefault
          extended by e4s.application.appmodule.E4ModuleFreefieldDefinition.E4FormatterDatatype
All Implemented Interfaces:
E4EditingFormatter_Intf
Enclosing class:
E4ModuleFreefieldDefinition

public class E4ModuleFreefieldDefinition.E4FormatterDatatype
extends E4EditingFormatterDefault
implements E4EditingFormatter_Intf


Field Summary
 
Fields inherited from class e4s.html.editing.E4EditingFormatterDefault
m_data, m_formatter_name
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4ModuleFreefieldDefinition.E4FormatterDatatype()
           
 
Method Summary
 java.lang.String formatDisplay(E4ApplObj_Intf applobj, java.lang.String s, E4DBSelect_Intf select)
          Format a String (or any value represented as String) for display.
 E4SelectValues getSearchOptions()
          Return a Vector of E4SelectValues.OPTION elements for building a selection list on searching.
 
Methods inherited from class e4s.html.editing.E4EditingFormatterDefault
_getSVNVersionString, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addOptionGroup, addOptionGroup, formatSearch, getFormatterName, getMethodPickup, sort
 
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.editing.E4EditingFormatter_Intf
formatSearch, getFormatterName, getMethodPickup
 

Constructor Detail

E4ModuleFreefieldDefinition.E4FormatterDatatype

public E4ModuleFreefieldDefinition.E4FormatterDatatype()
Method Detail

getSearchOptions

public E4SelectValues getSearchOptions()
Description copied from interface: E4EditingFormatter_Intf
Return a Vector of E4SelectValues.OPTION elements for building a selection list on searching. e.g. create a list of containing "yes" and "no" for a boolean field.

Specified by:
getSearchOptions in interface E4EditingFormatter_Intf
Overrides:
getSearchOptions in class E4EditingFormatterDefault

formatDisplay

public java.lang.String formatDisplay(E4ApplObj_Intf applobj,
                                      java.lang.String s,
                                      E4DBSelect_Intf select)
Description copied from interface: E4EditingFormatter_Intf
Format a String (or any value represented as String) for display. e.g. if value contains a customer number, return the customer name.

Specified by:
formatDisplay in interface E4EditingFormatter_Intf
Overrides:
formatDisplay in class E4EditingFormatterDefault
Parameters:
applobj - a valid application object to be used for database access
s - String to be formatted. Return null, if no format is required.
select - the current database query (if necessary to retrieve other data)

www.element4solution.com