# Appendix C
JClass BWT Event Summary

Event Summary Table · AWT 1.0 Event Conversion Table

BWT 1.0 Callback Conversion Table

## Event Summary Table

The following table summarizes all BWT components and their events. The first column lists each component. The second column lists the events generated by the component. The third column lists the listener interface. The fourth column lists the methods in each listener interface.

Component | Event | Interface Registration | Interface Methods
--- | --- | --- | ---
`JCArrowButton` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCButtonEvent` | `addButtonListener( JCButtonListener)` | `buttonArmBegin(JCButtonEvent)` `buttonArmEnd(JCButtonEvent)` `buttonDisarmBegin(JCButtonEvent)` `buttonDisarmEnd(JCButtonEvent)` |
`JCButton` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCButtonEvent` | `addButtonListener( JCButtonListener)` | `buttonArmBegin(JCButtonEvent)` `buttonArmEnd(JCButtonEvent)` `buttonDisarmBegin(JCButtonEvent)` `buttonDisarmEnd(JCButtonEvent)`
`JCCheckbox` | `JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCCheckboxGroup` | `JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCComboBox` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCComboBoxEvent` | `addComboBoxListener( JCComboBoxListener)` | `comboBoxListDisplayBegin(JCComboBoxEvent)` `comboBoxListDisplayEnd(JCComboBoxEvent)`
`JCList` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCListEvent` | `addItemListener( JCListListener)` | `itemStateChanged(JCItemEvent)` `listItemSelectBegin(JCListEvent)` `listItemSelectEnd(JCListEvent)`
`JCMultiColumnList` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCListEvent` | `addItemListener( JCListListener)` | `itemStateChanged(JCItemEvent)` `listItemSelectBegin(JCListEvent)` `listItemSelectEnd(JCListEvent)`
`JCOutliner` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCItemEvent` | `addItemListener( JCItemListener)` | `itemStateChanged(JCItemEvent)`
`JCOutlinerEvent` | `addItemListener( JCOutlinerListener)` | `outlinerNodeSelectBegin(JCOutlinerEvent)` `outlinerNodeSelectEnd(JCOutlinerEvent)` `outlinerFolderStateChangeBegin(JCOutlinerEvent)` `outlinerFolderStateChangeEnd(JCOutlinerEvent)`
`JCScrollbar` | `JCAdjustmentEvent` | `addAdjustmentListener( JCAdjustmentListener)` | `adjustmentValueChanged(JCAdjustmentEvent)`
`JCSlider` | `JCAdjustmentEvent` | `addAdjustmentListener( JCAdjustmentListener)` | `adjustmentValueChanged(JCAdjustmentEvent)`
`JCSpinBox` | `JCSpinBoxEvent` | `addSpinBoxListener( JCSpinBoxListener)` | `spinBoxChangeBegin(JCSpinBoxEvent)` `spinBoxChangeEnd(JCSpinBoxEvent)`
`JCTabManager` | `JCTabManagerEvent` | `addTabManagerListener( JCTabManagerListener)` | `tabManagerChangeBegin(JCTabManagerEvent)` `tabManagerChangeEnd(JCTabManagerEvent)`
`JCTextArea` | `JCTextEvent` | `addTextListener( JCTextListener)` | `textValueChangeBegin(JCTextEvent)` `textValueChangeEnd(JCTextEvent)`
`JCTextCursorEvent` | `addTextCursorListener( JCTextListener)` | `textCursorMoveBegin(JCTextCursorEvent)` `textCursorMoveEnd(JCTextCursorEvent)`
`JCTextField` | `JCActionEvent` | `addActionListener( JCActionListener)` | `actionPerformed(JCActionEvent)`
`JCTextCursorEvent` | `addTextCursorListener( JCTextListener)` | `textCursorMoveBegin(JCTextCursorEvent)` `textCursorMoveEnd(JCTextCursorEvent)`

## AWT 1.0 Event Conversion Table

The following table maps 1.0 events to their 2.0 counterparts. The first column lists each 1.0 event type, along with the name of the method (if any) that is specific to the event. Where no method is listed, the event is always handled in the `handleEvent` method. The second column lists the 1.0 components that can generate the event type. The third column lists the listener interface. that defines how to handle the 2.0 equivalents of the listed events. The fourth column lists the methods in each listener interface.

1.0 | 2.0
--- | ---
Event/Method | Generated By | Interface | Methods
`ACTION_EVENT/action` | `JCButton`, `JCList`, `JCMultiColumnList`, `JCOutliner` | `JCActionListener` | `actionPerformed(JCActionEvent)`
`JCCheckbox`, | `JCItemListener` | `itemStateChanged(JCItemEvent)`
`SCROLL_LINE_UP` `SCROLL_LINE_DOWN` `SCROLL_PAGE_UP` `SCROLL_PAGE_DOWN` `SCROLL_ABSOLUTE` `SCROLL_BEGIN` `SCROLL_END` | `JCScrollbar` | `JCAdjustmentListener` | `adjustmentValueChanged(JCAdjustmentEvent)`
`LIST_SELECT` `LIST_DESELECT` | `JCList`, `JCMultiColumnList`, `JCOutliner` | `JCItemListener` | `itemStateChanged(JCItemEvent)`

## BWT 1.0 Callback Conversion Table

The following table maps 1.0 callbacks to their 2.0 counterparts. The first column lists each BWTCallback reason and its associated info object. The second column lists the components that can generate the callback. The third column lists the listener interface. that defines how to handle the 2.0 equivalents of the listed events. The fourth column lists the methods in each listener interface.

1.0 | 2.0
--- | ---
BWTCallback Reason/Info | Generated By | Interface | Methods
`BUTTON_ACTION/BWTCallbackInfo` `BUTTON_ARM/BWTCallbackInfo` `BUTTON_DISARM/BWTCallbackInfo` | `JCButton` | `JCActionListener` | `actionPerformed(JCActionEvent)`
`LIST_ACTION/BWTListInfo` | `JCList` | `JCActionListener` | `actionPerformed(JCActionEvent)`
`LIST_SELECT/JCListInfo` | `JCList` | `JCItemListener` | `itemStateChanged(JCItemEvent)`
`OUTLINER_ACTION/BWTOutlinerActionInfo` | `JCOutliner` | `JCActionListener` | `actionPerformed(JCActionEvent)`
`OUTLINER_SELECT/JCOutlinerInfo` | `JCOutliner` | `JCItemListener` | `itemStateChanged(JCItemEvent)`
`SCROLL` | `JCScrollbar` | `JCAdjustmentListener` | `adjustmentValueChanged(JCAdjustmentEvent)`
`TABMANAGER/JCTabManagerInfo` | `JCTabManager` | `JCTabManagerEvent` | `tabManagerChangeBegin(JCTabManagerEvent)` `tabManagerChangeEnd(JCTabManagerEvent)`