MCPcopy Create free account
hub / github.com/PCGen/pcgen / valueChanged

Method valueChanged

code/src/java/pcgen/gui2/dialog/ChooserDialog.java:289–303  ·  view source on GitHub ↗
(ListSelectionEvent e)

Source from the content-addressed store, hash-verified

287 }
288
289 @Override
290 public void valueChanged(ListSelectionEvent e)
291 {
292 if (availTable != null && !e.getValueIsAdjusting())
293 {
294 if (e.getSource() == availTable.getSelectionModel() && availTable.getSelectedObject() instanceof InfoFacade target)
295 {
296 InfoFactory factory = chooser.getInfoFactory();
297 if (factory != null && target != null)
298 {
299 infoPane.setText(factory.getHTMLInfo(target));
300 }
301 }
302 }
303 }
304
305 private void doOK(final javafx.event.ActionEvent event)
306 {

Callers

nothing calls this directly

Calls 5

getHTMLInfoMethod · 0.95
getSelectedObjectMethod · 0.80
getSourceMethod · 0.65
getInfoFactoryMethod · 0.65
setTextMethod · 0.45

Tested by

no test coverage detected