public class SqlFieldPassword 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 |
---|---|
SqlFieldPassword(javax.swing.JPasswordField pf,
java.lang.String colName) |
Initialization
|
SqlFieldPassword(javax.swing.JPasswordField pf,
java.lang.String colName,
int mover) |
Initialization
|
SqlFieldPassword(javax.swing.JPasswordField pf,
java.lang.String defaultPassword,
java.lang.String colName) |
Initialization
|
SqlFieldPassword(javax.swing.JPasswordField pf,
java.lang.String defaultPassword,
java.lang.String colName,
int mover) |
Initialization
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPassword() |
Get password value
|
java.lang.String |
getSqlPutSnippet() |
Get SQL Snippet string
|
java.lang.String |
obfuscateRemoveString(java.lang.String in) |
Get unobfuscated password
|
java.lang.String |
obfuscateString(java.lang.String in) |
Get obfuscated password
|
java.lang.String |
presentData(java.lang.String in) |
Get string
|
void |
resetField() |
Reset field to defaults
|
void |
setEnableEdit(boolean enableEdit) |
Enable/disable editing the password
|
void |
setField(java.sql.ResultSet rs) |
Set password from ResultSet
|
void |
setObfuscatorMover(int mover) |
Set amount characters to rotate to obfuscate
|
void |
setPassword(java.lang.String password) |
Set password
|
void |
setPasswordObfuscated(java.lang.String password) |
Set password and obfuscate
|
java.lang.String |
toString() |
Get data type and value
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnableToggle, getSqlColNames, getSqlSnippet, getType, setEnableToggle
public SqlFieldPassword(javax.swing.JPasswordField pf, java.lang.String colName)
pf
- colName
- public SqlFieldPassword(javax.swing.JPasswordField pf, java.lang.String colName, int mover)
pf
- colName
- mover
- public SqlFieldPassword(javax.swing.JPasswordField pf, java.lang.String defaultPassword, java.lang.String colName)
pf
- defaultPassword
- colName
- public SqlFieldPassword(javax.swing.JPasswordField pf, java.lang.String defaultPassword, java.lang.String colName, int mover)
pf
- defaultPassword
- colName
- mover
- public java.lang.String getPassword()
public java.lang.String getSqlPutSnippet()
getSqlPutSnippet
in class SqlField
public java.lang.String presentData(java.lang.String in)
presentData
in class SqlField
in
- public java.lang.String toString()
public void resetField()
resetField
in class SqlField
public void setEnableEdit(boolean enableEdit)
setEnableEdit
in class SqlField
enableEdit
- public void setField(java.sql.ResultSet rs)
public void setObfuscatorMover(int mover)
mover
- public void setPassword(java.lang.String password)
password
- public void setPasswordObfuscated(java.lang.String password)
password
- public java.lang.String obfuscateString(java.lang.String in)
in
- public java.lang.String obfuscateRemoveString(java.lang.String in)
in
-