Node Director
Public Member Functions | Protected Attributes | List of all members
com.graeff.dbedit.fields.Selection Class Reference
Inheritance diagram for com.graeff.dbedit.fields.Selection:
com.graeff.dbedit.Field com.graeff.dbedit.EventSource com.graeff.dbedit.fields.FileSelection sfi.director.gui.fields.DBChoice sfi.director.gui.fields.Invoker sfi.director.gui.fields.Template sfi.director.gui.fields.DocCategory sfi.director.gui.fields.DocLocation sfi.director.gui.fields.DomainTemplate

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.

Member Function Documentation

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 ( )
void com.graeff.dbedit.fields.Selection.error ( Field  source,
String  msg 
void com.graeff.dbedit.fields.Selection.eventNotify ( GuiEvent  evt)
Vector com.graeff.dbedit.fields.Selection.expand ( String  str)
Enumeration com.graeff.dbedit.fields.Selection.fields ( )
void com.graeff.dbedit.fields.Selection.fromVector ( Vector  data)
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.

Record com.graeff.dbedit.fields.Selection.getSchema ( Record  record)

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 ( )
void com.graeff.dbedit.fields.Selection.init ( )
void com.graeff.dbedit.fields.Selection.registerEventListener ( Field  f)
void com.graeff.dbedit.fields.Selection.removeField ( String  what)

Remove a field.

Implements com.graeff.dbedit.EventSource.

void ( int  idx)
String com.graeff.dbedit.fields.Selection.toString ( String  str)
Vector com.graeff.dbedit.fields.Selection.toVector ( )
void com.graeff.dbedit.fields.Selection.unregisterEventListener ( Field  f)
void com.graeff.dbedit.fields.Selection.warning ( Field  source,
String  msg 

Member Data Documentation

Vector com.graeff.dbedit.fields.Selection.choice
Field com.graeff.dbedit.fields.Selection.editField
Vector com.graeff.dbedit.fields.Selection.eventListeners = new Vector()
Record com.graeff.dbedit.fields.Selection.guiTalk
Vector com.graeff.dbedit.fields.Selection.values

The documentation for this class was generated from the following file: