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 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)
-
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:
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
public void addListSelectionListener(ListSelectionListener pListener)
- Specified by:
addListSelectionListener
in interfaceListSelectionModel
-
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener pListener)
- Specified by:
removeListSelectionListener
in interfaceListSelectionModel
-
fireListSelectionEvent
protected void fireListSelectionEvent(ListSelectionEvent pEvt)
-
-