package jexer;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.List;
import jexer.bits.CellAttributes;
selectedString = index;
}
+ /**
+ * Get a selectable string by index.
+ *
+ * @param idx index into list
+ * @return the string at idx in the list
+ */
+ public final String getListItem(final int idx) {
+ return strings.get(idx);
+ }
+
/**
* Get the selected string.
*