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 TypeMethodDescriptionvoidaddListSelectionListener(ListSelectionListener pListener) voidaddSelectionInterval(int pIdx0, int pIdx1) voidprotected voidintintintintintbooleanvoidinsertIndexInterval(int pIdx, int pLength, boolean pBefore) booleanisSelectedIndex(int pIdx) booleanvoidremoveIndexInterval(int pIdx0, int pIdx1) voidremoveListSelectionListener(ListSelectionListener pListener) voidremoveSelectionInterval(int pIdx0, int pIdx1) voidsetAnchorSelectionIndex(int pIdx) voidsetLeadSelectionIndex(int pIdx) voidsetSelectionInterval(int pIdx0, int pIdx1) voidsetSelectionMode(int pMode) voidsetValueIsAdjusting(boolean pValueIsAdjusting) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
setSelectionIntervalin interfaceListSelectionModel
-
addSelectionInterval
public void addSelectionInterval(int pIdx0, int pIdx1) - Specified by:
addSelectionIntervalin interfaceListSelectionModel
-
removeSelectionInterval
public void removeSelectionInterval(int pIdx0, int pIdx1) - Specified by:
removeSelectionIntervalin interfaceListSelectionModel
-
getMinSelectionIndex
public int getMinSelectionIndex()- Specified by:
getMinSelectionIndexin interfaceListSelectionModel
-
getMaxSelectionIndex
public int getMaxSelectionIndex()- Specified by:
getMaxSelectionIndexin interfaceListSelectionModel
-
isSelectedIndex
public boolean isSelectedIndex(int pIdx) - Specified by:
isSelectedIndexin interfaceListSelectionModel
-
getAnchorSelectionIndex
public int getAnchorSelectionIndex()- Specified by:
getAnchorSelectionIndexin interfaceListSelectionModel
-
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int pIdx) - Specified by:
setAnchorSelectionIndexin interfaceListSelectionModel
-
getLeadSelectionIndex
public int getLeadSelectionIndex()- Specified by:
getLeadSelectionIndexin interfaceListSelectionModel
-
setLeadSelectionIndex
public void setLeadSelectionIndex(int pIdx) - Specified by:
setLeadSelectionIndexin interfaceListSelectionModel
-
clearSelection
public void clearSelection()- Specified by:
clearSelectionin interfaceListSelectionModel
-
isSelectionEmpty
public boolean isSelectionEmpty()- Specified by:
isSelectionEmptyin interfaceListSelectionModel
-
insertIndexInterval
public void insertIndexInterval(int pIdx, int pLength, boolean pBefore) - Specified by:
insertIndexIntervalin interfaceListSelectionModel
-
removeIndexInterval
public void removeIndexInterval(int pIdx0, int pIdx1) - Specified by:
removeIndexIntervalin interfaceListSelectionModel
-
setValueIsAdjusting
public void setValueIsAdjusting(boolean pValueIsAdjusting) - Specified by:
setValueIsAdjustingin interfaceListSelectionModel
-
getValueIsAdjusting
public boolean getValueIsAdjusting()- Specified by:
getValueIsAdjustingin interfaceListSelectionModel
-
setSelectionMode
public void setSelectionMode(int pMode) - Specified by:
setSelectionModein interfaceListSelectionModel
-
getSelectionMode
public int getSelectionMode()- Specified by:
getSelectionModein interfaceListSelectionModel
-
addListSelectionListener
- Specified by:
addListSelectionListenerin interfaceListSelectionModel
-
removeListSelectionListener
- Specified by:
removeListSelectionListenerin interfaceListSelectionModel
-
fireListSelectionEvent
-