|
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.nav.LinkBean
The link control wraps its children inside of an HTML link. It is used on its own for general linking, but also as the content for several components that support linking, like the tab bar, global header, etc.
To create an anchor with a link element, you should use the "id" attribute:
<link id="foo"/>
A standard link:
<link text="oracle" destination="http://www.oracle.com"/>
Constructor Summary | |
|
LinkBean()
Construct an instance of the LinkBean. |
protected |
LinkBean(boolean ignored,
java.lang.String localName)
Construct an instance of the LinkBean. |
|
LinkBean(java.lang.String destination)
Construct an instance of the LinkBean. |
|
LinkBean(java.lang.String text,
java.lang.String destination)
Construct an instance of the LinkBean. |
Method Summary | |
char |
getAccessKey()
Gets Character used to gain quick access to this link. |
static char |
getAccessKey(MutableUINode bean)
Gets Character used to gain quick access to this link. |
java.lang.String |
getDestination()
Gets the URI this link references |
static java.lang.String |
getDestination(MutableUINode bean)
Gets the URI this link references |
java.lang.String |
getLongDesc()
Gets a long description associated with this link. |
static java.lang.String |
getLongDesc(MutableUINode bean)
Gets a long description associated with this link. |
java.lang.String |
getName()
Gets the name used to identify the link (as an anchor) |
static java.lang.String |
getName(MutableUINode bean)
Gets the name used to identify the link (as an anchor) |
java.lang.String |
getOnBlur()
Gets the event handler for the link losing the focus. |
static java.lang.String |
getOnBlur(MutableUINode bean)
Gets the event handler for the link losing the focus. |
java.lang.String |
getOnFocus()
Gets the event handler for the link gaining the focus. |
static java.lang.String |
getOnFocus(MutableUINode bean)
Gets the event handler for the link gaining the focus. |
java.lang.String |
getTargetFrame()
Gets the target frame for the link. |
static java.lang.String |
getTargetFrame(MutableUINode bean)
Gets the target frame for the link. |
java.lang.String |
getText()
Gets the textual label of the link. |
static java.lang.String |
getText(MutableUINode bean)
Gets the textual label of the link. |
boolean |
isDisabled()
Gets whether the link should be considered disabled. |
static boolean |
isDisabled(MutableUINode bean)
Gets whether the link should be considered disabled. |
boolean |
isSelected()
Gets whether the link should be considered selected. |
static boolean |
isSelected(MutableUINode bean)
Gets whether the link should be considered selected. |
void |
setAccessKey(char accessKey)
Sets Character used to gain quick access to this link. |
static void |
setAccessKey(MutableUINode bean,
char accessKey)
Sets Character used to gain quick access to this link. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets the URI this link references |
void |
setDestination(java.lang.String destination)
Sets the URI this link references |
void |
setDestinationBinding(BoundValue boundValue)
Binds the the URI this link references |
static void |
setDestinationBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the URI this link references |
static void |
setDestinationBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the URI this link references |
static void |
setDestinationBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the URI this link references |
void |
setDestinationBinding(java.lang.Object selectKey)
Binds the the URI this link references |
void |
setDestinationBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the URI this link references |
void |
setDisabled(boolean disabled)
Sets whether the link should be considered disabled. |
static void |
setDisabled(MutableUINode bean,
boolean disabled)
Sets whether the link should be considered disabled. |
static void |
setLongDesc(MutableUINode bean,
java.lang.String longDesc)
Sets a long description associated with this link. |
void |
setLongDesc(java.lang.String longDesc)
Sets a long description associated with this link. |
static void |
setName(MutableUINode bean,
java.lang.String name)
Sets the name used to identify the link (as an anchor) |
void |
setName(java.lang.String name)
Sets the name used to identify the link (as an anchor) |
static void |
setOnBlur(MutableUINode bean,
java.lang.String onBlur)
Sets the event handler for the link losing the focus. |
void |
setOnBlur(java.lang.String onBlur)
Sets the event handler for the link losing the focus. |
static void |
setOnFocus(MutableUINode bean,
java.lang.String onFocus)
Sets the event handler for the link gaining the focus. |
void |
setOnFocus(java.lang.String onFocus)
Sets the event handler for the link gaining the focus. |
void |
setSelected(boolean selected)
Sets whether the link should be considered selected. |
static void |
setSelected(MutableUINode bean,
boolean selected)
Sets whether the link should be considered selected. |
static void |
setTargetFrame(MutableUINode bean,
java.lang.String targetFrame)
Sets the target frame for the link. |
void |
setTargetFrame(java.lang.String targetFrame)
Sets the target frame for the link. |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets the textual label of the link. |
void |
setText(java.lang.String text)
Sets the textual label of the link. |
void |
setTextBinding(BoundValue boundValue)
Binds the the textual label of the link. |
static void |
setTextBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the textual label of the link. |
static void |
setTextBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the textual label of the link. |
static void |
setTextBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the textual label of the link. |
void |
setTextBinding(java.lang.Object selectKey)
Binds the the textual label of the link. |
void |
setTextBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the textual label of the link. |
static void |
setTranslatableLongDesc(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the a long description associated with this link. |
void |
setTranslatableLongDesc(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the a long description associated with this link. |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the textual label of the link. |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the textual label of the link. |
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 LinkBean()
public LinkBean(java.lang.String destination)
destination
- the URI this link referencespublic LinkBean(java.lang.String text, java.lang.String destination)
text
- the textual label of the link.destination
- the URI this link referencesprotected LinkBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final void setDestinationBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setDestinationBinding(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 setDestinationBinding(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 getName()
public final void setName(java.lang.String name)
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 void setTextBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setTextBinding(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 setTextBinding(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 getTargetFrame()
public final void setTargetFrame(java.lang.String targetFrame)
public final java.lang.String getLongDesc()
public final void setLongDesc(java.lang.String longDesc)
public final void setTranslatableLongDesc(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 boolean isSelected()
public final void setSelected(boolean selected)
public final boolean isDisabled()
public final void setDisabled(boolean disabled)
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 Link 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().
getText()
,
setText(java.lang.String)
,
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 Link 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().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public final java.lang.String getOnFocus()
public final void setOnFocus(java.lang.String onFocus)
public final java.lang.String getOnBlur()
public final void setOnBlur(java.lang.String onBlur)
public static java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static void setDestinationBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setDestinationBinding(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 setDestinationBinding(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 getName(MutableUINode bean)
public static void setName(MutableUINode bean, java.lang.String name)
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 void setTextBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setTextBinding(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 setTextBinding(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 getTargetFrame(MutableUINode bean)
public static void setTargetFrame(MutableUINode bean, java.lang.String targetFrame)
public static java.lang.String getLongDesc(MutableUINode bean)
public static void setLongDesc(MutableUINode bean, java.lang.String longDesc)
public static void setTranslatableLongDesc(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 boolean isSelected(MutableUINode bean)
public static void setSelected(MutableUINode bean, boolean selected)
public static boolean isDisabled(MutableUINode bean)
public static void setDisabled(MutableUINode bean, boolean disabled)
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 Link 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().
getText()
,
setText(java.lang.String)
,
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 Link 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().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public static java.lang.String getOnFocus(MutableUINode bean)
public static void setOnFocus(MutableUINode bean, java.lang.String onFocus)
public static java.lang.String getOnBlur(MutableUINode bean)
public static void setOnBlur(MutableUINode bean, java.lang.String onBlur)
|
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 |