Node Director
|
Public Member Functions | |
void | init () |
init() will be called on field setup | |
void | fromVector (Vector newdata) |
Vector | toVector () |
String | toString () |
void | textinput (String input) |
void | addToList (String val) |
void | eventNotify (GuiEvent evt) |
void | registerEventListener (Field f) |
void | unregisterEventListener (Field f) |
Enumeration | fields () |
void | addLoad (String name) |
Loads an additional schema. | |
void | removeField (String name) |
Remove a field. | |
void | error (Field source, String msg) |
void | warning (Field source, String msg) |
Vector | expand (String str) |
String | getMaster () |
get the master type of a field. | |
Public Member Functions inherited from com.graeff.dbedit.Field | |
Field () | |
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 str) |
void | exchange (Vector data, Field source) |
void | updated (Vector data, Field source) |
void | setTemplate (Vector data) |
void | guiEvent (GuiEvent evt) |
void | check () |
void | setDefaults () |
boolean | isUpdated () |
void | clearUpdated () |
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 () |
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 Attributes | |
Record | guiTalk |
Field | editField |
Vector | data = new Vector() |
boolean | initialized = false |
String | errorMessage |
boolean | seriousError |
Vector | eventListeners = new Vector() |
Protected Attributes inherited from com.graeff.dbedit.Field | |
IgnoreCaseString | attribute |
Record | record |
Arguments | args |
EventSource | window |
boolean | hasOwnData = false |
Vector | externalData = null |
boolean | wasupdated = false |
Additional Inherited Members | |
Protected Member Functions inherited from com.graeff.dbedit.Field | |
boolean | check (String name, String acceptable, String warnchars) |
Check field contents character by character against a set of accepted characters. |
void com.graeff.dbedit.fields.List.addLoad | ( | String | what | ) |
Loads an additional schema.
This is explicitly allowed during editing, so that fields may be added/removed depending on e.g. field values.
Implements com.graeff.dbedit.EventSource.
void com.graeff.dbedit.fields.List.addToList | ( | String | val | ) |
Reimplemented in sfi.director.gui.fields.HostClassList.
Referenced by com.graeff.dbedit.fields.List.fromVector(), and com.graeff.dbedit.fields.List.textinput().
void com.graeff.dbedit.fields.List.error | ( | Field | source, |
String | msg | ||
) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.List.errorMessage, and com.graeff.dbedit.fields.List.seriousError.
void com.graeff.dbedit.fields.List.eventNotify | ( | GuiEvent | evt | ) |
Vector com.graeff.dbedit.fields.List.expand | ( | String | str | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.EventSource.expand(), and com.graeff.dbedit.Field.window.
Enumeration com.graeff.dbedit.fields.List.fields | ( | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.List.eventListeners.
void com.graeff.dbedit.fields.List.fromVector | ( | Vector | newdata | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.List.addToList(), com.graeff.dbedit.fields.List.data, com.graeff.dbedit.fields.List.editField, and com.graeff.dbedit.Field.toString().
String com.graeff.dbedit.fields.List.getMaster | ( | ) |
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 from com.graeff.dbedit.Field.
void com.graeff.dbedit.fields.List.init | ( | ) |
init() will be called on field setup
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.Field.args, com.graeff.dbedit.fields.List.editField, com.graeff.dbedit.Arguments.getArgument(), com.graeff.dbedit.FieldManager.getField(), com.graeff.dbedit.fields.List.guiTalk, com.graeff.dbedit.Parse.parseLine(), com.graeff.dbedit.EventSource.registerEventListener(), and com.graeff.dbedit.Field.window.
void com.graeff.dbedit.fields.List.registerEventListener | ( | Field | f | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.List.eventListeners.
void com.graeff.dbedit.fields.List.removeField | ( | String | what | ) |
Remove a field.
Implements com.graeff.dbedit.EventSource.
void com.graeff.dbedit.fields.List.textinput | ( | String | input | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.List.addToList(), com.graeff.dbedit.fields.List.data, com.graeff.dbedit.Field.sendOwnData(), and com.graeff.dbedit.Field.sendUpdated().
String com.graeff.dbedit.fields.List.toString | ( | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.List.data, com.graeff.dbedit.fields.List.editField, and com.graeff.dbedit.Field.toString().
Vector com.graeff.dbedit.fields.List.toVector | ( | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.List.data.
void com.graeff.dbedit.fields.List.unregisterEventListener | ( | Field | f | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.List.eventListeners.
void com.graeff.dbedit.fields.List.warning | ( | Field | source, |
String | msg | ||
) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.List.errorMessage, and com.graeff.dbedit.fields.List.seriousError.
|
protected |
|
protected |
|
protected |
Referenced by com.graeff.dbedit.fields.List.error(), and com.graeff.dbedit.fields.List.warning().
|
protected |
|
protected |
Referenced by com.graeff.dbedit.fields.List.init().
|
protected |
|
protected |
Referenced by com.graeff.dbedit.fields.List.error(), and com.graeff.dbedit.fields.List.warning().