Object (int index) { int i = index; if (myNoFontItem != null) { if (index == 0) return myNoFontItem; i --; } List<FontInfo> list = myMonospacedOnly ? myMonoFonts : myAllFonts; return 0 <= i && i < list.size() ? list.get(i) : mySelectedItem; }