Package convex.gui.components.account
Class KeyPairCombo.KeyPairModel
java.lang.Object
convex.gui.components.account.KeyPairCombo.KeyPairModel
- All Implemented Interfaces:
ComboBoxModel<convex.core.crypto.wallet.AWalletEntry>
,ListModel<convex.core.crypto.wallet.AWalletEntry>
- Enclosing class:
KeyPairCombo
public static class KeyPairCombo.KeyPairModel
extends Object
implements ComboBoxModel<convex.core.crypto.wallet.AWalletEntry>
-
Constructor Summary
ConstructorsConstructorDescriptionKeyPairModel
(DefaultListModel<convex.core.crypto.wallet.AWalletEntry> underlying) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addElement
(convex.core.crypto.wallet.AWalletEntry entry) void
convex.core.crypto.wallet.AWalletEntry
getElementAt
(int index) int
getSize()
void
void
setSelectedItem
(Object anItem)
-
Constructor Details
-
KeyPairModel
-
KeyPairModel
public KeyPairModel()
-
-
Method Details
-
getSize
-
getElementAt
public convex.core.crypto.wallet.AWalletEntry getElementAt(int index) - Specified by:
getElementAt
in interfaceListModel<convex.core.crypto.wallet.AWalletEntry>
-
addListDataListener
- Specified by:
addListDataListener
in interfaceListModel<convex.core.crypto.wallet.AWalletEntry>
-
removeListDataListener
- Specified by:
removeListDataListener
in interfaceListModel<convex.core.crypto.wallet.AWalletEntry>
-
setSelectedItem
- Specified by:
setSelectedItem
in interfaceComboBoxModel<convex.core.crypto.wallet.AWalletEntry>
-
getSelectedItem
- Specified by:
getSelectedItem
in interfaceComboBoxModel<convex.core.crypto.wallet.AWalletEntry>
-
addElement
public void addElement(convex.core.crypto.wallet.AWalletEntry entry)
-