public static enum JXImagePanel.Style extends Enum<JXImagePanel.Style>
| Enum Constant and Description |
|---|
CENTERED |
SCALED |
SCALED_KEEP_ASPECT_RATIO |
TILED |
| Modifier and Type | Method and Description |
|---|---|
static JXImagePanel.Style |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All rights reserved.