|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Attributes
Warning: This interface is only available for TrackData and some methods are longer
functional from the SAP BusinessObjects XI 4.0 release onwards.
Attributes interface represents the (non font or
alignment) attributes.
*
Decoration| Method Summary | |
|---|---|
java.awt.Color |
getBackground()
Returns the current background color. |
ImageDisplayMode |
getBackgroundImageDisplayMode()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
java.lang.String |
getBackgroundImageResource()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
java.lang.String |
getBackgroundImageURL()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
Border |
getBorder()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
java.awt.Color |
getForeground()
Returns the current foreground color. |
Skin |
getSkin()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setBackground(java.awt.Color color)
Changes the current background color. |
void |
setBackgroundImageDisplayMode(ImageDisplayMode dispMode)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setBackgroundImageResource(java.lang.String resourceId)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setBackgroundImageURL(java.lang.String url)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setForeground(java.awt.Color color)
Changes the current foreground color. |
void |
setSkin(Skin skin)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
| Method Detail |
|---|
java.awt.Color getBackground()
null for the
default colorvoid setBackground(java.awt.Color color)
color - the new background color, or null for the
default colorjava.lang.String getBackgroundImageURL()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the URL of the background image.
null if there is no background imagevoid setBackgroundImageURL(java.lang.String url)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the background image. The new image replaces the old.
If url isn't valid, this call has no effect. If
url is null, the old image will be erased.
If Attributes.getBackgroundImageDisplayMode() and
Decoration.setBackgroundAlignment(Alignment alignment) won't be
called before, default ImageDisplayMode value and
Alignment value should be applied to new URL image. About
default values, see Attributes.getBackgroundImageDisplayMode() and
Decoration.getBackgroundAlignment().
url - The new background image URL.Skin getSkin()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the background skin. If the background image is a URL image, returns null.
Skin, or null if without skin.void setSkin(Skin skin)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the background image by a skin image. The new image replaces the old. Ifskin is null, the old image will
be erased.
skin - The skin returned by Attributes.getSkin().java.awt.Color getForeground()
null for the
default colorvoid setForeground(java.awt.Color color)
color - the new foreground color, or null for the
default colorBorder getBorder()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the border.
void setBackgroundImageDisplayMode(ImageDisplayMode dispMode)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the background Url image display setting valueImageDisplayMode
of current report element.
This call on a skin will not have any effect.
dispMode - - ImageDisplayMode value.
NullPointerException - when dispMode is nullImageDisplayModeImageDisplayMode getBackgroundImageDisplayMode()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Gets the background display setting valueImageDisplayMode of current report element.
The default value is ImageDisplayMode.TILE for custom providing url image.
If the background is a skin from Attributes.getSkin(), ImageDisplayMode value
is the same as Skin.getDisplayMode().
ImageDisplayMode value.ImageDisplayModevoid setBackgroundImageResource(java.lang.String resourceId)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the background image by an embedded image previously uploaded using theskin is null, the old image will be erased.
resourceId - The resource Identifier given by the ResourceManager
when calling ResourceManager.addResource(String, int, String, String, java.io.InputStream).java.lang.String getBackgroundImageResource()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the current background image's resource identifier.
null if no background image resource was found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||