MCPcopy Index your code
hub / github.com/processing/processing / valueChanged

Method valueChanged

app/src/processing/app/tools/CreateFont.java:178–184  ·  view source on GitHub ↗
(ListSelectionEvent e)

Source from the content-addressed store, hash-verified

176 fontSelector = new JList<String>(list);
177 fontSelector.addListSelectionListener(new ListSelectionListener() {
178 public void valueChanged(ListSelectionEvent e) {
179 if (e.getValueIsAdjusting() == false) {
180 selection = fontSelector.getSelectedIndex();
181 okButton.setEnabled(true);
182 update();
183 }
184 }
185 });
186
187 fontSelector.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected