Class SelectList.Row
java.lang.Object
dev.xichil.mvui.SelectList.Row
- Enclosing class:
SelectList
One row of a
SelectList: an id the mod knows it by, and the text shown. Immutable.-
Method Summary
-
Method Details
-
of
A row.- Parameters:
id- identifies the row within its list (any string, e.g. a profile name or database key); whatSelectList.selected()andonSelectreporttext- what the row shows- Returns:
- the row
- Throws:
NullPointerException- if an argument is null
-
id
-
text
-