Node Director
Public Member Functions | Protected Attributes | List of all members
com.graeff.dbedit.fields.List Class Reference
Inheritance diagram for com.graeff.dbedit.fields.List:
com.graeff.dbedit.Field com.graeff.dbedit.EventSource sfi.director.gui.fields.HostClassList sfi.director.gui.fields.PersonClassList

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.

Member Function Documentation

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)
void com.graeff.dbedit.fields.List.error ( Field  source,
String  msg 
void com.graeff.dbedit.fields.List.eventNotify ( GuiEvent  evt)
Vector com.graeff.dbedit.fields.List.expand ( String  str)
Enumeration com.graeff.dbedit.fields.List.fields ( )
void com.graeff.dbedit.fields.List.fromVector ( Vector  newdata)
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 ( )
void com.graeff.dbedit.fields.List.registerEventListener ( Field  f)
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)
String com.graeff.dbedit.fields.List.toString ( )
Vector com.graeff.dbedit.fields.List.toVector ( )
void com.graeff.dbedit.fields.List.unregisterEventListener ( Field  f)
void com.graeff.dbedit.fields.List.warning ( Field  source,
String  msg 

Member Data Documentation

Vector = new Vector()
Field com.graeff.dbedit.fields.List.editField
String com.graeff.dbedit.fields.List.errorMessage
Vector com.graeff.dbedit.fields.List.eventListeners = new Vector()
Record com.graeff.dbedit.fields.List.guiTalk
boolean com.graeff.dbedit.fields.List.initialized = false
boolean com.graeff.dbedit.fields.List.seriousError

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