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
public class ProxyListSelectionModel<T> extends Object implements ListSelectionModel
-
-
Field Summary
-
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
-
-
Constructor Summary
Constructors Constructor Description ProxyListSelectionModel(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel)ProxyListSelectionModel(JTable pTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListSelectionListener(ListSelectionListener pListener)voidaddSelectionInterval(int pIdx0, int pIdx1)voidclearSelection()protected voidfireListSelectionEvent(ListSelectionEvent pEvt)intgetAnchorSelectionIndex()intgetLeadSelectionIndex()intgetMaxSelectionIndex()intgetMinSelectionIndex()intgetSelectionMode()booleangetValueIsAdjusting()voidinsertIndexInterval(int pIdx, int pLength, boolean pBefore)booleanisSelectedIndex(int pIdx)booleanisSelectionEmpty()voidremoveIndexInterval(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, wait
-
Methods inherited from interface javax.swing.ListSelectionModel
getSelectedIndices, getSelectedItemsCount
-
-
-
-
Constructor Detail
-
ProxyListSelectionModel
public ProxyListSelectionModel(JTable pTable)
-
ProxyListSelectionModel
public ProxyListSelectionModel(javafx.beans.value.ObservableValue<ListSelectionModel> pObservableListSelectionModel)
-
-
Method Detail
-
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
public void addListSelectionListener(ListSelectionListener pListener)
- Specified by:
addListSelectionListenerin interfaceListSelectionModel
-
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener pListener)
- Specified by:
removeListSelectionListenerin interfaceListSelectionModel
-
fireListSelectionEvent
protected void fireListSelectionEvent(ListSelectionEvent pEvt)
-
-