com.cbse.jeasy
Interface JECallBack

All Known Implementing Classes:
JENotepad

public interface JECallBack

The interface JECallBack has to be implemented by the class, to manage all callBack from the JEObject.


Method Summary
 void callBack(java.awt.AWTEvent e, java.lang.String ID, java.lang.String ID_parent)
          All events from the swing components like menus, buttons, checkboxes, datafields are send to this callBack.
 void callBack(java.awt.AWTEvent e, java.lang.String ID, java.lang.String ID_parent, int row, int column)
          All Mouse events from the JETable are send to this callBack.
 void callBack(java.awt.AWTEvent e, java.lang.String ID, java.lang.String ID_parent, java.lang.Object selected)
          All mouseclick events from treenodes or lists are send to this callBack.
 void callBack(javax.swing.event.ChangeEvent e, java.lang.String ID, java.lang.String ID_parent)
          The events from a tabbedpane are send to this callBack.
 void callBack(javax.swing.event.DocumentEvent e, java.lang.String ID, java.lang.String ID_parent)
          All events from the text components like datafields and dataareas are send to this callBack.
 void callBack(javax.swing.event.HyperlinkEvent e, java.lang.String ID, java.lang.String ID_parent)
          All returns from JEEditorPane HyperlinkListener will call this method
 void callBack(javax.swing.event.ListSelectionEvent e, java.lang.String ID, java.lang.String ID_parent, javax.swing.ListSelectionModel lsm)
          All Selection events from the JETable are send to this callBack.
 void callBack(javax.swing.event.TableModelEvent e, java.lang.String ID, java.lang.String ID_parent)
          All events from the TableModel of the JETable are send to this callBack.
 void callBack(javax.swing.event.TreeExpansionEvent e, java.lang.String ID, java.lang.String ID_parent)
          All Expansion events from a JETreeNode are send to this callBack
 void callBack(javax.swing.event.TreeSelectionEvent e, java.lang.String ID, java.lang.String ID_parent, java.lang.String selectedItem)
          All Selection events from a JETreeNode are send to this callBack
 boolean callBackInputVerifier(java.lang.String ID, java.lang.String ID_parentId, java.lang.String text, int error)
          Input Verifiers in SDK 1.3 and FocusLost in SDK 1.2 in will send to this Callback
 void callBackInvoke(java.lang.String xmi)
          All returns from JEMethodinvocation will call this method
 void initJECallBack()
          Should be called before first user action and after initializing all JEObjects
 

Method Detail

initJECallBack

void initJECallBack()
Should be called before first user action and after initializing all JEObjects


callBack

void callBack(java.awt.AWTEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
All events from the swing components like menus, buttons, checkboxes, datafields are send to this callBack.

Parameters:
AWTEvent - the event send by the component
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added

callBack

void callBack(javax.swing.event.DocumentEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
All events from the text components like datafields and dataareas are send to this callBack.

Parameters:
DocumentEvent - the event send by the component
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added

callBack

void callBack(javax.swing.event.TableModelEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
All events from the TableModel of the JETable are send to this callBack.

Parameters:
TableModelEvent - the event send by the TableModel
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added

callBack

void callBack(javax.swing.event.TreeSelectionEvent e,
              java.lang.String ID,
              java.lang.String ID_parent,
              java.lang.String selectedItem)
All Selection events from a JETreeNode are send to this callBack

Parameters:
TreeSelectionEvent -
ID - of the sending JEObject
ID_parent - the id of the JEObject where the component was added

callBack

void callBack(javax.swing.event.TreeExpansionEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
All Expansion events from a JETreeNode are send to this callBack

Parameters:
TreeExpansionEvent -
ID - of the sending JEObject
ID_parent - the id of the JEObject where the component was added

callBack

void callBack(javax.swing.event.ListSelectionEvent e,
              java.lang.String ID,
              java.lang.String ID_parent,
              javax.swing.ListSelectionModel lsm)
All Selection events from the JETable are send to this callBack.

Parameters:
ListSelectionEvent - the event send by the Table
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added
ListSelectionModelID_parent - the id of the JEObject where the component was added

callBack

void callBack(java.awt.AWTEvent e,
              java.lang.String ID,
              java.lang.String ID_parent,
              int row,
              int column)
All Mouse events from the JETable are send to this callBack.

Parameters:
AWTEvent - the event send by the Table
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added
row - the row of the tableModel
column - the column of the tableModel

callBack

void callBack(java.awt.AWTEvent e,
              java.lang.String ID,
              java.lang.String ID_parent,
              java.lang.Object selected)
All mouseclick events from treenodes or lists are send to this callBack.

Parameters:
AWTEvent - the event send by the swing component
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added
selecetd - the selected item clicked on

callBack

void callBack(javax.swing.event.ChangeEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
The events from a tabbedpane are send to this callBack.

Parameters:
ChangeEvent - the event send when a tebbedpane element is activated
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added

callBackInputVerifier

boolean callBackInputVerifier(java.lang.String ID,
                              java.lang.String ID_parentId,
                              java.lang.String text,
                              int error)
Input Verifiers in SDK 1.3 and FocusLost in SDK 1.2 in will send to this Callback

Parameters:
ID - the id of the JEObject
ID_parent - the id of the JEObject where the component was added
text - of the input component
error -

callBackInvoke

void callBackInvoke(java.lang.String xmi)
All returns from JEMethodinvocation will call this method

Parameters:
xmi - xmi String that will be invoked or null if nothimg is to do

callBack

void callBack(javax.swing.event.HyperlinkEvent e,
              java.lang.String ID,
              java.lang.String ID_parent)
All returns from JEEditorPane HyperlinkListener will call this method

Parameters:
xmi - xmi String that will be invoked or null if nothimg is to do