|
UIX 2.2.8 | ||||||||
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.form.FormElementBean | +--oracle.cabo.ui.beans.form.TextInputBean | +--oracle.cabo.ui.beans.color.ColorFieldBean
This bean is not supported on the following agent types: pda, phone, voice.
The ColorField component creates a text field for entering colors. Users can specify color values in one of three ways, depending on how the ColorField component is configured.
The ColorField's onSubmitValidater can be used to control both the formatting the the ColorField uses when displaying color values, as well as the set of color format patterns that are accepted by the ColorField. See the documentation for the color ClientValidater for more information.
<colorField name="color" value="#FFFFFF" />
ColorValidater
Constructor Summary | |
|
ColorFieldBean()
Construct an instance of the ColorFieldBean. |
protected |
ColorFieldBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ColorFieldBean. |
|
ColorFieldBean(java.lang.String name)
Construct an instance of the ColorFieldBean. |
Method Summary | |
java.lang.String |
getDestination()
Gets The destination used to populate the modal color picking dialog. |
static java.lang.String |
getDestination(MutableUINode bean)
Gets The destination used to populate the modal color picking dialog. |
java.lang.String |
getPaletteId()
Gets The id of the inline ColorPalette component which can be used to update the Color value for this ColorField. |
static java.lang.String |
getPaletteId(MutableUINode bean)
Gets The id of the inline ColorPalette component which can be used to update the Color value for this ColorField. |
java.awt.Color |
getValue()
Gets The Color value of the ColorField. |
static java.awt.Color |
getValue(MutableUINode bean)
Gets The Color value of the ColorField. |
boolean |
isCompact()
Gets If true, attempt to use less screen real-estate to display the colorField. |
static boolean |
isCompact(MutableUINode bean)
Gets If true, attempt to use less screen real-estate to display the colorField. |
void |
setCompact(boolean compact)
Sets If true, attempt to use less screen real-estate to display the colorField. |
static void |
setCompact(MutableUINode bean,
boolean compact)
Sets If true, attempt to use less screen real-estate to display the colorField. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets The destination used to populate the modal color picking dialog. |
void |
setDestination(java.lang.String destination)
Sets The destination used to populate the modal color picking dialog. |
static void |
setPaletteId(MutableUINode bean,
java.lang.String paletteId)
Sets The id of the inline ColorPalette component which can be used to update the Color value for this ColorField. |
void |
setPaletteId(java.lang.String paletteId)
Sets The id of the inline ColorPalette component which can be used to update the Color value for this ColorField. |
void |
setValue(java.awt.Color value)
Sets The Color value of the ColorField. |
static void |
setValue(MutableUINode bean,
java.awt.Color value)
Sets The Color value of the ColorField. |
void |
setValueBinding(BoundValue boundValue)
Binds the The Color value of the ColorField. |
static void |
setValueBinding(MutableUINode bean,
BoundValue boundValue)
Binds the The Color value of the ColorField. |
static void |
setValueBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the The Color value of the ColorField. |
static void |
setValueBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The Color value of the ColorField. |
void |
setValueBinding(java.lang.Object selectKey)
Binds the The Color value of the ColorField. |
void |
setValueBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The Color value of the ColorField. |
Methods inherited from class oracle.cabo.ui.beans.form.FormElementBean |
getName, getName, getOnBlur, getOnBlur, getOnFocus, getOnFocus, isDisabled, isDisabled, isReadOnly, isReadOnly, setDisabled, setDisabled, setName, setName, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setOnBlur, setOnBlur, setOnFocus, setOnFocus, setReadOnly, setReadOnly |
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 ColorFieldBean()
public ColorFieldBean(java.lang.String name)
name
- the name used to identify the element in client-to-client or
client-to-server events.protected ColorFieldBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final java.awt.Color getValue()
public final void setValue(java.awt.Color value)
public final void setValueBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setValueBinding(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 setValueBinding(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 boolean isCompact()
public final void setCompact(boolean compact)
public final java.lang.String getPaletteId()
public final void setPaletteId(java.lang.String paletteId)
public static java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static java.awt.Color getValue(MutableUINode bean)
public static void setValue(MutableUINode bean, java.awt.Color value)
public static void setValueBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setValueBinding(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 setValueBinding(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 boolean isCompact(MutableUINode bean)
public static void setCompact(MutableUINode bean, boolean compact)
public static java.lang.String getPaletteId(MutableUINode bean)
public static void setPaletteId(MutableUINode bean, java.lang.String paletteId)
|
UIX 2.2.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |