|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ImageCell.ScaleMode> org.eclipse.rap.rwt.template.ImageCell.ScaleMode
public static enum ImageCell.ScaleMode
Represents a method used to scale an image.
Enum Constant Summary | |
---|---|
FILL
The image is scaled to the minimum size required to cover the entire cell. |
|
FIT
The image is scaled to the maximum size that fits into the cell. |
|
NONE
The image is displayed in its original size. |
|
STRETCH
The image is scaled to the exact bounds of the cell. |
Method Summary | |
---|---|
static ImageCell.ScaleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ImageCell.ScaleMode[] |
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 |
---|
public static final ImageCell.ScaleMode NONE
public static final ImageCell.ScaleMode FIT
public static final ImageCell.ScaleMode FILL
public static final ImageCell.ScaleMode STRETCH
Method Detail |
---|
public static ImageCell.ScaleMode[] values()
for (ImageCell.ScaleMode c : ImageCell.ScaleMode.values()) System.out.println(c);
public static ImageCell.ScaleMode 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
java.lang.NullPointerException
- if the argument is null
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0