(ActionEvent ae)
| 104 | } |
| 105 | |
| 106 | public void actionPerformed(ActionEvent ae) |
| 107 | { |
| 108 | try |
| 109 | { |
| 110 | String action = ae.getActionCommand(); |
| 111 | if (action.equals("examine available item")) |
| 112 | examineAvailableItem(); |
| 113 | else if (action.equals("examine current item")) |
| 114 | examineCurrentItem(); |
| 115 | else if (action.equals("add available item")) |
| 116 | addSelectedItem(); |
| 117 | else if (action.equals("remove current item")) |
| 118 | removeSelectedItem(); |
| 119 | } |
| 120 | catch (DBException exc) { |
| 121 | Main.logException("Unable to process database field", exc); |
| 122 | } catch (IOException exc) { |
| 123 | Main.logException("An I/O error occurred", exc); |
| 124 | } catch (Throwable exc) { |
| 125 | Main.logException("Exception while processing action event", exc); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | private void examineCurrentItem() |
| 130 | throws DBException, IOException |
nothing calls this directly
no test coverage detected