KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > DefaultListSelectionModel

javax.swing
Class DefaultListSelectionModel

java.lang.Object
  extended by javax.swing.DefaultListSelectionModel
All Implemented Interfaces:
Serializable, Cloneable, ListSelectionModel
See Also:
Top Examples, Source Code, XMLEncoder

public void addListSelectionListener(ListSelectionListener l)
See Also:
ListSelectionModel.removeIndexInterval(int, int), ListSelectionModel.insertIndexInterval(int, int, boolean), ListSelectionModel.clearSelection(), ListSelectionModel.removeSelectionInterval(int, int), ListSelectionModel.addSelectionInterval(int, int), ListSelectionModel.setSelectionInterval(int, int), ListSelectionModel.removeListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addSelectionInterval(int index0,
                                 int index1)
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void clearSelection()
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object clone()
             throws CloneNotSupportedException
See Also:
Cloneable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultListSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireValueChanged(boolean isAdjusting)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireValueChanged(int firstIndex,
                                int lastIndex)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireValueChanged(int firstIndex,
                                int lastIndex,
                                boolean isAdjusting)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAnchorSelectionIndex()
See Also:
ListSelectionModel.addSelectionInterval(int, int), ListSelectionModel.setSelectionInterval(int, int), ListSelectionModel.getLeadSelectionIndex()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getLeadSelectionIndex()
See Also:
ListSelectionModel.addSelectionInterval(int, int), ListSelectionModel.setSelectionInterval(int, int), ListSelectionModel.getAnchorSelectionIndex()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getListSelectionListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ListSelectionListener[] getListSelectionListeners()
See Also:
removeListSelectionListener(javax.swing.event.ListSelectionListener), addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMaxSelectionIndex()
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMinSelectionIndex()
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectionMode()
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getValueIsAdjusting()
See Also:
ListSelectionModel.setValueIsAdjusting(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insertIndexInterval(int index,
                                int length,
                                boolean before)
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isLeadAnchorNotificationEnabled()
See Also:
setLeadAnchorNotificationEnabled(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSelectedIndex(int index)
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSelectionEmpty()
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean leadAnchorNotificationEnabled
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void moveLeadSelectionIndex(int leadIndex)
See Also:
getLeadSelectionIndex(), setLeadSelectionIndex(int), setAnchorSelectionIndex(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeIndexInterval(int index0,
                                int index1)
See Also:
ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeListSelectionListener(ListSelectionListener l)
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeSelectionInterval(int index0,
                                    int index1)
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setAnchorSelectionIndex(int anchorIndex)
See Also:
setLeadSelectionIndex(int), getAnchorSelectionIndex(), ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLeadAnchorNotificationEnabled(boolean flag)
See Also:
isLeadAnchorNotificationEnabled()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLeadSelectionIndex(int leadIndex)
See Also:
setAnchorSelectionIndex(int), getLeadSelectionIndex(), ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionInterval(int index0,
                                 int index1)
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionMode(int selectionMode)
See Also:
IllegalArgumentException, ListSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setValueIsAdjusting(boolean isAdjusting)
See Also:
ListSelectionModel.getValueIsAdjusting()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags