public class SqlFieldDate extends SqlField
BOOL, DATE, JCOMBOBOXB, JCOMBOBOXD, JCOMBOBOXDC, JCOMBOBOXENUMB, JCOMBOBOXENUMD, JCOMBOBOXENUMDC, JCOMBOBOXENUMF, JCOMBOBOXENUMI, JCOMBOBOXENUML, JCOMBOBOXENUMP, JCOMBOBOXENUMS, JCOMBOBOXENUMTM, JCOMBOBOXENUMTS, JCOMBOBOXF, JCOMBOBOXI, JCOMBOBOXL, JCOMBOBOXP, JCOMBOBOXS, JCOMBOBOXTM, JCOMBOBOXTS, PHONENO, TEXT, TEXTDOUBLE, TEXTFLOAT, TEXTINT, TEXTLONG, TEXTPSWD, TIME, TIMESTAMP
Constructor | Description |
---|---|
SqlFieldDate(com.toedter.calendar.JDateChooser dc,
java.lang.String colName) |
|
SqlFieldDate(com.toedter.calendar.JDateChooser dc,
java.util.GregorianCalendar defaultGC,
java.lang.String colName) |
Modifier and Type | Method | Description |
---|---|---|
java.util.GregorianCalendar |
getCalendar() |
|
java.lang.String |
getCalendarString() |
|
java.lang.String |
getCalendarStringShort() |
|
java.lang.String |
getSqlPutSnippet() |
Get SQL snippet with column name and data.
|
java.lang.String |
presentData(java.lang.String gcs) |
Convert to data from a String
|
void |
resetField() |
Reset field data.
|
void |
setCalendar(java.lang.String gcs) |
|
void |
setCalendar(java.util.Date date) |
|
void |
setCalendar(java.util.GregorianCalendar gc) |
|
void |
setEnableEdit(boolean enableEdit) |
Set editing enable/disable
|
void |
setField(java.sql.ResultSet rs) |
Set data from ResultSet rs
|
java.lang.String |
toString() |
Get data
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnableToggle, getSqlColNames, getSqlSnippet, getType, setEnableToggle
public SqlFieldDate(com.toedter.calendar.JDateChooser dc, java.lang.String colName)
public SqlFieldDate(com.toedter.calendar.JDateChooser dc, java.util.GregorianCalendar defaultGC, java.lang.String colName)
public java.util.GregorianCalendar getCalendar()
public java.lang.String getCalendarString()
public java.lang.String getCalendarStringShort()
public java.lang.String getSqlPutSnippet()
SqlField
getSqlPutSnippet
in class SqlField
public java.lang.String presentData(java.lang.String gcs)
SqlField
presentData
in class SqlField
public java.lang.String toString()
SqlField
public void resetField()
SqlField
resetField
in class SqlField
public void setCalendar(java.util.Date date)
public void setCalendar(java.util.GregorianCalendar gc)
public void setCalendar(java.lang.String gcs)
public void setField(java.sql.ResultSet rs)
SqlField
public void setEnableEdit(boolean enableEdit)
SqlField
setEnableEdit
in class SqlField