Package org.exbin.bined.swing.basic
Enum AntialiasingMode
- java.lang.Object
-
- java.lang.Enum<AntialiasingMode>
-
- org.exbin.bined.swing.basic.AntialiasingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AntialiasingMode>
@ParametersAreNonnullByDefault public enum AntialiasingMode extends java.lang.Enum<AntialiasingMode>
Enumeration of supported anti-aliasing modes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getAntialiasingHint(java.awt.Graphics2D g)
static AntialiasingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AntialiasingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final AntialiasingMode OFF
-
AUTO
public static final AntialiasingMode AUTO
-
DEFAULT
public static final AntialiasingMode DEFAULT
-
BASIC
public static final AntialiasingMode BASIC
-
GASP
public static final AntialiasingMode GASP
-
LCD_HRGB
public static final AntialiasingMode LCD_HRGB
-
LCD_HBGR
public static final AntialiasingMode LCD_HBGR
-
LCD_VRGB
public static final AntialiasingMode LCD_VRGB
-
LCD_VBGR
public static final AntialiasingMode LCD_VBGR
-
-
Method Detail
-
values
public static AntialiasingMode[] 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 (AntialiasingMode c : AntialiasingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AntialiasingMode 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 namejava.lang.NullPointerException
- if the argument is null
-
getAntialiasingHint
@Nonnull public java.lang.Object getAntialiasingHint(java.awt.Graphics2D g)
-
-