|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.BackgroundImageProperties
Describes a background image.
Field Summary | |
static java.lang.String |
ATTACHMENT_CHANGED_PROPERTY
|
static int |
ATTACHMENT_FIXED
A constant for the attachment property that indicates that the background image should remain fixed and NOT scroll with content. |
static int |
ATTACHMENT_SCROLL
A constant for the attachment property that indicates that the background image should scroll with content above it. |
static java.lang.String |
HORIZONTAL_POSITION_CHANGED_PROPERTY
|
static java.lang.String |
IMAGE_CHANGED_PROPERTY
|
static int |
NO_REPEAT
A constant for the Background Image Repeat property that indicates the background image should not be repeated. |
static int |
PERCENT_UNITS
Deprecated. Use Extent.PERCENT . |
static int |
PIXEL_UNITS
Deprecated. Use Extent.PX . |
static int |
REPEAT
A constant for the Background Image Repeat property that indicates the background image should be repeated both horizontally and vertically. |
static java.lang.String |
REPEAT_CHANGED_PROPERTY
|
static int |
REPEAT_HORIZONTAL
A constant for the Background Image Repeat property that indicates the background image should be repeated horizontally. |
static int |
REPEAT_VERTICAL
A constant for the Background Image Repeat property that indicates the background image should be repeated vertically. |
static java.lang.String |
VERTICAL_POSITION_CHANGED_PROPERTY
|
Constructor Summary | |
BackgroundImageProperties(ImageReference image)
Creates a new background image properties object with the specified background image. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a property change listener. |
int |
getAttachment()
Returns the background image attachment policy. |
int |
getHorizontalPosition()
Returns the horizontal position of the background image. |
Extent |
getHorizontalPositionExtent()
Returns the horizontal position of the background image as an Extent . |
int |
getHorizontalPositionUnits()
Returns the units in which the horizontal position of the background is defined. |
ImageReference |
getImage()
Returns the background image. |
int |
getRepeat()
Returns the background image repetition policy. |
int |
getVerticalPosition()
Returns the vertical position of the background image. |
Extent |
getVerticalPositionExtent()
Returns the vertical position of the background image as an Extent . |
int |
getVerticalPositionUnits()
Returns the units in which the vertical position of the background is defined. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a property change listener. |
void |
setAttachment(int newValue)
Sets the background image attachment policy. |
void |
setHorizontalPosition(int newValue)
Sets the horizontal position of the background image. |
void |
setHorizontalPositionExtent(Extent newValue)
Sets the horizontal position of the background image as an Extent |
void |
setHorizontalPositionUnits(int newValue)
Sets the units in which the horizontal position of the background is defined. |
void |
setImage(ImageReference newValue)
Sets the background image. |
void |
setRepeat(int newValue)
Sets the background image repetition policy. |
void |
setVerticalPosition(int newValue)
Sets the vertical position of the background image. |
void |
setVerticalPositionExtent(Extent newValue)
Sets the vertical position of the background image as an Extent |
void |
setVerticalPositionUnits(int newValue)
Sets the units in which the vertical position of the background is defined. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int REPEAT
public static final int NO_REPEAT
public static final int REPEAT_HORIZONTAL
public static final int REPEAT_VERTICAL
public static final int PERCENT_UNITS
Extent.PERCENT
.
public static final int PIXEL_UNITS
Extent.PX
.
public static final int ATTACHMENT_FIXED
public static final int ATTACHMENT_SCROLL
public static final java.lang.String REPEAT_CHANGED_PROPERTY
public static final java.lang.String IMAGE_CHANGED_PROPERTY
public static final java.lang.String ATTACHMENT_CHANGED_PROPERTY
public static final java.lang.String HORIZONTAL_POSITION_CHANGED_PROPERTY
public static final java.lang.String VERTICAL_POSITION_CHANGED_PROPERTY
Constructor Detail |
public BackgroundImageProperties(ImageReference image)
image
- The initial background image.Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l
- The listener to add.public int getAttachment()
public int getHorizontalPosition()
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
public Extent getHorizontalPositionExtent()
Extent
.
Extent
.public int getHorizontalPositionUnits()
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
Extent
class.public ImageReference getImage()
public int getRepeat()
public Extent getVerticalPositionExtent()
Extent
.
Extent
.public int getVerticalPosition()
public int getVerticalPositionUnits()
Extent
class.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l
- The listener to remove.public void setAttachment(int newValue)
newValue
- The new background image attachment policy, one of
the following values:
public void setHorizontalPosition(int newValue)
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
newValue
- The new horizontal position of the background image.public void setHorizontalPositionExtent(Extent newValue)
Extent
newValue
- The new horizontal position of the background image.public void setHorizontalPositionUnits(int newValue)
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
newValue
- The new units in which the horizontal position of the
background is defined, one of the units constants defined in the
Extent
class.public void setImage(ImageReference newValue)
newValue
- The new background image.public void setRepeat(int newValue)
newValue
- The new background image repetition policy, one of
the following values:
public void setVerticalPosition(int newValue)
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
newValue
- The new vertical position of the background image.public void setVerticalPositionExtent(Extent newValue)
Extent
newValue
- The new vertical position of the background image.public void setVerticalPositionUnits(int newValue)
Extent
-based positioning methods should
be used instead of this non-Extent
-based positioning
method.
newValue
- The new units in which the vertical position of the
background is defined, one of the units constants defined in the
Extent
class.
|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |