Enum Class ApiType

java.lang.Object
java.lang.Enum<ApiType>
ch.swingfx.window.translucentandshaped.ApiType
All Implemented Interfaces:
Serializable, Comparable<ApiType>, Constable

public enum ApiType extends Enum<ApiType>
Enum off all supported API types for translucent and shaped windows
For more details see http://download.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html#6u10
Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities. Other JDK/JREs (example OpenJDK) do not support the private API
  • Enum Constant Details

    • OFFICIAL

      public static final ApiType OFFICIAL
      support for official api
    • PRIVATE

      public static final ApiType PRIVATE
      support for sun.awt.AWTUtilities api
    • NONE

      public static final ApiType NONE
      no support for any api
  • Constructor Details

    • ApiType

      private ApiType()
  • Method Details

    • values

      public static ApiType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ApiType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null