SqlFieldBool
, SqlFieldDate
, SqlFieldDouble
, SqlFieldFloat
, SqlFieldIdx
, SqlFieldIndexEnum
, SqlFieldInt
, SqlFieldLong
, SqlFieldPassword
, SqlFieldPhoneNo
, SqlFieldText
, SqlFieldTime
, SqlFieldTimeStamp
public abstract class SqlField
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
BOOL |
|
static int |
DATE |
|
static int |
JCOMBOBOXB |
|
static int |
JCOMBOBOXD |
|
static int |
JCOMBOBOXDC |
|
static int |
JCOMBOBOXENUMB |
|
static int |
JCOMBOBOXENUMD |
|
static int |
JCOMBOBOXENUMDC |
|
static int |
JCOMBOBOXENUMF |
|
static int |
JCOMBOBOXENUMI |
|
static int |
JCOMBOBOXENUML |
|
static int |
JCOMBOBOXENUMP |
|
static int |
JCOMBOBOXENUMS |
|
static int |
JCOMBOBOXENUMTM |
|
static int |
JCOMBOBOXENUMTS |
|
static int |
JCOMBOBOXF |
|
static int |
JCOMBOBOXI |
|
static int |
JCOMBOBOXL |
|
static int |
JCOMBOBOXP |
|
static int |
JCOMBOBOXS |
|
static int |
JCOMBOBOXTM |
|
static int |
JCOMBOBOXTS |
|
static int |
PHONENO |
|
static int |
TEXT |
|
static int |
TEXTDOUBLE |
|
static int |
TEXTFLOAT |
|
static int |
TEXTINT |
|
static int |
TEXTLONG |
|
static int |
TEXTPSWD |
|
static int |
TIME |
|
static int |
TIMESTAMP |
Constructor | Description |
---|---|
SqlField() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
getEnableToggle() |
Enable automatic toggling field's enable/disable when Add,
Delete, or Modify buttons are activated.
|
java.lang.String[] |
getSqlColNames() |
Get SQL Column names.
|
abstract java.lang.String |
getSqlPutSnippet() |
Get SQL snippet with column name and data.
|
java.lang.String |
getSqlSnippet() |
|
int |
getType() |
Get type of SqlField
|
abstract java.lang.String |
presentData(java.lang.String in) |
Convert to data from a String
|
abstract void |
resetField() |
Reset field data.
|
abstract void |
setEnableEdit(boolean enableEdit) |
Set editing enable/disable
|
void |
setEnableToggle() |
Enable automatic enable toggling.
|
abstract void |
setField(java.sql.ResultSet rs) |
Set data from ResultSet rs
|
abstract java.lang.String |
toString() |
Get data
|
public static final int TEXT
public static final int TEXTINT
public static final int TEXTLONG
public static final int TEXTFLOAT
public static final int TEXTDOUBLE
public static final int TEXTPSWD
public static final int BOOL
public static final int JCOMBOBOXI
public static final int JCOMBOBOXL
public static final int JCOMBOBOXF
public static final int JCOMBOBOXD
public static final int JCOMBOBOXS
public static final int JCOMBOBOXB
public static final int JCOMBOBOXP
public static final int JCOMBOBOXDC
public static final int JCOMBOBOXTM
public static final int JCOMBOBOXTS
public static final int JCOMBOBOXENUMI
public static final int JCOMBOBOXENUML
public static final int JCOMBOBOXENUMF
public static final int JCOMBOBOXENUMD
public static final int JCOMBOBOXENUMS
public static final int JCOMBOBOXENUMB
public static final int JCOMBOBOXENUMP
public static final int JCOMBOBOXENUMDC
public static final int JCOMBOBOXENUMTM
public static final int JCOMBOBOXENUMTS
public static final int DATE
public static final int TIME
public static final int TIMESTAMP
public static final int PHONENO
public boolean getEnableToggle()
public java.lang.String[] getSqlColNames()
public abstract java.lang.String getSqlPutSnippet()
public java.lang.String getSqlSnippet()
public int getType()
public abstract java.lang.String presentData(java.lang.String in)
in
- public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract void resetField()
public abstract void setEnableEdit(boolean enableEdit)
enableEdit
- public abstract void setField(java.sql.ResultSet rs)
rs
- public void setEnableToggle()