Class PasswordStrengthCheckerWidget
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.RadianceThemingWidget<javax.swing.JPasswordField>
-
- org.pushingpixels.radiance.theming.internal.widget.text.PasswordStrengthCheckerWidget
-
public class PasswordStrengthCheckerWidget extends RadianceThemingWidget<javax.swing.JPasswordField>
Adds password strength indication on password fields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classPasswordStrengthCheckerWidget.StrengthCheckedBorderBorder with password strength indication.private static classPasswordStrengthCheckerWidget.WrappedBorder
-
Field Summary
Fields Modifier and Type Field Description private java.beans.PropertyChangeListenerstrengthCheckerListenerListens on changes toRadianceSynapse.PASSWORD_STRENGTH_CHECKERproperty.-
Fields inherited from class org.pushingpixels.radiance.theming.api.RadianceThemingWidget
jcomp
-
-
Constructor Summary
Constructors Constructor Description PasswordStrengthCheckerWidget()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinstallDefaults()Installs default settings for the associated component.voidinstallListeners()Installs listeners for the associated component.private static voidpaintRectangularBackground(java.awt.Component c, java.awt.Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, float borderAlpha, boolean isVertical)voiduninstallListeners()Uninstalls listeners for the associated component.-
Methods inherited from class org.pushingpixels.radiance.theming.api.RadianceThemingWidget
installComponents, installUI, setComponent, uninstallComponents, uninstallDefaults, uninstallUI
-
-
-
-
Field Detail
-
strengthCheckerListener
private java.beans.PropertyChangeListener strengthCheckerListener
Listens on changes toRadianceSynapse.PASSWORD_STRENGTH_CHECKERproperty.
-
-
Method Detail
-
installListeners
public void installListeners()
Description copied from class:RadianceThemingWidgetInstalls listeners for the associated component.- Overrides:
installListenersin classRadianceThemingWidget<javax.swing.JPasswordField>
-
uninstallListeners
public void uninstallListeners()
Description copied from class:RadianceThemingWidgetUninstalls listeners for the associated component.- Overrides:
uninstallListenersin classRadianceThemingWidget<javax.swing.JPasswordField>
-
installDefaults
public void installDefaults()
Description copied from class:RadianceThemingWidgetInstalls default settings for the associated component.- Overrides:
installDefaultsin classRadianceThemingWidget<javax.swing.JPasswordField>
-
paintRectangularBackground
private static void paintRectangularBackground(java.awt.Component c, java.awt.Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, float borderAlpha, boolean isVertical)
-
-