|
||||||||||
| 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 ListSelectionModelinsertIndexInterval in class DefaultListSelectionModelpublic void moveLeadSelectionIndex(int leadIndex)
moveLeadSelectionIndex in class DefaultListSelectionModel
public void removeIndexInterval(int index0,
int index1)
removeIndexInterval in interface ListSelectionModelremoveIndexInterval in class DefaultListSelectionModelpublic void setAnchorSelectionIndex(int anchorIndex)
setAnchorSelectionIndex in interface ListSelectionModelsetAnchorSelectionIndex in class DefaultListSelectionModelpublic void setLeadSelectionIndex(int leadIndex)
setLeadSelectionIndex in interface ListSelectionModelsetLeadSelectionIndex in class DefaultListSelectionModel
public void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface ListSelectionModelsetSelectionInterval in class DefaultListSelectionModel
public void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface ListSelectionModeladdSelectionInterval in class DefaultListSelectionModel
public void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface ListSelectionModelremoveSelectionInterval in class DefaultListSelectionModelpublic void setSelectionMode(int selectionMode)
setSelectionMode in interface ListSelectionModelsetSelectionMode in class DefaultListSelectionModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||