Files
2024-06-12 13:10:10 +09:00

1.0 KiB

리스트

  • getModel() / setModel(ListModel)

  • setListData(Object[]) / setListData(Vector) : 데이터를 수정할 수 없다.

  • getLayoutOrientation() / setLayoutOrientation(int) : VERTICAL | HORIZONTAL_WRAP | VERTICAL_WRAP

  • getVisobleRowCount() / setVisibleRowCount(int)

  • getFirstVisibleIndex() / getLastVisibleIndex()

  • ensureIndexIsVisible(int)

  • getSelectionMode() / setSelectionMode(int) : SINGLE_SELECTION | SINGLE_INTERVAL_SELECTION | MULTIPLE_INTERVAL_SELECTION

  • addListSelectionListener(ListSelectionListener)

  • setSelectedIndex(int) / setSelectedIndices(int[]) / setSelectedvalue(Object,int) / setSelectionInterval(int,int)

  • getSelectedIndex() / getSelectedIndices() / getSelectedValue() / getSelectedValues()

  • getMinSelectionIndex() / getMaxSelectionIndex() / getAnchorSelectionIndex() / getLeadSelectionIndex()

  • isSelectionEmpty() / clearSelection()

  • isSelectedIndex(int)

  • setCellRenderer(ListCellRenderer)

  • getDragEnabled() / setDragEnabled(boolean)