java.io.Serializable
, java.lang.Comparable<JXImagePanel.Style>
public static enum JXImagePanel.Style extends java.lang.Enum<JXImagePanel.Style>
Enum Constant | Description |
---|---|
CENTERED |
|
SCALED |
|
SCALED_KEEP_ASPECT_RATIO |
|
TILED |
Modifier and Type | Method | Description |
---|---|---|
static JXImagePanel.Style |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static JXImagePanel.Style[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JXImagePanel.Style CENTERED
public static final JXImagePanel.Style TILED
public static final JXImagePanel.Style SCALED
public static final JXImagePanel.Style SCALED_KEEP_ASPECT_RATIO
public static JXImagePanel.Style[] values()
for (JXImagePanel.Style c : JXImagePanel.Style.values()) System.out.println(c);
public static JXImagePanel.Style valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null