(ActionEvent ae)
| 127 | } |
| 128 | |
| 129 | public void actionPerformed(ActionEvent ae) |
| 130 | { |
| 131 | try |
| 132 | { |
| 133 | String action = ae.getActionCommand(); |
| 134 | if (action.equals("examine available item")) |
| 135 | examineAvailableItem(); |
| 136 | else if (action.equals("examine current item")) |
| 137 | examineCurrentItem(); |
| 138 | else if (action.equals("add available item")) |
| 139 | addSelectedItem(); |
| 140 | else if (action.equals("remove current item")) |
| 141 | removeSelectedItem(); |
| 142 | } |
| 143 | catch (DBException exc) { |
| 144 | Main.logException("Unable to process database field", exc); |
| 145 | } catch (IOException exc) { |
| 146 | Main.logException("An I/O error occurred", exc); |
| 147 | } catch (Throwable exc) { |
| 148 | Main.logException("Exception while processing action event", exc); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | private void examineCurrentItem() |
| 153 | throws DBException, IOException |
nothing calls this directly
no test coverage detected