|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public static @interface ImageResource.ImageOptions
Specifies additional options to control how an image is bundled.
Optional Element Summary | |
---|---|
boolean |
flipRtl
If true , the image will be flipped about the y-axis when
LocaleInfo.isRTL() returns
true . |
int |
height
Set to a positive value to override the image's intrinsic height. |
boolean |
preventInlining
Set to true to require the ImageResource to be downloaded as a
separate resource at runtime. |
ImageResource.RepeatStyle |
repeatStyle
This option affects the image bundling optimization to allow the image to be used with the CssResource @sprite rule where
repetition of the image is desired. |
int |
width
Set to a positive value to override the image's intrinsic width. |
public abstract boolean flipRtl
true
, the image will be flipped about the y-axis when
LocaleInfo.isRTL()
returns
true
. This is intended to be used by graphics that are
sensitive to layout direction, such as arrows and disclosure indicators.
public abstract int height
width
or height
are set, the aspect
ratio of the image will be maintained.
public abstract boolean preventInlining
true
to require the ImageResource to be downloaded as a
separate resource at runtime. Specifically, this will disable the use of
data:
URLs or other bundling optimizations for the image. This
can be used for infrequently-displayed images.
public abstract ImageResource.RepeatStyle repeatStyle
CssResource
@sprite
rule where
repetition of the image is desired.
public abstract int width
width
or height
are set, the aspect
ratio of the image will be maintained.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |