Class VAPIDPublicKeyPropEditor

All Implemented Interfaces:
IThemeListener, IEditedPropControllerOwner<StringProp, String>, IEditedPropertyEntry<StringProp, String>, IEditedPropertyEntryMultiProp<StringProp, String>, IPropertyDefined, IDisposedPart

public class VAPIDPublicKeyPropEditor extends StringPropEditor
The property editor of the VAPID public key: a read-only entry field. The key is generated with its private pair by the Push page's Generate button, which writes it into the container (CC-PUSH-PWA-PAGES, ruling PP-2); typing one here would leave it without its pair, which is in this machine's secrets store.
Author:
Christopher Mindus
  • Constructor Details

    • VAPIDPublicKeyPropEditor

      public VAPIDPublicKeyPropEditor()
      Default constructor called before createControls.
  • Method Details

    • create

      protected void create()
      Creates the property editor controls: the entry field, never editable.
      Overrides:
      create in class StringPropEditor
    • setEditable

      protected void setEditable(boolean on)
      Keeps the entry field read-only whatever the property's state.
      Overrides:
      setEditable in class BaseEditor<StringProp, String>
      Parameters:
      on - The editable state requested, ignored for the entry field.
    • getToolTipText

      protected String getToolTipText()
      Gets the tooltip text to display in the entry field.
      Overrides:
      getToolTipText in class StringPropEditor