|
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.DocumentBean | +--oracle.cabo.ui.beans.color.ColorPickerBean
This bean is not supported on the following agent types: pda, phone, voice.
This element is used to pick colors from a palette in a secondary window. The color picker component simplifies the creation of custom color picker dialogs for color field components. By default, the color field uses a secondary color picker dialog with the standard "default49" color palette. However, clients can provide their own custom dialog by specifying the color field's destination attribute. This may be necessary if, for example, the color picker dialog needs to display a palette other than the standard default49 palette.
The color picker component renders all of the content of the standard dialog window, including a color field for entering values, a color palette for selecting values, and an apply and cancel button. Note: the color picker component is itself an extension of the document component, and as such the color picker must be used as the top-level component in the page.
<colorPicker prompt="[Object] color" colorData="${uix.colorPalette.default80}"> <customColorData> <color value="#336699" /> <color value="#6699CC" /> <color value="#99CCFF" /> </customColorData> </colorPicker>
Constructor Summary | |
|
ColorPickerBean()
Construct an instance of the ColorPickerBean. |
protected |
ColorPickerBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ColorPickerBean. |
Method Summary | |
DataObjectList |
getColorData()
Gets the data for the standard palette. |
static DataObjectList |
getColorData(MutableUINode bean)
Gets the data for the standard palette. |
DataObjectList |
getCustomColorData()
Gets the data for the custom palette. |
static DataObjectList |
getCustomColorData(MutableUINode bean)
Gets the data for the custom palette. |
java.lang.String[] |
getPatterns()
Gets the color format patterns. |
static java.lang.String[] |
getPatterns(MutableUINode bean)
Gets the color format patterns. |
java.lang.String |
getPrompt()
Gets the prompt of this form element |
static java.lang.String |
getPrompt(MutableUINode bean)
Gets the prompt of this form element |
java.awt.Color |
getValue()
Gets the selected color text |
static java.awt.Color |
getValue(MutableUINode bean)
Gets the selected color text |
int |
getWidth()
Gets the width of the color palette in cells |
static int |
getWidth(MutableUINode bean)
Gets the width of the color palette in cells |
boolean |
isAllowsTransparent()
Gets whether this color picker can allows the user to select transparent |
static boolean |
isAllowsTransparent(MutableUINode bean)
Gets whether this color picker can allows the user to select transparent |
void |
setAllowsTransparent(boolean allowsTransparent)
Sets whether this color picker can allows the user to select transparent |
static void |
setAllowsTransparent(MutableUINode bean,
boolean allowsTransparent)
Sets whether this color picker can allows the user to select transparent |
void |
setColorData(DataObjectList colorData)
Sets the data for the standard palette. |
void |
setColorData(DataObjectList colorData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setColorData(MutableUINode bean,
DataObjectList colorData)
Sets the data for the standard palette. |
static void |
setColorData(MutableUINode bean,
DataObjectList colorData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
void |
setCustomColorData(DataObjectList customColorData)
Sets the data for the custom palette. |
void |
setCustomColorData(DataObjectList customColorData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setCustomColorData(MutableUINode bean,
DataObjectList customColorData)
Sets the data for the custom palette. |
static void |
setCustomColorData(MutableUINode bean,
DataObjectList customColorData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setPatterns(MutableUINode bean,
java.lang.String[] patterns)
Sets the color format patterns. |
void |
setPatterns(java.lang.String[] patterns)
Sets the color format patterns. |
static void |
setPrompt(MutableUINode bean,
java.lang.String prompt)
Sets the prompt of this form element |
void |
setPrompt(java.lang.String prompt)
Sets the prompt of this form element |
void |
setValue(java.awt.Color value)
Sets the selected color text |
static void |
setValue(MutableUINode bean,
java.awt.Color value)
Sets the selected color text |
void |
setWidth(int width)
Sets the width of the color palette in cells |
static void |
setWidth(MutableUINode bean,
int width)
Sets the width of the color palette in cells |
Methods inherited from class oracle.cabo.ui.beans.DocumentBean |
getMetaContainer, getMetaContainer, setMetaContainer, setMetaContainer |
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, getID, 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, getID, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public ColorPickerBean()
protected ColorPickerBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.awt.Color getValue()
public final void setValue(java.awt.Color value)
public final DataObjectList getColorData()
public final void setColorData(DataObjectList colorData)
public final void setColorData(DataObjectList colorData)
public final DataObjectList getCustomColorData()
public final void setCustomColorData(DataObjectList customColorData)
public final void setCustomColorData(DataObjectList customColorData)
public final java.lang.String[] getPatterns()
public final void setPatterns(java.lang.String[] patterns)
public final java.lang.String getPrompt()
public final void setPrompt(java.lang.String prompt)
public final int getWidth()
public final void setWidth(int width)
public final boolean isAllowsTransparent()
public final void setAllowsTransparent(boolean allowsTransparent)
public static java.awt.Color getValue(MutableUINode bean)
public static void setValue(MutableUINode bean, java.awt.Color value)
public static DataObjectList getColorData(MutableUINode bean)
public static void setColorData(MutableUINode bean, DataObjectList colorData)
public static void setColorData(MutableUINode bean, DataObjectList colorData)
public static DataObjectList getCustomColorData(MutableUINode bean)
public static void setCustomColorData(MutableUINode bean, DataObjectList customColorData)
public static void setCustomColorData(MutableUINode bean, DataObjectList customColorData)
public static java.lang.String[] getPatterns(MutableUINode bean)
public static void setPatterns(MutableUINode bean, java.lang.String[] patterns)
public static java.lang.String getPrompt(MutableUINode bean)
public static void setPrompt(MutableUINode bean, java.lang.String prompt)
public static int getWidth(MutableUINode bean)
public static void setWidth(MutableUINode bean, int width)
public static boolean isAllowsTransparent(MutableUINode bean)
public static void setAllowsTransparent(MutableUINode bean, boolean allowsTransparent)
|
UIX 2.2.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |