Enum JFileField.FileType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BITMAP_IMAGE
      Only bitmap format images (such as JPEG), not vector image formats (such as SVG).
      COMPONENT
      Strange Eons game components (cards, markers, etc.)
      COMPONENT_SAVE
      A Save (instead of Open) file dialog for Strange Eons game components.
      GENERIC
      Use the generic extensions and description.
      GENERIC_SAVE
      A Save (instead of Open) file dialog using the generic extensions and description.
      IMAGE
      Any supported image file.
      PLUGIN
      Any plug-in bundle.
      PORTRAIT
      Any supported image file; shift+click to choose an internal image resource.
      PROJECT_CONTAINER
      A folder for a project to be created within.
      SCRIPT
      A script file.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JFileField.FileType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static JFileField.FileType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • COMPONENT

        public static final JFileField.FileType COMPONENT
        Strange Eons game components (cards, markers, etc.)
      • BITMAP_IMAGE

        public static final JFileField.FileType BITMAP_IMAGE
        Only bitmap format images (such as JPEG), not vector image formats (such as SVG).
      • PORTRAIT

        public static final JFileField.FileType PORTRAIT
        Any supported image file; shift+click to choose an internal image resource.
      • GENERIC

        public static final JFileField.FileType GENERIC
        Use the generic extensions and description.
      • COMPONENT_SAVE

        public static final JFileField.FileType COMPONENT_SAVE
        A Save (instead of Open) file dialog for Strange Eons game components.
      • GENERIC_SAVE

        public static final JFileField.FileType GENERIC_SAVE
        A Save (instead of Open) file dialog using the generic extensions and description.
      • PROJECT_CONTAINER

        public static final JFileField.FileType PROJECT_CONTAINER
        A folder for a project to be created within.
    • Method Detail

      • values

        public static JFileField.FileType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (JFileField.FileType c : JFileField.FileType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JFileField.FileType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null