|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.BaseUINode | +--oracle.cabo.ui.BaseMutableUINode | +--oracle.cabo.ui.beans.BaseWebBean | +--oracle.cabo.ui.beans.MarlinBean | +--oracle.cabo.ui.beans.ImageBean
The image control creates an image tag.
(The "alt" image tag can be set using the
shortDesc
attribute of the base bean type.
<image source="images/globalhelp.gif" shortDesc="help" hAlign="center" destination="http://www.oracle.com" height="50" width="50"/>
It does not support any children.
Constructor Summary | |
|
ImageBean()
Construct an instance of the ImageBean. |
protected |
ImageBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ImageBean. |
|
ImageBean(java.lang.String source)
Construct an instance of the ImageBean. |
|
ImageBean(java.lang.String source,
java.lang.String shortDesc)
Construct an instance of the ImageBean. |
|
ImageBean(java.lang.String source,
java.lang.String shortDesc,
java.lang.String destination)
Construct an instance of the ImageBean. |
Method Summary | |
char |
getAccessKey()
Gets Character used to gain quick access to this image if the image contains a link. |
static char |
getAccessKey(MutableUINode bean)
Gets Character used to gain quick access to this image if the image contains a link. |
int |
getBorderWidth()
Gets the width of the border drawn around the image; defaults to zero. |
static int |
getBorderWidth(MutableUINode bean)
Gets the width of the border drawn around the image; defaults to zero. |
java.lang.String |
getDestination()
Gets the URI this image should reference. |
static java.lang.String |
getDestination(MutableUINode bean)
Gets the URI this image should reference. |
java.lang.String |
getHAlign()
Gets the horizontal alignment of the image. |
static java.lang.String |
getHAlign(MutableUINode bean)
Gets the horizontal alignment of the image. |
java.lang.String |
getHeight()
Gets the height of the image. |
static java.lang.String |
getHeight(MutableUINode bean)
Gets the height of the image. |
java.lang.String |
getImageMapType()
Gets If a server-side image map is desired, specify "server" and use in conjunction with the destination attribute or when the image is wrapped inside a link. |
static java.lang.String |
getImageMapType(MutableUINode bean)
Gets If a server-side image map is desired, specify "server" and use in conjunction with the destination attribute or when the image is wrapped inside a link. |
java.lang.String |
getLongDescURL()
Gets an URL that specifies a link to a long description of the image. |
static java.lang.String |
getLongDescURL(MutableUINode bean)
Gets an URL that specifies a link to a long description of the image. |
java.lang.String |
getSource()
Gets the URI specifying the location of the image resource |
static java.lang.String |
getSource(MutableUINode bean)
Gets the URI specifying the location of the image resource |
java.lang.String |
getText()
Gets Text to display if there is no image. |
static java.lang.String |
getText(MutableUINode bean)
Gets Text to display if there is no image. |
java.lang.String |
getWidth()
Gets the width of the image. |
static java.lang.String |
getWidth(MutableUINode bean)
Gets the width of the image. |
boolean |
isAutoflip()
Gets When set to true, an attempt will be made to flip the image given by the source attribute when LocaleContext().getReadingDirection() indicates a right to left reading direction. |
static boolean |
isAutoflip(MutableUINode bean)
Gets When set to true, an attempt will be made to flip the image given by the source attribute when LocaleContext().getReadingDirection() indicates a right to left reading direction. |
void |
setAccessKey(char accessKey)
Sets Character used to gain quick access to this image if the image contains a link. |
static void |
setAccessKey(MutableUINode bean,
char accessKey)
Sets Character used to gain quick access to this image if the image contains a link. |
void |
setAutoflip(boolean autoflip)
Sets When set to true, an attempt will be made to flip the image given by the source attribute when LocaleContext().getReadingDirection() indicates a right to left reading direction. |
static void |
setAutoflip(MutableUINode bean,
boolean autoflip)
Sets When set to true, an attempt will be made to flip the image given by the source attribute when LocaleContext().getReadingDirection() indicates a right to left reading direction. |
void |
setBorderWidth(int borderWidth)
Sets the width of the border drawn around the image; defaults to zero. |
static void |
setBorderWidth(MutableUINode bean,
int borderWidth)
Sets the width of the border drawn around the image; defaults to zero. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets the URI this image should reference. |
void |
setDestination(java.lang.String destination)
Sets the URI this image should reference. |
static void |
setHAlign(MutableUINode bean,
java.lang.String hAlign)
Sets the horizontal alignment of the image. |
void |
setHAlign(java.lang.String hAlign)
Sets the horizontal alignment of the image. |
void |
setHeight(int height)
Sets the height of the image. |
static void |
setHeight(MutableUINode bean,
int height)
Sets the height of the image. |
static void |
setHeight(MutableUINode bean,
java.lang.String height)
Sets the height of the image. |
void |
setHeight(java.lang.String height)
Sets the height of the image. |
static void |
setImageMapType(MutableUINode bean,
java.lang.String imageMapType)
Sets If a server-side image map is desired, specify "server" and use in conjunction with the destination attribute or when the image is wrapped inside a link. |
void |
setImageMapType(java.lang.String imageMapType)
Sets If a server-side image map is desired, specify "server" and use in conjunction with the destination attribute or when the image is wrapped inside a link. |
static void |
setLongDescURL(MutableUINode bean,
java.lang.String longDescURL)
Sets an URL that specifies a link to a long description of the image. |
void |
setLongDescURL(java.lang.String longDescURL)
Sets an URL that specifies a link to a long description of the image. |
static void |
setSource(MutableUINode bean,
java.lang.String source)
Sets the URI specifying the location of the image resource |
void |
setSource(java.lang.String source)
Sets the URI specifying the location of the image resource |
void |
setSourceBinding(BoundValue boundValue)
Binds the the URI specifying the location of the image resource |
static void |
setSourceBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the URI specifying the location of the image resource |
static void |
setSourceBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the URI specifying the location of the image resource |
static void |
setSourceBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the URI specifying the location of the image resource |
void |
setSourceBinding(java.lang.Object selectKey)
Binds the the URI specifying the location of the image resource |
void |
setSourceBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the URI specifying the location of the image resource |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets Text to display if there is no image. |
void |
setText(java.lang.String text)
Sets Text to display if there is no image. |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the Text to display if there is no image. |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the Text to display if there is no image. |
void |
setWidth(int width)
Sets the width of the image. |
static void |
setWidth(MutableUINode bean,
int width)
Sets the width of the image. |
static void |
setWidth(MutableUINode bean,
java.lang.String width)
Sets the width of the image. |
void |
setWidth(java.lang.String width)
Sets the width of the image. |
Methods inherited from class oracle.cabo.ui.beans.MarlinBean |
isEqualMarlinName |
Methods inherited from class oracle.cabo.ui.BaseUINode |
getAttributeNames, getAttributeValue, getAttributeValueImpl, getChildArray, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getPreorderDescendentAttributeValue, getRawAttributeValue, getRenderedUINode, getRenderer, getRenderer, render, render, toString |
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.cabo.ui.UINode |
getAttributeNames, getAttributeValue, getAttributeValue, getChildNames, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public ImageBean()
public ImageBean(java.lang.String source)
source
- the URI specifying the location of the image resourcepublic ImageBean(java.lang.String source, java.lang.String shortDesc)
source
- the URI specifying the location of the image resourceshortDesc
- the short description of the bean.public ImageBean(java.lang.String source, java.lang.String shortDesc, java.lang.String destination)
source
- the URI specifying the location of the image resourceshortDesc
- the short description of the bean.destination
- the URI this image should reference.protected ImageBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getSource()
public final void setSource(java.lang.String source)
public final void setSourceBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setSourceBinding(java.lang.Object selectKey)
selectKey
- the key to be passed to selectValue()
on the
current DataObject
, e.g., the DataObject for the current
table row.public final void setSourceBinding(java.lang.String dataNamespace, java.lang.String dataName, java.lang.Object selectKey)
dataNamespace
- the namespace to be passed to
RenderingContext.getDataObject()
dataName
- the name to be passed to
RenderingContext.getDataObject()
selectKey
- the key to be passed to selectValue()
on the
DataObject
.public final java.lang.String getHeight()
public final void setHeight(java.lang.String height)
public final void setHeight(int height)
public final java.lang.String getWidth()
public final void setWidth(java.lang.String width)
public final void setWidth(int width)
public final java.lang.String getHAlign()
public final void setHAlign(java.lang.String hAlign)
public final java.lang.String getLongDescURL()
public final void setLongDescURL(java.lang.String longDescURL)
public final java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final int getBorderWidth()
public final void setBorderWidth(int borderWidth)
public final java.lang.String getText()
public final void setText(java.lang.String text)
public final void setTranslatableText(java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic final java.lang.String getImageMapType()
public final void setImageMapType(java.lang.String imageMapType)
public final char getAccessKey()
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this Image instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public final void setAccessKey(char accessKey)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this Image instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public final boolean isAutoflip()
public final void setAutoflip(boolean autoflip)
public static java.lang.String getSource(MutableUINode bean)
public static void setSource(MutableUINode bean, java.lang.String source)
public static void setSourceBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setSourceBinding(MutableUINode bean, java.lang.Object selectKey)
selectKey
- the key to be passed to selectValue()
on the
current DataObject
, e.g., the DataObject for the current
table row.public static void setSourceBinding(MutableUINode bean, java.lang.String dataNamespace, java.lang.String dataName, java.lang.Object selectKey)
dataNamespace
- the namespace to be passed to
RenderingContext.getDataObject()
dataName
- the name to be passed to
RenderingContext.getDataObject()
selectKey
- the key to be passed to selectValue()
on the
DataObject
.public static java.lang.String getHeight(MutableUINode bean)
public static void setHeight(MutableUINode bean, java.lang.String height)
public static void setHeight(MutableUINode bean, int height)
public static java.lang.String getWidth(MutableUINode bean)
public static void setWidth(MutableUINode bean, java.lang.String width)
public static void setWidth(MutableUINode bean, int width)
public static java.lang.String getHAlign(MutableUINode bean)
public static void setHAlign(MutableUINode bean, java.lang.String hAlign)
public static java.lang.String getLongDescURL(MutableUINode bean)
public static void setLongDescURL(MutableUINode bean, java.lang.String longDescURL)
public static java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static int getBorderWidth(MutableUINode bean)
public static void setBorderWidth(MutableUINode bean, int borderWidth)
public static java.lang.String getText(MutableUINode bean)
public static void setText(MutableUINode bean, java.lang.String text)
public static void setTranslatableText(MutableUINode bean, java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic static java.lang.String getImageMapType(MutableUINode bean)
public static void setImageMapType(MutableUINode bean, java.lang.String imageMapType)
public static char getAccessKey(MutableUINode bean)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this Image instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public static void setAccessKey(MutableUINode bean, char accessKey)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this Image instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public static boolean isAutoflip(MutableUINode bean)
public static void setAutoflip(MutableUINode bean, boolean autoflip)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |