Serializable
, Cloneable
, ListSelectionModel
public class CertificateSelection extends DefaultListSelectionModel
Modifier and Type | Field | Description |
---|---|---|
protected CertificateStore |
store |
leadAnchorNotificationEnabled, listenerList
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
Constructor | Description |
---|---|
CertificateSelection(CertificateStore store) |
Modifier and Type | Method | Description |
---|---|---|
CertificatePair |
getCertificatePair() |
Retrieve the currently selected certificate, or
null if none |
int |
getIndex() |
Retrieve the currently selected index, or
-1 if none |
void |
setSelection(int index) |
Set the current selection by index
|
void |
setSelection(CertificatePair c) |
Set the current selection by object
|
addListSelectionListener, addSelectionInterval, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting, toString
protected CertificateStore store
public CertificateSelection(CertificateStore store)
public void setSelection(int index)
public void setSelection(CertificatePair c)
public int getIndex()
-1
if nonepublic CertificatePair getCertificatePair()
null
if noneCopyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.