private void updateStatusIcon(Recording recording, Label status) { switch (recording.getFileExistsAction()) { case OK: status.setGraphic(mainApp.getGlyph(FontAwesome.Glyph.CHECK)); break; case REPLACE: status.setGraphic(mainApp.getGlyph(FontAwesome.Glyph.EXCLAMATION_CIRCLE)); break; case CANCEL: status.setGraphic(mainApp.getGlyph(FontAwesome.Glyph.CLOSE)); break; } }