Class PasswordTextBox

    • Constructor Detail

      • PasswordTextBox

        public PasswordTextBox()
        Creates an empty password text box.
      • PasswordTextBox

        protected PasswordTextBox​(Element element)
        This constructor may be used by subclasses to explicitly use an existing element. This element must be an <input> element whose type is 'password'.
        Parameters:
        element - the element to be used
    • Method Detail

      • wrap

        public static PasswordTextBox wrap​(Element element)
        Creates a PasswordTextBox widget that wraps an existing <input type='password'> element. This element must already be attached to the document. If the element is removed from the document, you must call RootPanel.detachNow(Widget).
        Parameters:
        element - the element to be wrapped