Class HudPasswordFieldUI

  • All Implemented Interfaces:
    javax.swing.text.ViewFactory

    public class HudPasswordFieldUI
    extends javax.swing.plaf.basic.BasicPasswordFieldUI
    Creates a Heads Up Display (HUD) style password field, similar to that seen in various iApps (e.g. iPhoto).
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI

        javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void installUI​(javax.swing.JComponent c)  
      protected void paintSafely​(java.awt.Graphics graphics)  
      • Methods inherited from class javax.swing.plaf.basic.BasicPasswordFieldUI

        create, createUI, getPropertyPrefix, installDefaults
      • Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI

        getBaseline, getBaselineResizeBehavior
      • Methods inherited from class javax.swing.plaf.basic.BasicTextUI

        create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
      • Methods inherited from class javax.swing.plaf.TextUI

        getToolTipText2D
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HudPasswordFieldUI

        public HudPasswordFieldUI()
    • Method Detail

      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicTextUI
      • paintSafely

        protected void paintSafely​(java.awt.Graphics graphics)
        Overrides:
        paintSafely in class javax.swing.plaf.basic.BasicTextUI