|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BackgroundConfig.Image.Mode>
com.threerings.opengl.gui.config.BackgroundConfig.Image.Mode
public static enum BackgroundConfig.Image.Mode
The various image modes.
| Enum Constant Summary | |
|---|---|
ASPECT_INNER
|
|
ASPECT_OUTER
|
|
CENTER_X
|
|
CENTER_XY
|
|
CENTER_Y
|
|
FRAME_X
|
|
FRAME_XY
|
|
FRAME_Y
|
|
SCALE_X
|
|
SCALE_XY
|
|
SCALE_Y
|
|
TILE_X
|
|
TILE_XY
|
|
TILE_Y
|
|
| Method Summary | |
|---|---|
int |
getConstant()
Returns the corresponding ImageBackground constant. |
boolean |
isFrame()
Determines whether this is one of the framing modes. |
static BackgroundConfig.Image.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BackgroundConfig.Image.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BackgroundConfig.Image.Mode CENTER_XY
public static final BackgroundConfig.Image.Mode CENTER_X
public static final BackgroundConfig.Image.Mode CENTER_Y
public static final BackgroundConfig.Image.Mode SCALE_XY
public static final BackgroundConfig.Image.Mode SCALE_X
public static final BackgroundConfig.Image.Mode SCALE_Y
public static final BackgroundConfig.Image.Mode TILE_XY
public static final BackgroundConfig.Image.Mode TILE_X
public static final BackgroundConfig.Image.Mode TILE_Y
public static final BackgroundConfig.Image.Mode FRAME_XY
public static final BackgroundConfig.Image.Mode FRAME_X
public static final BackgroundConfig.Image.Mode FRAME_Y
public static final BackgroundConfig.Image.Mode ASPECT_INNER
public static final BackgroundConfig.Image.Mode ASPECT_OUTER
| Method Detail |
|---|
public static BackgroundConfig.Image.Mode[] values()
for (BackgroundConfig.Image.Mode c : BackgroundConfig.Image.Mode.values()) System.out.println(c);
public static BackgroundConfig.Image.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getConstant()
ImageBackground constant.
public boolean isFrame()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||