javax > javax.swing > javax.swing.defaultlistselectionmodel >

Class: javax.swing.DefaultListSelectionModel
    java.lang.Object
       javax.swing.DefaultListSelectionModel


public class DefaultListSelectionModel extends Object implements ListSelectionModel, Cloneable, Serializable


FIELDS:
protected boolean leadAnchorNotificationEnabled
protected EventListenerList listenerList

CONSTRUCTORS:
public DefaultListSelectionModel()


METHODS:
public void addListSelectionListener(ListSelectionListener l)

public void addSelectionInterval(int index0, int index1)
Throws: IndexOutOfBoundsException

public void clearSelection()

public Object clone()
Throws: CloneNotSupportedException
Overrides: Object

protected void fireValueChanged(boolean isAdjusting)

protected void fireValueChanged(int firstIndex, int lastIndex)

protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting)

public int getAnchorSelectionIndex()

public int getLeadSelectionIndex()

public ListSelectionListener[] getListSelectionListeners()

public Object[] getListeners(Class listenerType)
Throws: ClassCastException

public int getMaxSelectionIndex()

public int getMinSelectionIndex()

public int getSelectionMode()

public boolean getValueIsAdjusting()

public void insertIndexInterval(int index, int length, boolean before)

public boolean isLeadAnchorNotificationEnabled()

public boolean isSelectedIndex(int index)

public boolean isSelectionEmpty()

public void moveLeadSelectionIndex(int leadIndex)

public void removeIndexInterval(int index0, int index1)

public void removeListSelectionListener(ListSelectionListener l)

public void removeSelectionInterval(int index0, int index1)
Throws: IndexOutOfBoundsException

public void setAnchorSelectionIndex(int anchorIndex)

public void setLeadAnchorNotificationEnabled(boolean flag)

public void setLeadSelectionIndex(int leadIndex)

public void setSelectionInterval(int index0, int index1)
Throws: IndexOutOfBoundsException

public void setSelectionMode(int selectionMode)
Throws: IllegalArgumentException

public void setValueIsAdjusting(boolean isAdjusting)

public String toString()
Overrides: Object


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net