Class KeyRingPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class KeyRingPanel extends JPanel
A GUI panel displaying the user's current keypairs
See Also:
  • Constructor Details

    • KeyRingPanel

      public KeyRingPanel()
      Create the panel.
  • Method Details

    • addWalletEntry

      public static void addWalletEntry(AWalletEntry we)
    • getListModel

      public static DefaultListModel<AWalletEntry> getListModel()
    • findWalletEntry

      public static AWalletEntry findWalletEntry(Convex convex)
      Gets the correct keypair for a convex connection
      Parameters:
      convex - Convex instance (assumes address is set)
      Returns:
      KeyPair resolved, or null if not available
    • getKeyRingEntry

      public static AWalletEntry getKeyRingEntry(AccountKey publicKey)
      Gets an entry for the current keyring
      Parameters:
      publicKey - Public key to search for
      Returns:
      Wallet Entry, or null if not found