Uses of Class
ca.corbett.forms.fields.ListField
Packages that use ListField
-
Uses of ListField in ca.corbett.forms.fields
Methods in ca.corbett.forms.fields that return ListFieldModifier and TypeMethodDescriptionListField.setCellRenderer(ListCellRenderer<T> renderer) You can optionally set a custom cell renderer if your list items have special display requirements.ListField.setFixedCellWidth(int width) Sets the pixel width of each list cell.ListField.setLayoutOrientation(int orientation) Sets the layout orientation (allowable values are JList.VERTICAL, JList.VERTICAL_WRAP, and JList.HORIZONTAL_WRAP).ListField.setSelectedIndex(int index) Sets a specific list index to select.ListField.setSelectedIndexes(int[] selection) Sets the selected indexes for the list.ListField.setSelectionMode(int selectionMode) Sets the list selection model (allowable values are ListSelectionModel.SINGLE_SELECTION, ListSelectionModel.MULTIPLE_INTERVAL_SELECTION, and ListSelectionModel.SINGLE_INTERVAL_SELECTION).ListField.setVisibleRowCount(int count) Sets the desired visible row count.