Node Director
Public Member Functions | Protected Attributes | List of all members
com.graeff.dbedit.EditUi Class Reference
Inheritance diagram for com.graeff.dbedit.EditUi:
com.graeff.dbedit.EventSource com.graeff.dbedit.EditCLI com.graeff.dbedit.EditDaemon

Public Member Functions

 EditUi (Editor editor, Record data)
void runImport ()
void setExpander (ExpandHook exp)
void eventNotify (GuiEvent evt)
void registerEventListener (Field f)
void unregisterEventListener (Field f)
Field getFieldByAttribute (String attr)
Field getFieldByLabel (String label)
void pullData ()
void putData ()
void setDefaults ()
void exchange (Field source, Vector data, String target)
void textinput (String target, String data)
Vector expand (String template)
Record getData ()
boolean checkData ()
void error (Field f, String msg, boolean serious)
void displayError (String msg, boolean serious)
void error (Field f, String msg)
void warning (Field f, String msg)
Editor getEditor ()
Enumeration fields ()
 return an enumeration of fields managed by this user interface.
void addLoad (String what) throws Exception
 Loads an additional schema.
void removeField (String name)
 Remove a field.
String fancyPrint ()

Protected Attributes

Editor editor
Record data

Constructor & Destructor Documentation

com.graeff.dbedit.EditUi.EditUi ( Editor  editor,
Record  data 
)

Member Function Documentation

void com.graeff.dbedit.EditUi.addLoad ( String  what) throws Exception

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.

Reimplemented in com.graeff.dbedit.EditDaemon.

References com.graeff.dbedit.EditUi.editor, com.graeff.dbedit.Editor.load(), and com.graeff.dbedit.EditUi.runImport().

boolean com.graeff.dbedit.EditUi.checkData ( )
void com.graeff.dbedit.EditUi.displayError ( String  msg,
boolean  serious 
)
void com.graeff.dbedit.EditUi.error ( Field  f,
String  msg,
boolean  serious 
)
void com.graeff.dbedit.EditUi.error ( Field  f,
String  msg 
)
void com.graeff.dbedit.EditUi.eventNotify ( GuiEvent  evt)
void com.graeff.dbedit.EditUi.exchange ( Field  source,
Vector  data,
String  target 
)
Vector com.graeff.dbedit.EditUi.expand ( String  template)
String com.graeff.dbedit.EditUi.fancyPrint ( )
Enumeration com.graeff.dbedit.EditUi.fields ( )
Record com.graeff.dbedit.EditUi.getData ( )
Editor com.graeff.dbedit.EditUi.getEditor ( )
Field com.graeff.dbedit.EditUi.getFieldByAttribute ( String  attr)
Field com.graeff.dbedit.EditUi.getFieldByLabel ( String  label)
void com.graeff.dbedit.EditUi.pullData ( )
void com.graeff.dbedit.EditUi.putData ( )
void com.graeff.dbedit.EditUi.registerEventListener ( Field  f)
void com.graeff.dbedit.EditUi.removeField ( String  name)
void com.graeff.dbedit.EditUi.runImport ( )
void com.graeff.dbedit.EditUi.setDefaults ( )
void com.graeff.dbedit.EditUi.setExpander ( ExpandHook  exp)
void com.graeff.dbedit.EditUi.textinput ( String  target,
String  data 
)
void com.graeff.dbedit.EditUi.unregisterEventListener ( Field  f)
void com.graeff.dbedit.EditUi.warning ( Field  f,
String  msg 
)

Member Data Documentation

Record com.graeff.dbedit.EditUi.data
protected
Editor com.graeff.dbedit.EditUi.editor
protected

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