Class Resources

java.lang.Object
ca.corbett.forms.Resources

public final class Resources extends Object
Centralizes and manages access to the various resource images that are used in swing-forms.
Since:
swing-extras 2.4
Author:
scorbo2
  • Method Details

    • getValidIcon

      public static ImageIcon getValidIcon()
      Returns an ImageIcon to represent a "valid" FormField - that is, one that has no validation errors.
    • getInvalidIcon

      public static ImageIcon getInvalidIcon()
      Returns an ImageIcon to represent an "invalid" FormField - that is, one that has at least one validation error.
    • getHelpIcon

      public static ImageIcon getHelpIcon()
      Returns an ImageIcon to represent a FormField that has some help or informational text associated with it.
    • getBlankIcon

      public static ImageIcon 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.