www.element4solution.com

e4s.html.editing
Class E4FormatterLongText

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.editing.E4EditingFormatterDefault
          extended by e4s.html.editing.E4FormatterLongText
All Implemented Interfaces:
E4EditingFormatter_Intf

public class E4FormatterLongText
extends E4EditingFormatterDefault
implements E4EditingFormatter_Intf

A formatter which cuts off too long text elements.


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
E4FormatterLongText()
           
E4FormatterLongText(int maxlen)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 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.
 
Methods inherited from class e4s.html.editing.E4EditingFormatterDefault
add, add, add, add, add, add, add, add, add, add, add, add, add, add, addOptionGroup, addOptionGroup, formatSearch, getFormatterName, getMethodPickup, getSearchOptions, 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, getSearchOptions
 

Constructor Detail

E4FormatterLongText

public E4FormatterLongText(int maxlen)

E4FormatterLongText

public E4FormatterLongText()
Method Detail

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)

_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