com.explosion.datastream.exql.gui.table.editandrender
Class EditorAndRenderFactory
java.lang.Object
com.explosion.datastream.exql.gui.table.editandrender.EditorAndRenderFactory
public class EditorAndRenderFactory
- extends java.lang.Object
- Author:
- Steve.Cowx
Field Summary |
static java.lang.String |
DATE_TIME_FORMAT
Date time format for dates "dd/MM/yyyy HH:mm:ss" |
static java.text.SimpleDateFormat |
format
|
Method Summary |
static java.lang.Object |
convertIntoCorrectTypeForColumn(java.lang.Object data,
com.explosion.expfmodules.rdbmsconn.dbom.DBEntityColumn dbColumn)
Converts the data item into a renderable String (if possible)
If the value is null, it returns an empty string
USeful for dates/times and datetimes so far. |
static java.lang.String |
renderValueForColumn(java.lang.Object data,
com.explosion.expfmodules.rdbmsconn.dbom.DBEntityColumn dbColumn)
Converts the data item into a renderable String (if possible)
If the value is null, it returns an empty string
USeful for dates/times and datetimes so far. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_TIME_FORMAT
public static final java.lang.String DATE_TIME_FORMAT
- Date time format for dates "dd/MM/yyyy HH:mm:ss"
- See Also:
- Constant Field Values
format
public static java.text.SimpleDateFormat format
EditorAndRenderFactory
public EditorAndRenderFactory()
renderValueForColumn
public static java.lang.String renderValueForColumn(java.lang.Object data,
com.explosion.expfmodules.rdbmsconn.dbom.DBEntityColumn dbColumn)
- Converts the data item into a renderable String (if possible)
If the value is null, it returns an empty string
USeful for dates/times and datetimes so far.
- Parameters:
data
- text
- dbColumn
-
- Returns:
convertIntoCorrectTypeForColumn
public static java.lang.Object convertIntoCorrectTypeForColumn(java.lang.Object data,
com.explosion.expfmodules.rdbmsconn.dbom.DBEntityColumn dbColumn)
throws com.explosion.expfmodules.rdbmsconn.dbom.utils.InvalidDataException
- Converts the data item into a renderable String (if possible)
If the value is null, it returns an empty string
USeful for dates/times and datetimes so far.
- Parameters:
data
- text
- dbColumn
-
- Returns:
-
- Throws:
java.text.ParseException
com.explosion.expfmodules.rdbmsconn.dbom.utils.InvalidDataException
Copyright © 2003-2005 Explosion I.T.. All Rights Reserved.