org.xulux.guilayer.swing.models
Class NyxListSelectionModel

java.lang.Object
  extended by org.xulux.guilayer.swing.models.NyxListSelectionModel
All Implemented Interfaces:
javax.swing.ListSelectionModel

public class NyxListSelectionModel
extends java.lang.Object
implements javax.swing.ListSelectionModel

Version:
$Id: NyxListSelectionModel.java,v 1.1 2005/12/18 12:58:21 mvdb Exp $
Author:
Martin van den Bemt

Field Summary
 
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
 
Constructor Summary
NyxListSelectionModel()
           
 
Method Summary
 void addListSelectionListener(javax.swing.event.ListSelectionListener x)
           
 void addSelectionInterval(int index0, int index1)
           
 void clearSelection()
           
 int getAnchorSelectionIndex()
           
 int getLeadSelectionIndex()
           
 int getMaxSelectionIndex()
           
 int getMinSelectionIndex()
           
 int getSelectionMode()
           
 boolean getValueIsAdjusting()
           
 void insertIndexInterval(int index, int length, boolean before)
           
 boolean isSelectedIndex(int index)
           
 boolean isSelectionEmpty()
           
 void removeIndexInterval(int index0, int index1)
           
 void removeListSelectionListener(javax.swing.event.ListSelectionListener x)
           
 void removeSelectionInterval(int index0, int index1)
           
 void setAnchorSelectionIndex(int index)
           
 void setLeadSelectionIndex(int index)
           
 void setSelectionInterval(int index0, int index1)
           
 void setSelectionMode(int selectionMode)
           
 void setValueIsAdjusting(boolean valueIsAdjusting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NyxListSelectionModel

public NyxListSelectionModel()
Method Detail

setSelectionInterval

public void setSelectionInterval(int index0,
                                 int index1)
Specified by:
setSelectionInterval in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.setSelectionInterval(int, int)

addSelectionInterval

public void addSelectionInterval(int index0,
                                 int index1)
Specified by:
addSelectionInterval in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.addSelectionInterval(int, int)

removeSelectionInterval

public void removeSelectionInterval(int index0,
                                    int index1)
Specified by:
removeSelectionInterval in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.removeSelectionInterval(int, int)

getMinSelectionIndex

public int getMinSelectionIndex()
Specified by:
getMinSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getMinSelectionIndex()

getMaxSelectionIndex

public int getMaxSelectionIndex()
Specified by:
getMaxSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getMaxSelectionIndex()

isSelectedIndex

public boolean isSelectedIndex(int index)
Specified by:
isSelectedIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.isSelectedIndex(int)

getAnchorSelectionIndex

public int getAnchorSelectionIndex()
Specified by:
getAnchorSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getAnchorSelectionIndex()

setAnchorSelectionIndex

public void setAnchorSelectionIndex(int index)
Specified by:
setAnchorSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.setAnchorSelectionIndex(int)

getLeadSelectionIndex

public int getLeadSelectionIndex()
Specified by:
getLeadSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getLeadSelectionIndex()

setLeadSelectionIndex

public void setLeadSelectionIndex(int index)
Specified by:
setLeadSelectionIndex in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.setLeadSelectionIndex(int)

clearSelection

public void clearSelection()
Specified by:
clearSelection in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.clearSelection()

isSelectionEmpty

public boolean isSelectionEmpty()
Specified by:
isSelectionEmpty in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.isSelectionEmpty()

insertIndexInterval

public void insertIndexInterval(int index,
                                int length,
                                boolean before)
Specified by:
insertIndexInterval in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.insertIndexInterval(int, int, boolean)

removeIndexInterval

public void removeIndexInterval(int index0,
                                int index1)
Specified by:
removeIndexInterval in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.removeIndexInterval(int, int)

setValueIsAdjusting

public void setValueIsAdjusting(boolean valueIsAdjusting)
Specified by:
setValueIsAdjusting in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.setValueIsAdjusting(boolean)

getValueIsAdjusting

public boolean getValueIsAdjusting()
Specified by:
getValueIsAdjusting in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getValueIsAdjusting()

setSelectionMode

public void setSelectionMode(int selectionMode)
Specified by:
setSelectionMode in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.setSelectionMode(int)

getSelectionMode

public int getSelectionMode()
Specified by:
getSelectionMode in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.getSelectionMode()

addListSelectionListener

public void addListSelectionListener(javax.swing.event.ListSelectionListener x)
Specified by:
addListSelectionListener in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.addListSelectionListener(javax.swing.event.ListSelectionListener)

removeListSelectionListener

public void removeListSelectionListener(javax.swing.event.ListSelectionListener x)
Specified by:
removeListSelectionListener in interface javax.swing.ListSelectionModel
See Also:
ListSelectionModel.removeListSelectionListener(javax.swing.event.ListSelectionListener)


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.