T
- Row sorter type.public class ProxyListSelectionModel<T> extends Object implements ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
Constructor and Description |
---|
ProxyListSelectionModel(JTable pTable) |
ProxyListSelectionModel(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel) |
Modifier and Type | Method and Description |
---|---|
void |
addListSelectionListener(ListSelectionListener pListener) |
void |
addSelectionInterval(int pIdx0,
int pIdx1) |
void |
clearSelection() |
protected void |
fireListSelectionEvent(ListSelectionEvent pEvt) |
int |
getAnchorSelectionIndex() |
int |
getLeadSelectionIndex() |
int |
getMaxSelectionIndex() |
int |
getMinSelectionIndex() |
int |
getSelectionMode() |
boolean |
getValueIsAdjusting() |
void |
insertIndexInterval(int pIdx,
int pLength,
boolean pBefore) |
boolean |
isSelectedIndex(int pIdx) |
boolean |
isSelectionEmpty() |
void |
removeIndexInterval(int pIdx0,
int pIdx1) |
void |
removeListSelectionListener(ListSelectionListener pListener) |
void |
removeSelectionInterval(int pIdx0,
int pIdx1) |
void |
setAnchorSelectionIndex(int pIdx) |
void |
setLeadSelectionIndex(int pIdx) |
void |
setSelectionInterval(int pIdx0,
int pIdx1) |
void |
setSelectionMode(int pMode) |
void |
setValueIsAdjusting(boolean pValueIsAdjusting) |
public ProxyListSelectionModel(JTable pTable)
public ProxyListSelectionModel(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel)
public void setSelectionInterval(int pIdx0, int pIdx1)
setSelectionInterval
in interface ListSelectionModel
public void addSelectionInterval(int pIdx0, int pIdx1)
addSelectionInterval
in interface ListSelectionModel
public void removeSelectionInterval(int pIdx0, int pIdx1)
removeSelectionInterval
in interface ListSelectionModel
public int getMinSelectionIndex()
getMinSelectionIndex
in interface ListSelectionModel
public int getMaxSelectionIndex()
getMaxSelectionIndex
in interface ListSelectionModel
public boolean isSelectedIndex(int pIdx)
isSelectedIndex
in interface ListSelectionModel
public int getAnchorSelectionIndex()
getAnchorSelectionIndex
in interface ListSelectionModel
public void setAnchorSelectionIndex(int pIdx)
setAnchorSelectionIndex
in interface ListSelectionModel
public int getLeadSelectionIndex()
getLeadSelectionIndex
in interface ListSelectionModel
public void setLeadSelectionIndex(int pIdx)
setLeadSelectionIndex
in interface ListSelectionModel
public void clearSelection()
clearSelection
in interface ListSelectionModel
public boolean isSelectionEmpty()
isSelectionEmpty
in interface ListSelectionModel
public void insertIndexInterval(int pIdx, int pLength, boolean pBefore)
insertIndexInterval
in interface ListSelectionModel
public void removeIndexInterval(int pIdx0, int pIdx1)
removeIndexInterval
in interface ListSelectionModel
public void setValueIsAdjusting(boolean pValueIsAdjusting)
setValueIsAdjusting
in interface ListSelectionModel
public boolean getValueIsAdjusting()
getValueIsAdjusting
in interface ListSelectionModel
public void setSelectionMode(int pMode)
setSelectionMode
in interface ListSelectionModel
public int getSelectionMode()
getSelectionMode
in interface ListSelectionModel
public void addListSelectionListener(ListSelectionListener pListener)
addListSelectionListener
in interface ListSelectionModel
public void removeListSelectionListener(ListSelectionListener pListener)
removeListSelectionListener
in interface ListSelectionModel
protected void fireListSelectionEvent(ListSelectionEvent pEvt)
Copyright © 2023. All rights reserved.