Descripción
Sintaxis
@JavaBean(defaultProperty="UI", description="A component which allows for the selection of one or more objects from a list.") public class JList<E> extends JComponent implements Scrollable, Accessible
Constructores
Campos
Métodos
- addListSelectionListener()
- addSelectionInterval()
- clearSelection()
- createSelectionModel()
- ensureIndexIsVisible()
- fireSelectionValueChanged()
- getAccessibleContext()
- getAnchorSelectionIndex()
- getCellBounds()
- getCellRenderer()
- getDragEnabled()
- getDropLocation()
- getDropMode()
- getFirstVisibleIndex()
- getFixedCellHeight()
- getFixedCellWidth()
- getLastVisibleIndex()
- getLayoutOrientation()
- getLeadSelectionIndex()
- getListSelectionListeners()
- getMaxSelectionIndex()
- getMinSelectionIndex()
- getModel()
- getNextMatch()
- getPreferredScrollableViewportSize()
- getPrototypeCellValue()
- getScrollableBlockIncrement()
- getScrollableTracksViewportHeight()
- getScrollableTracksViewportWidth()
- getScrollableUnitIncrement()
- getSelectedIndex()
- getSelectedIndices()
- getSelectedValue()
- getSelectedValues()
- getSelectedValuesList()
- getSelectionBackground()
- getSelectionForeground()
- getSelectionMode()
- getSelectionModel()
- getToolTipText()
- getUI()
- getUIClassID()
- getValueIsAdjusting()
- getVisibleRowCount()
- indexToLocation()
- isSelectedIndex()
- isSelectionEmpty()
- locationToIndex()
- paramString()
- removeListSelectionListener()
- removeSelectionInterval()
- setCellRenderer()
- setDragEnabled()
- setDropMode()
- setFixedCellHeight()
- setFixedCellWidth()
- setLayoutOrientation()
- setListData()
- setModel()
- setPrototypeCellValue()
- setSelectedIndex()
- setSelectedIndices()
- setSelectedValue()
- setSelectionBackground()
- setSelectionForeground()
- setSelectionInterval()
- setSelectionMode()
- setSelectionModel()
- setUI()
- setValueIsAdjusting()
- setVisibleRowCount()
- updateUI()
Ejemplo
Artículos
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.