com.jmex.bui.enumeratedConstants
Enum ImageBackgroundMode

java.lang.Object
  extended by java.lang.Enum<ImageBackgroundMode>
      extended by com.jmex.bui.enumeratedConstants.ImageBackgroundMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageBackgroundMode>

public enum ImageBackgroundMode
extends java.lang.Enum<ImageBackgroundMode>

Since:
Feb 18, 2009 1:34:30 PM
Version:
1.0
Author:
deus

Enum Constant Summary
CENTER_X
           
CENTER_XY
           
CENTER_Y
           
FRAME_X
           
FRAME_XY
           
FRAME_Y
           
SCALE_X
           
SCALE_XY
           
SCALE_Y
           
TILE_X
           
TILE_XY
           
TILE_Y
           
 
Field Summary
 java.lang.String stylesheetAttribute
           
 int stylesheetId
           
 
Method Summary
static ImageBackgroundMode fromInt(int value)
           
static ImageBackgroundMode fromStylesheetAttributeString(java.lang.String value)
           
static ImageBackgroundMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageBackgroundMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CENTER_XY

public static final ImageBackgroundMode CENTER_XY

CENTER_X

public static final ImageBackgroundMode CENTER_X

CENTER_Y

public static final ImageBackgroundMode CENTER_Y

SCALE_XY

public static final ImageBackgroundMode SCALE_XY

SCALE_X

public static final ImageBackgroundMode SCALE_X

SCALE_Y

public static final ImageBackgroundMode SCALE_Y

TILE_XY

public static final ImageBackgroundMode TILE_XY

TILE_X

public static final ImageBackgroundMode TILE_X

TILE_Y

public static final ImageBackgroundMode TILE_Y

FRAME_XY

public static final ImageBackgroundMode FRAME_XY

FRAME_X

public static final ImageBackgroundMode FRAME_X

FRAME_Y

public static final ImageBackgroundMode FRAME_Y
Field Detail

stylesheetId

public int stylesheetId

stylesheetAttribute

public java.lang.String stylesheetAttribute
Method Detail

values

public static ImageBackgroundMode[] 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 (ImageBackgroundMode c : ImageBackgroundMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImageBackgroundMode 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 name
java.lang.NullPointerException - if the argument is null

fromInt

public static ImageBackgroundMode fromInt(int value)

fromStylesheetAttributeString

public static ImageBackgroundMode fromStylesheetAttributeString(java.lang.String value)


Copyright © 2011 Michael Bayne. All Rights Reserved.