public class SqlFieldIndexEnum 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 |
---|---|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
boolean[] eBool,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
boolean[] eBool,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
double[] eDouble,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
double[] eDouble,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
float[] eFloat,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
float[] eFloat,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
int[] eInt,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
int[] eInt,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
long[] eLong,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
long[] eLong,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JPhoneNo[] ePhoneNo,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JPhoneNo[] ePhoneNo,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JTime[] eTime,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JTime[] eTime,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JTimeStamp[] eTimeStamp,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
JTimeStamp[] eTimeStamp,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
com.toedter.calendar.JDateChooser[] eDate,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
com.toedter.calendar.JDateChooser[] eDate,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
java.lang.String[] eString,
int defaultIndex,
java.lang.String colName) |
Shared initialization stuff
|
SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb,
java.lang.String[] eString,
java.lang.String colName) |
Shared initialization stuff
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
getEnumBoolean() |
Get enumerated boolean
|
com.toedter.calendar.JDateChooser |
getEnumDate() |
Get enumerated Date
|
double |
getEnumDouble() |
Get enumerated double
|
float |
getEnumFloat() |
Get enumerated float
|
int |
getEnumInt() |
get Enumerated integer
|
long |
getEnumLong() |
Get enumerated long
|
JPhoneNo |
getEnumPhoneNo() |
Get enumerated PhoneNo
|
java.lang.String |
getEnumString() |
Get enumerated String
|
JTime |
getEnumTime() |
Get enumrated time
|
JTimeStamp |
getEnumTimeStamp() |
Get enumerated timestamp
|
java.lang.String |
getSqlPutSnippet() |
Get Sql Snippet
|
java.lang.String |
presentData(java.lang.String in) |
Convert to data from a String
|
void |
resetField() |
Reset SqlField back to defaults...
|
void |
setEnableEdit(boolean enableEdit) |
Set editing enable/disable
|
void |
setEnum(boolean enumValue) |
Set boolean value
|
void |
setEnum(double enumValue) |
set double value
|
void |
setEnum(float enumValue) |
set float value
|
void |
setEnum(int enumValue) |
Set int value
|
void |
setEnum(long enumValue) |
set long value
|
void |
setEnum(JPhoneNo enumValue) |
Set PhoneNo
|
void |
setEnum(JTime enumValue) |
Set time
|
void |
setEnum(JTimeStamp enumValue) |
Set timestamp
|
void |
setEnum(com.toedter.calendar.JDateChooser enumValue) |
Set date
|
void |
setEnum(java.lang.String enumValue) |
Set String value
|
void |
setField(java.sql.ResultSet rs) |
Set value from ResultSet
|
java.lang.String |
toString() |
Get data
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnableToggle, getSqlColNames, getSqlSnippet, getType, setEnableToggle
public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, int[] eInt, java.lang.String colName)
cb
- eInt
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, long[] eLong, java.lang.String colName)
cb
- eLong
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, float[] eFloat, java.lang.String colName)
cb
- eFloat
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, double[] eDouble, java.lang.String colName)
cb
- eDouble
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, java.lang.String[] eString, java.lang.String colName)
cb
- eString
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, boolean[] eBool, java.lang.String colName)
cb
- eBool
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JPhoneNo[] ePhoneNo, java.lang.String colName)
cb
- ePhoneNo
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, com.toedter.calendar.JDateChooser[] eDate, java.lang.String colName)
cb
- eDate
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JTime[] eTime, java.lang.String colName)
cb
- eTime
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JTimeStamp[] eTimeStamp, java.lang.String colName)
cb
- eTimeStamp
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, int[] eInt, int defaultIndex, java.lang.String colName)
cb
- eInt
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, long[] eLong, int defaultIndex, java.lang.String colName)
cb
- eLong
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, float[] eFloat, int defaultIndex, java.lang.String colName)
cb
- eFloat
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, double[] eDouble, int defaultIndex, java.lang.String colName)
cb
- eDouble
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, java.lang.String[] eString, int defaultIndex, java.lang.String colName)
cb
- eString
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, boolean[] eBool, int defaultIndex, java.lang.String colName)
cb
- eBool
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JPhoneNo[] ePhoneNo, int defaultIndex, java.lang.String colName)
cb
- ePhoneNo
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, com.toedter.calendar.JDateChooser[] eDate, int defaultIndex, java.lang.String colName)
cb
- eDate
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JTime[] eTime, int defaultIndex, java.lang.String colName)
cb
- eTime
- defaultIndex
- colName
- public SqlFieldIndexEnum(javax.swing.JComboBox<java.lang.String> cb, JTimeStamp[] eTimeStamp, int defaultIndex, java.lang.String colName)
cb
- eTimeStamp
- defaultIndex
- colName
- public int getEnumInt()
public long getEnumLong()
public float getEnumFloat()
public double getEnumDouble()
public java.lang.String getEnumString()
public boolean getEnumBoolean()
public JPhoneNo getEnumPhoneNo()
public com.toedter.calendar.JDateChooser getEnumDate()
public JTime getEnumTime()
public JTimeStamp getEnumTimeStamp()
public java.lang.String getSqlPutSnippet()
getSqlPutSnippet
in class SqlField
public java.lang.String presentData(java.lang.String in)
SqlField
presentData
in class SqlField
public java.lang.String toString()
SqlField
public void resetField()
resetField
in class SqlField
public void setEnableEdit(boolean enableEdit)
SqlField
setEnableEdit
in class SqlField
public void setEnum(int enumValue)
enumValue
- public void setEnum(long enumValue)
enumValue
- public void setEnum(float enumValue)
enumValue
- public void setEnum(double enumValue)
enumValue
- public void setEnum(java.lang.String enumValue)
enumValue
- public void setEnum(boolean enumValue)
enumValue
- public void setEnum(JPhoneNo enumValue)
enumValue
- public void setEnum(com.toedter.calendar.JDateChooser enumValue)
enumValue
- public void setEnum(JTime enumValue)
enumValue
- public void setEnum(JTimeStamp enumValue)
enumValue
-