(ChangeEvent e)
| 133 | } |
| 134 | |
| 135 | @Override |
| 136 | public void stateChanged(ChangeEvent e) |
| 137 | { |
| 138 | int index = getSelectedIndex(); |
| 139 | CharacterFacade character = index != -1 ? characters.get(index) : null; |
| 140 | frame.setCharacter(character); |
| 141 | if (character != null) |
| 142 | { |
| 143 | infoTabbedPane.setCharacter(character); |
| 144 | } |
| 145 | else |
| 146 | { |
| 147 | infoTabbedPane.clearStateMap(); |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | @Override |
| 152 | public void elementAdded(ListEvent<CharacterFacade> e) |
nothing calls this directly
no test coverage detected