Package ca.corbett.forms
Class Resources
java.lang.Object
ca.corbett.forms.Resources
Centralizes and manages access to the various resource images that are used in swing-forms.
- Since:
- swing-extras 2.4
- Author:
- scorbo2
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageIconReturns a transparent ImageIcon of the same dimensions as the other formfield icons.static ImageIconReturns an ImageIcon to represent a FormField that has some help or informational text associated with it.static ImageIconReturns an ImageIcon to represent an "invalid" FormField - that is, one that has at least one validation error.static ImageIconReturns an ImageIcon to represent a "valid" FormField - that is, one that has no validation errors.
-
Method Details
-
getValidIcon
Returns an ImageIcon to represent a "valid" FormField - that is, one that has no validation errors. -
getInvalidIcon
Returns an ImageIcon to represent an "invalid" FormField - that is, one that has at least one validation error. -
getHelpIcon
Returns an ImageIcon to represent a FormField that has some help or informational text associated with it. -
getBlankIcon
Returns a transparent ImageIcon of the same dimensions as the other formfield icons. This is useful for reserving space where an icon should go.
-