Package org.ujmp.gui.table
Class FastListSelectionModel64
- java.lang.Object
-
- org.ujmp.gui.table.FastListSelectionModel64
-
- All Implemented Interfaces:
javax.swing.ListSelectionModel
,ListSelectionModel64
public class FastListSelectionModel64 extends java.lang.Object implements ListSelectionModel64
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.event.EventListenerList
listenerList
private long
maxIndex
private long
minIndex
private int
selectionMode
private boolean
valueIsAdjusting
-
Constructor Summary
Constructors Constructor Description FastListSelectionModel64()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListSelectionListener(javax.swing.event.ListSelectionListener l)
void
addListSelectionListener(ListSelectionListener64 l)
void
addSelectionInterval(int index0, int index1)
void
addSelectionInterval(long index0, long index1)
void
clearSelection()
private void
fireValueChanged()
protected void
fireValueChanged(long firstIndex, long lastIndex)
protected void
fireValueChanged(long firstIndex, long lastIndex, boolean isAdjusting)
int
getAnchorSelectionIndex()
long
getAnchorSelectionIndex64()
int
getLeadSelectionIndex()
long
getLeadSelectionIndex64()
int
getMaxSelectionIndex()
long
getMaxSelectionIndex64()
int
getMinSelectionIndex()
long
getMinSelectionIndex64()
int
getSelectionMode()
boolean
getValueIsAdjusting()
void
insertIndexInterval(int index, int length, boolean before)
void
insertIndexInterval(long index, long length, boolean before)
boolean
isSelectedIndex(int index)
boolean
isSelectedIndex(long index)
boolean
isSelectionEmpty()
void
removeIndexInterval(int index0, int index1)
void
removeIndexInterval(long index0, long index1)
void
removeListSelectionListener(javax.swing.event.ListSelectionListener l)
void
removeListSelectionListener(ListSelectionListener64 l)
void
removeSelectionInterval(int index0, int index1)
void
removeSelectionInterval(long index0, long index1)
void
setAnchorSelectionIndex(int index)
void
setAnchorSelectionIndex(long index)
void
setLeadSelectionIndex(int index)
void
setLeadSelectionIndex(long index)
void
setSelectionInterval(int index0, int index1)
void
setSelectionInterval(long index0, long index1)
void
setSelectionMode(int selectionMode)
void
setValueIsAdjusting(boolean valueIsAdjusting)
-
-
-
Field Detail
-
selectionMode
private final int selectionMode
- See Also:
- Constant Field Values
-
listenerList
private final javax.swing.event.EventListenerList listenerList
-
minIndex
private long minIndex
-
maxIndex
private long maxIndex
-
valueIsAdjusting
private boolean valueIsAdjusting
-
-
Method Detail
-
addListSelectionListener
public final void addListSelectionListener(javax.swing.event.ListSelectionListener l)
- Specified by:
addListSelectionListener
in interfacejavax.swing.ListSelectionModel
-
removeListSelectionListener
public final void removeListSelectionListener(javax.swing.event.ListSelectionListener l)
- Specified by:
removeListSelectionListener
in interfacejavax.swing.ListSelectionModel
-
addListSelectionListener
public final void addListSelectionListener(ListSelectionListener64 l)
- Specified by:
addListSelectionListener
in interfaceListSelectionModel64
-
removeListSelectionListener
public final void removeListSelectionListener(ListSelectionListener64 l)
- Specified by:
removeListSelectionListener
in interfaceListSelectionModel64
-
addSelectionInterval
public final void addSelectionInterval(int index0, int index1)
- Specified by:
addSelectionInterval
in interfacejavax.swing.ListSelectionModel
-
addSelectionInterval
public final void addSelectionInterval(long index0, long index1)
- Specified by:
addSelectionInterval
in interfaceListSelectionModel64
-
fireValueChanged
protected final void fireValueChanged(long firstIndex, long lastIndex)
-
fireValueChanged
protected final void fireValueChanged(long firstIndex, long lastIndex, boolean isAdjusting)
-
clearSelection
public final void clearSelection()
- Specified by:
clearSelection
in interfacejavax.swing.ListSelectionModel
-
fireValueChanged
private final void fireValueChanged()
-
getMinSelectionIndex
public final int getMinSelectionIndex()
- Specified by:
getMinSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
getMinSelectionIndex64
public final long getMinSelectionIndex64()
- Specified by:
getMinSelectionIndex64
in interfaceListSelectionModel64
-
getAnchorSelectionIndex
public final int getAnchorSelectionIndex()
- Specified by:
getAnchorSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
getAnchorSelectionIndex64
public final long getAnchorSelectionIndex64()
- Specified by:
getAnchorSelectionIndex64
in interfaceListSelectionModel64
-
getLeadSelectionIndex
public final int getLeadSelectionIndex()
- Specified by:
getLeadSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
getLeadSelectionIndex64
public final long getLeadSelectionIndex64()
- Specified by:
getLeadSelectionIndex64
in interfaceListSelectionModel64
-
getMaxSelectionIndex
public final int getMaxSelectionIndex()
- Specified by:
getMaxSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
getMaxSelectionIndex64
public final long getMaxSelectionIndex64()
- Specified by:
getMaxSelectionIndex64
in interfaceListSelectionModel64
-
getSelectionMode
public final int getSelectionMode()
- Specified by:
getSelectionMode
in interfacejavax.swing.ListSelectionModel
-
getValueIsAdjusting
public final boolean getValueIsAdjusting()
- Specified by:
getValueIsAdjusting
in interfacejavax.swing.ListSelectionModel
-
insertIndexInterval
public final void insertIndexInterval(int index, int length, boolean before)
- Specified by:
insertIndexInterval
in interfacejavax.swing.ListSelectionModel
-
insertIndexInterval
public final void insertIndexInterval(long index, long length, boolean before)
- Specified by:
insertIndexInterval
in interfaceListSelectionModel64
-
isSelectedIndex
public final boolean isSelectedIndex(int index)
- Specified by:
isSelectedIndex
in interfacejavax.swing.ListSelectionModel
-
isSelectedIndex
public final boolean isSelectedIndex(long index)
- Specified by:
isSelectedIndex
in interfaceListSelectionModel64
-
isSelectionEmpty
public final boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty
in interfacejavax.swing.ListSelectionModel
-
removeIndexInterval
public final void removeIndexInterval(int index0, int index1)
- Specified by:
removeIndexInterval
in interfacejavax.swing.ListSelectionModel
-
removeIndexInterval
public final void removeIndexInterval(long index0, long index1)
- Specified by:
removeIndexInterval
in interfaceListSelectionModel64
-
removeSelectionInterval
public final void removeSelectionInterval(int index0, int index1)
- Specified by:
removeSelectionInterval
in interfacejavax.swing.ListSelectionModel
-
removeSelectionInterval
public final void removeSelectionInterval(long index0, long index1)
- Specified by:
removeSelectionInterval
in interfaceListSelectionModel64
-
setAnchorSelectionIndex
public final void setAnchorSelectionIndex(int index)
- Specified by:
setAnchorSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
setAnchorSelectionIndex
public final void setAnchorSelectionIndex(long index)
- Specified by:
setAnchorSelectionIndex
in interfaceListSelectionModel64
-
setLeadSelectionIndex
public final void setLeadSelectionIndex(int index)
- Specified by:
setLeadSelectionIndex
in interfacejavax.swing.ListSelectionModel
-
setLeadSelectionIndex
public final void setLeadSelectionIndex(long index)
- Specified by:
setLeadSelectionIndex
in interfaceListSelectionModel64
-
setSelectionInterval
public final void setSelectionInterval(int index0, int index1)
- Specified by:
setSelectionInterval
in interfacejavax.swing.ListSelectionModel
-
setSelectionInterval
public final void setSelectionInterval(long index0, long index1)
- Specified by:
setSelectionInterval
in interfaceListSelectionModel64
-
setSelectionMode
public final void setSelectionMode(int selectionMode)
- Specified by:
setSelectionMode
in interfacejavax.swing.ListSelectionModel
-
setValueIsAdjusting
public final void setValueIsAdjusting(boolean valueIsAdjusting)
- Specified by:
setValueIsAdjusting
in interfacejavax.swing.ListSelectionModel
-
-