| java.lang.Object nextapp.echo2.app.FillImage
FillImage | public class FillImage implements Serializable(Code) | | 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.
|
Constructor Summary | |
public | FillImage(ImageReference image) Creates a new FillImage with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically. | public | FillImage(ImageReference image, Extent horizontalOffset, Extent verticalOffset, int repeat) Creates a new FillImage . |
NO_REPEAT | final public static int NO_REPEAT(Code) | | |
REPEAT | final public static int REPEAT(Code) | | |
REPEAT_HORIZONTAL | final public static int REPEAT_HORIZONTAL(Code) | | |
REPEAT_VERTICAL | final public static int REPEAT_VERTICAL(Code) | | |
FillImage | public FillImage(ImageReference image)(Code) | | Creates a new FillImage with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically.
Parameters: image - the ImageReference to be displayed in the fill |
FillImage | public FillImage(ImageReference image, Extent horizontalOffset, Extent verticalOffset, int repeat)(Code) | | Creates a new FillImage .
Parameters: image - the ImageReference to be displayed in the fill Parameters: horizontalOffset - 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. Parameters: 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. Parameters: repeat - the repeat mode of the image, one of the following values:NO_REPEAT REPEAT_HORIZONTAL REPEAT_VERTICAL REPEAT (the default)
|
getHorizontalOffset | public Extent getHorizontalOffset()(Code) | | Returns 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.
the horizontal offset |
getRepeat | public int getRepeat()(Code) | | Returns the repetition mode of the image.
the repetition mode, one of the following values:NO_REPEAT REPEAT_HORIZONTAL REPEAT_VERTICAL REPEAT (the default)
|
getVerticalOffset | public Extent getVerticalOffset()(Code) | | Returns 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.
the vertical offset |
|
|