|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.DefaultListSelectionModel
org.knime.core.util.NoSelectionListSelectionModel
public class NoSelectionListSelectionModel
A ListSelectionModel not allowing any selection. As the default model supports only single or multiple selections, we override a couple of methods and provide this wrapper class.
Field Summary |
---|
Fields inherited from class javax.swing.DefaultListSelectionModel |
---|
leadAnchorNotificationEnabled, listenerList |
Fields inherited from interface javax.swing.ListSelectionModel |
---|
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION |
Constructor Summary | |
---|---|
NoSelectionListSelectionModel()
|
Method Summary | |
---|---|
void |
addSelectionInterval(int index0,
int index1)
|
void |
insertIndexInterval(int index,
int length,
boolean before)
|
void |
moveLeadSelectionIndex(int leadIndex)
|
void |
removeIndexInterval(int index0,
int index1)
|
void |
removeSelectionInterval(int index0,
int index1)
|
void |
setAnchorSelectionIndex(int anchorIndex)
|
void |
setLeadSelectionIndex(int leadIndex)
|
void |
setSelectionInterval(int index0,
int index1)
|
void |
setSelectionMode(int selectionMode)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoSelectionListSelectionModel()
Method Detail |
---|
public void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval
in interface ListSelectionModel
insertIndexInterval
in class DefaultListSelectionModel
public void moveLeadSelectionIndex(int leadIndex)
moveLeadSelectionIndex
in class DefaultListSelectionModel
public void removeIndexInterval(int index0, int index1)
removeIndexInterval
in interface ListSelectionModel
removeIndexInterval
in class DefaultListSelectionModel
public void setAnchorSelectionIndex(int anchorIndex)
setAnchorSelectionIndex
in interface ListSelectionModel
setAnchorSelectionIndex
in class DefaultListSelectionModel
public void setLeadSelectionIndex(int leadIndex)
setLeadSelectionIndex
in interface ListSelectionModel
setLeadSelectionIndex
in class DefaultListSelectionModel
public void setSelectionInterval(int index0, int index1)
setSelectionInterval
in interface ListSelectionModel
setSelectionInterval
in class DefaultListSelectionModel
public void addSelectionInterval(int index0, int index1)
addSelectionInterval
in interface ListSelectionModel
addSelectionInterval
in class DefaultListSelectionModel
public void removeSelectionInterval(int index0, int index1)
removeSelectionInterval
in interface ListSelectionModel
removeSelectionInterval
in class DefaultListSelectionModel
public void setSelectionMode(int selectionMode)
setSelectionMode
in interface ListSelectionModel
setSelectionMode
in class DefaultListSelectionModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |