|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ScalingMethod>
org.axsl.common.value.ScalingMethod
public enum ScalingMethod
Enumeration of the possible "scaling-method" values.
Enum Constant Summary | |
---|---|
AUTO
The User Agent is free to choose either resampling, integer scaling, or any other scaling method. |
|
INTEGER_PIXELS
The User Agent should scale the image such that each pixel in the original image is scaled to the nearest integer number of device-pixels that yields an image less-than-or-equal-to the image size derived from the content-height, content-width, and scaling properties. |
|
RESAMPLE_ANY_METHOD
The User Agent should resample the supplied image to provide an image that fills the size derived from the content-height, content-width, and scaling properties. |
Method Summary | |
---|---|
static ScalingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ScalingMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 ScalingMethod AUTO
public static final ScalingMethod INTEGER_PIXELS
public static final ScalingMethod RESAMPLE_ANY_METHOD
Method Detail |
---|
public static final ScalingMethod[] values()
for(ScalingMethod c : ScalingMethod.values()) System.out.println(c);
public static ScalingMethod 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 name
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.