jaxx.runtime.swing
Class OneClicListSelectionModel
java.lang.Object
jaxx.runtime.swing.OneClicListSelectionModel
- All Implemented Interfaces:
- ListSelectionModel
public class OneClicListSelectionModel
- extends Object
- implements ListSelectionModel
- Since:
- 1.5
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected ListSelectionModel delegate
model
protected final ListModel model
OneClicListSelectionModel
public OneClicListSelectionModel(ListSelectionModel delegate,
ListModel model)
getStates
protected boolean[] getStates(int selectedIndex)
setSelectionInterval
public void setSelectionInterval(int index0,
int index1)
- Specified by:
setSelectionInterval in interface ListSelectionModel
addSelectionInterval
public void addSelectionInterval(int index0,
int index1)
- Specified by:
addSelectionInterval in interface ListSelectionModel
removeSelectionInterval
public void removeSelectionInterval(int index0,
int index1)
- Specified by:
removeSelectionInterval in interface ListSelectionModel
getMinSelectionIndex
public int getMinSelectionIndex()
- Specified by:
getMinSelectionIndex in interface ListSelectionModel
getMaxSelectionIndex
public int getMaxSelectionIndex()
- Specified by:
getMaxSelectionIndex in interface ListSelectionModel
isSelectedIndex
public boolean isSelectedIndex(int index)
- Specified by:
isSelectedIndex in interface ListSelectionModel
getAnchorSelectionIndex
public int getAnchorSelectionIndex()
- Specified by:
getAnchorSelectionIndex in interface ListSelectionModel
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int index)
- Specified by:
setAnchorSelectionIndex in interface ListSelectionModel
getLeadSelectionIndex
public int getLeadSelectionIndex()
- Specified by:
getLeadSelectionIndex in interface ListSelectionModel
setLeadSelectionIndex
public void setLeadSelectionIndex(int index)
- Specified by:
setLeadSelectionIndex in interface ListSelectionModel
clearSelection
public void clearSelection()
- Specified by:
clearSelection in interface ListSelectionModel
isSelectionEmpty
public boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty in interface ListSelectionModel
insertIndexInterval
public void insertIndexInterval(int index,
int length,
boolean before)
- Specified by:
insertIndexInterval in interface ListSelectionModel
removeIndexInterval
public void removeIndexInterval(int index0,
int index1)
- Specified by:
removeIndexInterval in interface ListSelectionModel
setValueIsAdjusting
public void setValueIsAdjusting(boolean valueIsAdjusting)
- Specified by:
setValueIsAdjusting in interface ListSelectionModel
getValueIsAdjusting
public boolean getValueIsAdjusting()
- Specified by:
getValueIsAdjusting in interface ListSelectionModel
setSelectionMode
public void setSelectionMode(int selectionMode)
- Specified by:
setSelectionMode in interface ListSelectionModel
getSelectionMode
public int getSelectionMode()
- Specified by:
getSelectionMode in interface ListSelectionModel
addListSelectionListener
public void addListSelectionListener(ListSelectionListener x)
- Specified by:
addListSelectionListener in interface ListSelectionModel
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener x)
- Specified by:
removeListSelectionListener in interface ListSelectionModel
Copyright © 2008-2010 CodeLutin. All Rights Reserved.