Node Director
|
Public Member Functions | |
void | init () |
init() will be called on field setup | |
void | select (int idx) |
void | fromVector (Vector data) |
String | getText () |
Vector | toVector () |
String | toString (String str) |
void | check () |
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. | |
Record | getSchema (Record schema) |
the same as getSchema(), but the information is added to an existing Record object | |
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 () |
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 | 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. |
Protected Attributes | |
Vector | choice |
Vector | values |
Record | guiTalk |
Field | editField |
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.Selection.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.Selection.check | ( | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.Field.check(), and com.graeff.dbedit.fields.Selection.editField.
void com.graeff.dbedit.fields.Selection.error | ( | Field | source, |
String | msg | ||
) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.EventSource.error(), and com.graeff.dbedit.Field.window.
void com.graeff.dbedit.fields.Selection.eventNotify | ( | GuiEvent | evt | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.Selection.eventListeners, com.graeff.dbedit.Field.Field(), and com.graeff.dbedit.Field.guiEvent().
Referenced by com.graeff.dbedit.fields.Selection.select().
Vector com.graeff.dbedit.fields.Selection.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.Selection.fields | ( | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.Selection.eventListeners.
Referenced by sfi.director.gui.fields.Template.fromVector().
void com.graeff.dbedit.fields.Selection.fromVector | ( | Vector | data | ) |
Reimplemented from com.graeff.dbedit.Field.
Reimplemented in sfi.director.gui.fields.Template.
References com.graeff.dbedit.Field.args, com.graeff.dbedit.fields.Selection.choice, com.graeff.dbedit.Arguments.getArgument(), com.graeff.dbedit.fields.Selection.select(), and com.graeff.dbedit.fields.Selection.values.
String com.graeff.dbedit.fields.Selection.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.
the same as getSchema(), but the information is added to an existing Record object
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.Selection.choice, com.graeff.dbedit.Record.set(), and com.graeff.dbedit.fields.Selection.values.
String com.graeff.dbedit.fields.Selection.getText | ( | ) |
References com.graeff.dbedit.fields.Selection.values.
Referenced by sfi.director.gui.fields.Template.fromVector(), and com.graeff.dbedit.fields.Selection.toVector().
void com.graeff.dbedit.fields.Selection.init | ( | ) |
init() will be called on field setup
Reimplemented from com.graeff.dbedit.Field.
Reimplemented in sfi.director.gui.fields.Template, sfi.director.gui.fields.DBChoice, sfi.director.gui.fields.Invoker, sfi.director.gui.fields.DomainTemplate, sfi.director.gui.fields.DocCategory, com.graeff.dbedit.fields.FileSelection, and sfi.director.gui.fields.DocLocation.
References com.graeff.dbedit.Field.args, com.graeff.dbedit.fields.Selection.choice, com.graeff.dbedit.fields.Selection.editField, com.graeff.dbedit.Arguments.getArgument(), com.graeff.dbedit.FieldManager.getField(), com.graeff.dbedit.fields.Selection.guiTalk, com.graeff.dbedit.Parse.parseLine(), com.graeff.dbedit.Record.split(), and com.graeff.dbedit.fields.Selection.values.
void com.graeff.dbedit.fields.Selection.registerEventListener | ( | Field | f | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.Selection.eventListeners.
void com.graeff.dbedit.fields.Selection.removeField | ( | String | what | ) |
Remove a field.
Implements com.graeff.dbedit.EventSource.
void com.graeff.dbedit.fields.Selection.select | ( | int | idx | ) |
References com.graeff.dbedit.fields.Selection.editField, com.graeff.dbedit.fields.Selection.eventNotify(), com.graeff.dbedit.fields.Selection.guiTalk, com.graeff.dbedit.GuiEvent.PUSH, com.graeff.dbedit.Record.set(), and com.graeff.dbedit.fields.Selection.values.
Referenced by com.graeff.dbedit.fields.Selection.fromVector().
String com.graeff.dbedit.fields.Selection.toString | ( | String | str | ) |
Vector com.graeff.dbedit.fields.Selection.toVector | ( | ) |
Reimplemented from com.graeff.dbedit.Field.
References com.graeff.dbedit.fields.Selection.editField, com.graeff.dbedit.fields.Selection.getText(), and com.graeff.dbedit.Field.toVector().
void com.graeff.dbedit.fields.Selection.unregisterEventListener | ( | Field | f | ) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.fields.Selection.eventListeners.
void com.graeff.dbedit.fields.Selection.warning | ( | Field | source, |
String | msg | ||
) |
Implements com.graeff.dbedit.EventSource.
References com.graeff.dbedit.EventSource.warning(), and com.graeff.dbedit.Field.window.
|
protected |
Referenced by com.graeff.dbedit.fields.Selection.fromVector(), com.graeff.dbedit.fields.Selection.getSchema(), com.graeff.dbedit.fields.FileSelection.init(), sfi.director.gui.fields.Template.init(), sfi.director.gui.fields.Invoker.init(), sfi.director.gui.fields.DBChoice.init(), com.graeff.dbedit.fields.Selection.init(), and com.graeff.dbedit.fields.Selection.toString().
|
protected |
|
protected |
|
protected |
Referenced by com.graeff.dbedit.fields.Selection.init(), and com.graeff.dbedit.fields.Selection.select().
|
protected |
Referenced by com.graeff.dbedit.fields.Selection.fromVector(), com.graeff.dbedit.fields.Selection.getSchema(), com.graeff.dbedit.fields.Selection.getText(), com.graeff.dbedit.fields.FileSelection.init(), sfi.director.gui.fields.Template.init(), sfi.director.gui.fields.Invoker.init(), sfi.director.gui.fields.DBChoice.init(), com.graeff.dbedit.fields.Selection.init(), com.graeff.dbedit.fields.Selection.select(), and com.graeff.dbedit.fields.Selection.toString().