Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Add a
PropertyChangeListener
for all properties. - addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Add a
PropertyChangeListener
for the named property.
C
- com.github.rhwood.jinputvalidator - package com.github.rhwood.jinputvalidator
D
- DANGER - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Validation state with an danger icon and tool tip.
- DEFAULT_DANGER_COLOR - Static variable in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Default color for
Validation.Type.DANGER
as HTML color code. - DEFAULT_INFORMATION_COLOR - Static variable in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Default color for
Validation.Type.INFORMATION
as HTML color code. - DEFAULT_SUCCESS_COLOR - Static variable in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Default color for
Validation.Type.SUCCESS
as HTML color code. - DEFAULT_UNKNOWN_COLOR - Static variable in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Default color for
Validation.Type.UNKNOWN
as HTML color code. - DEFAULT_WARNING_COLOR - Static variable in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Default color for
Validation.Type.WARNING
as HTML color code.
E
- equals(Object) - Method in class com.github.rhwood.jinputvalidator.Validation
-
Note two Validations are considered equal if
getType()
andgetMessage()
are equal (the display propertiesgetColor()
,getFont()
, andgetIcon()
are not considered for equality).
G
- getBeanDescriptor() - Method in class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
Gets the bean's
BeanDescriptor
s. - getBeanDescriptor() - Method in class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
Gets the bean's
BeanDescriptor
s. - getBeanDescriptor() - Method in class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
Gets the bean's
BeanDescriptor
s. - getColor() - Method in class com.github.rhwood.jinputvalidator.Validation
-
Get the color the icon is displayed in.
- getColor(Validation.Type) - Method in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Get the icon for the specified type.
- getComponent() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the
JComponent
this validator modifies. - getEventSetDescriptors() - Method in class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
Gets the bean's
EventSetDescriptor
s. - getEventSetDescriptors() - Method in class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
Gets the bean's
EventSetDescriptor
s. - getEventSetDescriptors() - Method in class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
Gets the bean's
EventSetDescriptor
s. - getFont() - Method in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Get the font to use.
- getFont() - Method in class com.github.rhwood.jinputvalidator.Validation
-
Get the font used to render the icon.
- getIcon() - Method in class com.github.rhwood.jinputvalidator.Validation
-
Get the Unicode characters for the displayed icon.
- getIcon(int) - Method in class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
- getIcon(int) - Method in class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
- getIcon(int) - Method in class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
- getIcon(Validation.Type) - Method in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Get the icon for the specified type.
- getMessage() - Method in class com.github.rhwood.jinputvalidator.Validation
-
Get the validation message used in the tool tip for the validated component.
- getMethodDescriptors() - Method in class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
Gets the bean's
MethodDescriptor
s. - getMethodDescriptors() - Method in class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
Gets the bean's
MethodDescriptor
s. - getMethodDescriptors() - Method in class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
Gets the bean's
MethodDescriptor
s. - getNoneValidation() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Create a Validation with type
Validation.Type.NONE
and with the contents ofJInputValidator.getToolTipText()
as the message. - getPreferences() - Static method in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Get the default preferences object.
- getPreferences(Preferences) - Static method in class com.github.rhwood.jinputvalidator.JInputValidatorPreferences
-
Get a set of preferences using a
Preferences
object. - getPropertyChangeListeners() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the
PropertyChangeListener
s for all properties. - getPropertyChangeListeners(String) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the
PropertyChangeListener
s for the named property. - getPropertyChangeSupport() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the
PropertyChangeSupport
supporting this validator. - getPropertyDescriptors() - Method in class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
Gets the bean's
PropertyDescriptor
s. - getPropertyDescriptors() - Method in class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
Gets the bean's
PropertyDescriptor
s. - getPropertyDescriptors() - Method in class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
Gets the bean's
PropertyDescriptor
s. - getToolTipText() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the tool tip text used when the validation state is
Validation.Type.NONE
. - getType() - Method in class com.github.rhwood.jinputvalidator.Validation
-
Get the validation type.
- getValidation() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the current validation.
- getValidation(JComponent, JInputValidatorPreferences) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Get the validation object for the current state of the input component.
- getValidation(JComponent, JInputValidatorPreferences) - Method in class com.github.rhwood.jinputvalidator.PredicateValidator
-
Get the validation for the current result of calling
InputVerifier.verify(javax.swing.JComponent)
using the predicate. - getValidation(JComponent, JInputValidatorPreferences) - Method in class com.github.rhwood.jinputvalidator.VerifyingValidator
-
Get the validation for the current result of calling
InputVerifier.verify(javax.swing.JComponent)
using the current verifier.
H
- hashCode() - Method in class com.github.rhwood.jinputvalidator.Validation
I
- INFORMATION - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Validation state with an information icon and tool tip.
- isVerifying() - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Check if this validator is verifying when
JInputValidator.verify(javax.swing.JComponent)
is called.
J
- JInputValidator - module JInputValidator
-
Java Swing InputVerifier that adds an icon and tooltip to the component for invalid states.
- JInputValidator - Class in com.github.rhwood.jinputvalidator
-
JInputValidator is an InputVerifier that adds a colored icon and tool tip text indicating validation status to the component being verified.
- JInputValidator(JComponent) - Constructor for class com.github.rhwood.jinputvalidator.JInputValidator
-
Create a JInputValidator with the default preferences.
- JInputValidator(JComponent, boolean, boolean) - Constructor for class com.github.rhwood.jinputvalidator.JInputValidator
-
Create a JInputValidator with the default preferences.
- JInputValidator(JComponent, boolean, boolean, JInputValidatorPreferences) - Constructor for class com.github.rhwood.jinputvalidator.JInputValidator
-
Create a JInputValidator with custom preferences.
- JInputValidatorBeanInfo - Class in com.github.rhwood.jinputvalidator
-
Provide a graphical editor for
JInputValidator
. - JInputValidatorBeanInfo() - Constructor for class com.github.rhwood.jinputvalidator.JInputValidatorBeanInfo
-
Construct a
JInputValidatorBeanInfo
- JInputValidatorPreferences - Class in com.github.rhwood.jinputvalidator
-
Preferences for a JInputValidator.
N
- NONE - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Default state with no validation icon or tool tip displayed.
P
- PredicateValidator - Class in com.github.rhwood.jinputvalidator
-
A
JInputValidator
that uses a standardPredicate
for a String to toggle a good/bad state. - PredicateValidator(JComponent, Predicate<String>, Validation) - Constructor for class com.github.rhwood.jinputvalidator.PredicateValidator
-
Create a PredicateValidator.
- PredicateValidator(JComponent, Predicate<String>, Validation, boolean, boolean) - Constructor for class com.github.rhwood.jinputvalidator.PredicateValidator
-
Create a PredicateValidator.
- PredicateValidator(JComponent, Predicate<String>, Validation, Validation, boolean, boolean, JInputValidatorPreferences) - Constructor for class com.github.rhwood.jinputvalidator.PredicateValidator
-
Create a PredicateValidator.
- PredicateValidatorBeanInfo - Class in com.github.rhwood.jinputvalidator
-
Provide a graphical editor for
PredicateValidator
. - PredicateValidatorBeanInfo() - Constructor for class com.github.rhwood.jinputvalidator.PredicateValidatorBeanInfo
-
Construct a
PredicateValidatorBeanInfo
R
- removePropertyChangeListener(PropertyChangeListener) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Remove a
PropertyChangeListener
for all properties. - removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Remove a
PropertyChangeListener
for the named property.
S
- setToolTipText(String) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Set the tool tip text used when the validation state is
Validation.Type.NONE
. - setVerifying(boolean) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Set if this validator is verifying when
JInputValidator.verify(javax.swing.JComponent)
is called. - SUCCESS - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Validation state with a success icon and tool tip.
T
- trimHtmlTags(String) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
Trims input and removes the leading
<html>
and trailing</html>
markers if present.
U
- UNKNOWN - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Validation state with an unknown icon and tool tip.
V
- Validation - Class in com.github.rhwood.jinputvalidator
-
A Validation is the combination of a validation state and the tool tip to display on the validated component.
- Validation(Validation.Type, String) - Constructor for class com.github.rhwood.jinputvalidator.Validation
-
Create a validation with default preferences.
- Validation(Validation.Type, String, JInputValidatorPreferences) - Constructor for class com.github.rhwood.jinputvalidator.Validation
-
Create a validation with custom preferences.
- Validation(Validation, JInputValidatorPreferences) - Constructor for class com.github.rhwood.jinputvalidator.Validation
-
Create a validation from an existing validation with custom preferences.
- Validation.Type - Enum in com.github.rhwood.jinputvalidator
-
The Validation state.
- valueOf(String) - Static method in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(JComponent) - Method in class com.github.rhwood.jinputvalidator.JInputValidator
-
This implementation, besides verifying if focus can change, redraws the component with a re-evaluated validation state.
- VerifyingValidator - Class in com.github.rhwood.jinputvalidator
-
A
JInputValidator
that uses a standardInputVerifier
to toggle a good/bad state. - VerifyingValidator(JComponent, InputVerifier, Validation) - Constructor for class com.github.rhwood.jinputvalidator.VerifyingValidator
-
Create a VerifyingValidator.
- VerifyingValidator(JComponent, InputVerifier, Validation, boolean, boolean) - Constructor for class com.github.rhwood.jinputvalidator.VerifyingValidator
-
Create a VerifyingValidator.
- VerifyingValidator(JComponent, InputVerifier, Validation, Validation, boolean, boolean, JInputValidatorPreferences) - Constructor for class com.github.rhwood.jinputvalidator.VerifyingValidator
-
Create a VerifyingValidator.
- VerifyingValidatorBeanInfo - Class in com.github.rhwood.jinputvalidator
-
Provide a graphical editor for
VerifyingValidator
. - VerifyingValidatorBeanInfo() - Constructor for class com.github.rhwood.jinputvalidator.VerifyingValidatorBeanInfo
-
Construct a
VerifyingValidatorBeanInfo
W
- WARNING - Enum constant in enum com.github.rhwood.jinputvalidator.Validation.Type
-
Validation state with an warning icon and tool tip.
All Classes and Interfaces|All Packages|Constant Field Values