Java Swing Tutorial - JList Example








Field

  1. Java JList HORIZONTAL_WRAP
  2. Java JList VERTICAL
  3. Java JList VERTICAL_WRAP

Constructor

  1. Java JList() Constructor
  2. Java JList(E [] listData) Constructor
  3. Java JList(ListModel < E > dataModel) Constructor
  4. Java JList(Vector listData) Constructor




Method

  1. Java JList .addListSelectionListener (ListSelectionListener listener)
  2. Java JList .addSelectionInterval (int anchor, int lead)
  3. Java JList.clearSelection()
  4. Java JList .getAnchorSelectionIndex ()
  5. Java JList.getCellBounds(int index0, int index1)
  6. Java JList.getCellRenderer()
  7. Java JList.getDragEnabled()
  8. Java JList.getDropMode()
  9. Java JList.getFirstVisibleIndex()
  10. Java JList.getFixedCellHeight()
  11. Java JList.getFixedCellWidth()
  12. Java JList.getLastVisibleIndex()
  13. Java JList.getLayoutOrientation()
  14. Java JList.getLeadSelectionIndex()
  15. Java JList .getListSelectionListeners ()
  16. Java JList.getMaxSelectionIndex()
  17. Java JList.getMinSelectionIndex()
  18. Java JList.getModel()
  19. Java JList.getNextMatch(String prefix, int startIndex, Position.Bias bias)
  20. Java JList .getPreferred Scrollable ViewportSize ()
  21. Java JList.getPrototypeCellValue()
  22. Java JList.getSelectedIndex()
  23. Java JList.getSelectedIndices()
  24. Java JList.getSelectedValue()
  25. Java JList.getSelectedValues()
  26. Java JList.getSelectedValuesList()
  27. Java JList .getSelectionBackground ()
  28. Java JList .getSelectionForeground ()
  29. Java JList.getSelectionMode()
  30. Java JList.getSelectionModel()
  31. Java JList.getVisibleRowCount()
  32. Java JList.isSelectedIndex(int index)
  33. Java JList.isSelectionEmpty()
  34. Java JList.locationToIndex(Point location)
  35. Java JList .removeSelectionInterval (int index0, int index1)
  36. Java JList .setCellRenderer (ListCellRenderer cellRenderer)
  37. Java JList.setDragEnabled(boolean b)
  38. Java JList.setFixedCellHeight(int height)
  39. Java JList.setFixedCellWidth(int width)
  40. Java JList .setLayoutOrientation (int layoutOrientation)
  41. Java JList.setListData(E [] listData)
  42. Java JList.setModel(ListModel < E > model)
  43. Java JList.setPrototypeCellValue(E prototypeCellValue)
  44. Java JList.setSelectedIndex(int index)
  45. Java JList .setSelectedIndices (int[] indices)
  46. Java JList.setSelectedValue(Object anObject, boolean shouldScroll)
  47. Java JList .setSelectionBackground (Color selectionBackground)
  48. Java JList .setSelectionForeground (Color selectionForeground)
  49. Java JList .setSelectionInterval (int anchor, int lead)
  50. Java JList.setSelectionMode(int selectionMode)
  51. Java JList .setValueIsAdjusting (boolean b)
  52. Java JList.setVisibleRowCount(int visibleRowCount)