Class PasswordStrengthCheckerWidget
java.lang.Object
org.pushingpixels.radiance.theming.api.RadianceThemingWidget<JPasswordField>
org.pushingpixels.radiance.theming.internal.widget.text.PasswordStrengthCheckerWidget
Adds password strength indication on password fields.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classBorder with password strength indication.private static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PropertyChangeListenerListens on changes toRadianceSynapse.PASSWORD_STRENGTH_CHECKERproperty.Fields inherited from class RadianceThemingWidget
jcomp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInstalls default settings for the associated component.voidInstalls listeners for the associated component.private static voidpaintRectangularBackground(Component c, Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, float borderAlpha, boolean isVertical) voidUninstalls listeners for the associated component.Methods inherited from class RadianceThemingWidget
installComponents, installUI, setComponent, uninstallComponents, uninstallDefaults, uninstallUI
-
Field Details
-
strengthCheckerListener
Listens on changes toRadianceSynapse.PASSWORD_STRENGTH_CHECKERproperty.
-
-
Constructor Details
-
PasswordStrengthCheckerWidget
public PasswordStrengthCheckerWidget()
-
-
Method Details
-
installListeners
public void installListeners()Description copied from class:RadianceThemingWidgetInstalls listeners for the associated component.- Overrides:
installListenersin classRadianceThemingWidget<JPasswordField>
-
uninstallListeners
public void uninstallListeners()Description copied from class:RadianceThemingWidgetUninstalls listeners for the associated component.- Overrides:
uninstallListenersin classRadianceThemingWidget<JPasswordField>
-
installDefaults
public void installDefaults()Description copied from class:RadianceThemingWidgetInstalls default settings for the associated component.- Overrides:
installDefaultsin classRadianceThemingWidget<JPasswordField>
-
paintRectangularBackground
private static void paintRectangularBackground(Component c, Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, float borderAlpha, boolean isVertical)
-