Module com.iamsoft.util.ui
Class ProxyListSelectionModel<T>
java.lang.Object
com.iamsoft.util.ui.javafx.swingfx.ProxyListSelectionModel<T>
- Type Parameters:
T
- Row sorter type.
- All Implemented Interfaces:
ListSelectionModel
-
Field Summary
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
-
Constructor Summary
ConstructorsConstructorDescriptionProxyListSelectionModel
(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel) ProxyListSelectionModel
(JTable pTable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListSelectionListener
(ListSelectionListener pListener) void
addSelectionInterval
(int pIdx0, int pIdx1) void
protected void
int
int
int
int
int
boolean
void
insertIndexInterval
(int pIdx, int pLength, boolean pBefore) boolean
isSelectedIndex
(int pIdx) boolean
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.ListSelectionModel
getSelectedIndices, getSelectedItemsCount
-
Constructor Details
-
ProxyListSelectionModel
-
ProxyListSelectionModel
public ProxyListSelectionModel(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel)
-
-
Method Details
-
setSelectionInterval
public void setSelectionInterval(int pIdx0, int pIdx1) - Specified by:
setSelectionInterval
in interfaceListSelectionModel
-
addSelectionInterval
public void addSelectionInterval(int pIdx0, int pIdx1) - Specified by:
addSelectionInterval
in interfaceListSelectionModel
-
removeSelectionInterval
public void removeSelectionInterval(int pIdx0, int pIdx1) - Specified by:
removeSelectionInterval
in interfaceListSelectionModel
-
getMinSelectionIndex
public int getMinSelectionIndex()- Specified by:
getMinSelectionIndex
in interfaceListSelectionModel
-
getMaxSelectionIndex
public int getMaxSelectionIndex()- Specified by:
getMaxSelectionIndex
in interfaceListSelectionModel
-
isSelectedIndex
public boolean isSelectedIndex(int pIdx) - Specified by:
isSelectedIndex
in interfaceListSelectionModel
-
getAnchorSelectionIndex
public int getAnchorSelectionIndex()- Specified by:
getAnchorSelectionIndex
in interfaceListSelectionModel
-
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int pIdx) - Specified by:
setAnchorSelectionIndex
in interfaceListSelectionModel
-
getLeadSelectionIndex
public int getLeadSelectionIndex()- Specified by:
getLeadSelectionIndex
in interfaceListSelectionModel
-
setLeadSelectionIndex
public void setLeadSelectionIndex(int pIdx) - Specified by:
setLeadSelectionIndex
in interfaceListSelectionModel
-
clearSelection
public void clearSelection()- Specified by:
clearSelection
in interfaceListSelectionModel
-
isSelectionEmpty
public boolean isSelectionEmpty()- Specified by:
isSelectionEmpty
in interfaceListSelectionModel
-
insertIndexInterval
public void insertIndexInterval(int pIdx, int pLength, boolean pBefore) - Specified by:
insertIndexInterval
in interfaceListSelectionModel
-
removeIndexInterval
public void removeIndexInterval(int pIdx0, int pIdx1) - Specified by:
removeIndexInterval
in interfaceListSelectionModel
-
setValueIsAdjusting
public void setValueIsAdjusting(boolean pValueIsAdjusting) - Specified by:
setValueIsAdjusting
in interfaceListSelectionModel
-
getValueIsAdjusting
public boolean getValueIsAdjusting()- Specified by:
getValueIsAdjusting
in interfaceListSelectionModel
-
setSelectionMode
public void setSelectionMode(int pMode) - Specified by:
setSelectionMode
in interfaceListSelectionModel
-
getSelectionMode
public int getSelectionMode()- Specified by:
getSelectionMode
in interfaceListSelectionModel
-
addListSelectionListener
- Specified by:
addListSelectionListener
in interfaceListSelectionModel
-
removeListSelectionListener
- Specified by:
removeListSelectionListener
in interfaceListSelectionModel
-
fireListSelectionEvent
-