Inheritance diagram for com.graeff.dbedit.Field:

Public Member Functions | |
| Field () | |
| void | init () |
| init() will be called on field setup | |
| void | deinit () |
| deinit() will be called on field removal. | |
| void | setAttribute (String name) |
| String | getAttribute () |
| void | setRecord (Record rec) |
| void | setArgs (Arguments args) |
| Arguments | getArgs () |
| void | setExternalData (Vector data) |
| void | setWindow (EventSource win) |
| String | toString () |
| String | toString (String str) |
| void | fromVector (Vector data) |
| Vector | toVector () |
| void | exchange (Vector data, Field source) |
| void | textinput (String data) |
| void | updated (Vector data, Field source) |
| void | setTemplate (Vector data) |
| void | guiEvent (GuiEvent evt) |
| void | check () |
| void | setDefaults () |
| void | sendUpdated () |
| void | sendUpdated (Vector data) |
| void | sendSetTemplate (String field, String template) |
| void | sendSetTemplate (String field, Vector template) |
| void | sendOwnData () |
| void | sendTextinput (String field, String data) |
| boolean | hasOwnData () |
| String | getMaster () |
| get the master type of a field. | |
| Record | getSchema () |
| get additional schema information. | |
| Record | getSchema (Record record) |
| the same as getSchema(), but the information is added to an existing Record object | |
Protected Member Functions | |
| boolean | check (String name, String acceptable, String warnchars) |
| Check field contents character by character against a set of accepted characters. | |
Protected Attributes | |
| IgnoreCaseString | attribute |
| Record | record |
| Arguments | args |
| EventSource | window |
| boolean | hasOwnData = false |
| Vector | externalData = null |
|
|
|
|
||||||||||||||||
|
Check field contents character by character against a set of accepted characters. Raise an error if the field contains an invalid character, raise a warning if field contains a character it should better not contain. |
|
|
|
deinit() will be called on field removal. deinit() is not necessarily called when the editor terminates. It's actually meant for unloading fields during an ongoint edit operation. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
get the master type of a field. The master type usually is a kind of super class - e.g. the master of most fields basing on List is "List". The master defaults to "Text". Reimplemented in com.graeff.dbedit.fields.CheckBox, com.graeff.dbedit.fields.List, com.graeff.dbedit.fields.Selection, and com.graeff.dbedit.fields.Text. |
|
|
the same as getSchema(), but the information is added to an existing Record object
Reimplemented in com.graeff.dbedit.fields.Selection. |
|
|
get additional schema information. When a field definition is translated into Record format all attributes/options are translated into a key -> value(s) association. Special fields may get asked for their specific information via this method.
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in com.graeff.dbedit.fields.List, and com.graeff.dbedit.fields.Password. |
|
|
Reimplemented in sfi.director.gui.fields.Application, and com.graeff.dbedit.fields.Selection. |
|
|
Reimplemented in com.graeff.dbedit.fields.List. |
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5