|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.app.FillImage
public class FillImage
Describes how an image should 'fill' a particular component or region of the user interface. Includes information about the image itself, its positioning, repetition, and scrolling.
Field Summary | |
---|---|
static int |
NO_REPEAT
|
static int |
REPEAT
|
static int |
REPEAT_HORIZONTAL
|
static int |
REPEAT_VERTICAL
|
Constructor Summary | |
---|---|
FillImage(ImageReference image)
Creates a new FillImage with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically. |
|
FillImage(ImageReference image,
Extent horizontalOffset,
Extent verticalOffset,
int repeat)
Creates a new FillImage . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Extent |
getHorizontalOffset()
Returns the horizontal offset of the fill image. |
ImageReference |
getImage()
Returns the fill image. |
int |
getRepeat()
Returns the repetition mode of the image. |
Extent |
getVerticalOffset()
Returns the vertical offset of the fill image. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_REPEAT
public static final int REPEAT_HORIZONTAL
public static final int REPEAT_VERTICAL
public static final int REPEAT
Constructor Detail |
---|
public FillImage(ImageReference image)
FillImage
with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically.
image
- the ImageReference
to be displayed in the
fillpublic FillImage(ImageReference image, Extent horizontalOffset, Extent verticalOffset, int repeat)
FillImage
.
image
- the ImageReference
to be displayed in the
fillhorizontalOffset
- the horizontal offset of the fill image:
Positive values indicate an offset from the left side of the
region.
Negative values indicate an offset from the right side of the
region.
Both fixed and percentage units are supported.verticalOffset
- the vertical offset of the fill image:
Positive values indicate an offset from the top of the region.
Negative values indicate an offset from the bottom of the region.
Both fixed and percentage units are supported.repeat
- the repeat mode of the image, one of the following values:
NO_REPEAT
REPEAT_HORIZONTAL
REPEAT_VERTICAL
REPEAT
(the default)Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public Extent getHorizontalOffset()
public ImageReference getImage()
public int getRepeat()
NO_REPEAT
REPEAT_HORIZONTAL
REPEAT_VERTICAL
REPEAT
(the default)public Extent getVerticalOffset()
|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |