|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXChoose
oracle.adf.view.rich.component.rich.input.RichChooseColor
public class RichChooseColor
The chooseColor component is used in conjunction with a inputColor to allow the user to quickly select a color value without having to navigate to a secondary window. The chooseColor is typically used for tasks where selecting a color value is a critical part of the task flow. Instead of requiring the user to select the color from a secondary window, a chooseColor can be displayed inline in the page contents. Users can then select a color directly within the chooseColor, which will cause the currently focused inputColor to be updated with the selected color. <html:p> In order to indicate that a particular inputColor should be updated in response to chooseColor selection changes, the the inputColor's "chooseId" attribute must be set to the id of the associated chooseColor component. </html:p>
| Type | Phases | Description |
|---|---|---|
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
| Field Summary | |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_ATTRIBUTES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_COMPONENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_LISTENERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLOR_DATA_KEY |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOM_COLOR_DATA_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOM_VISIBLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_ID_KEYDeprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_VISIBLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LAST_USED_VISIBLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PARTIAL_TRIGGERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHORT_DESC_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNSECURE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WIDTH_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
|
RichChooseColor()Construct an instance of the RichChooseColor. |
protected |
RichChooseColor(java.lang.String rendererType)Construct an instance of the RichChooseColor. |
| Method Summary | |
|---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.util.Set |
getClientAttributes()Gets a set of client attribute names. |
ClientListenerSet |
getClientListeners()Gets a set of client listeners. |
java.util.List<java.awt.Color> |
getColorData()Gets the list of colors to be displayed in the standard color palette. |
java.util.List<java.awt.Color> |
getCustomColorData()Gets the list of custom defined colors. |
java.lang.String |
getCustomizationId()Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead. |
java.awt.Color |
getDefaultColor()Gets the default color. |
java.lang.String |
getFamily() |
java.lang.String |
getInlineStyle()Gets the CSS styles to use for this component. |
java.lang.String[] |
getPartialTriggers()Gets the IDs of the components that should trigger a partial update. |
java.lang.String |
getShortDesc()Gets the short description of the component. |
java.lang.String |
getStyleClass()Gets a CSS style class to use for this component. |
java.util.Set<java.lang.String> |
getUnsecure()Gets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. |
int |
getWidth()Gets the width of the standard palette in cells. |
boolean |
isClientComponent()Gets whether a client-side component will be generated. |
boolean |
isCustomVisible()Gets whether the Custom Color button and custom color row are displayed. |
boolean |
isDefaultVisible()Gets whether the Default button is displayed. |
boolean |
isLastUsedVisible()Gets whether the Last Used button is displayed. |
boolean |
isVisible()Gets the visibility of the component. |
void |
setClientAttributes(java.util.Set clientAttributes)Sets a set of client attribute names. |
void |
setClientComponent(boolean clientComponent)Sets whether a client-side component will be generated. |
void |
setClientListeners(ClientListenerSet clientListeners)Sets a set of client listeners. |
void |
setColorData(java.util.List<java.awt.Color> colorData)Sets the list of colors to be displayed in the standard color palette. |
void |
setCustomColorData(java.util.List<java.awt.Color> customColorData)Sets the list of custom defined colors. |
void |
setCustomizationId(java.lang.String customizationId)Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead. |
void |
setCustomVisible(boolean customVisible)Sets whether the Custom Color button and custom color row are displayed. |
void |
setDefaultColor(java.awt.Color defaultColor)Sets the default color. |
void |
setDefaultVisible(boolean defaultVisible)Sets whether the Default button is displayed. |
void |
setInlineStyle(java.lang.String inlineStyle)Sets the CSS styles to use for this component. |
void |
setLastUsedVisible(boolean lastUsedVisible)Sets whether the Last Used button is displayed. |
void |
setPartialTriggers(java.lang.String[] partialTriggers)Sets the IDs of the components that should trigger a partial update. |
void |
setShortDesc(java.lang.String shortDesc)Sets the short description of the component. |
void |
setStyleClass(java.lang.String styleClass)Sets a CSS style class to use for this component. |
void |
setUnsecure(java.util.Set<java.lang.String> unsecure)Sets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. |
void |
setVisible(boolean visible)Sets the visibility of the component. |
void |
setWidth(int width)Sets the width of the standard palette in cells. |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
|---|
addPartialTarget, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNSECURE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
@Deprecated
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLOR_DATA_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOM_COLOR_DATA_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LAST_USED_VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOM_VISIBLE_KEY
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
|---|
public RichChooseColor()
protected RichChooseColor(java.lang.String rendererType)
| Method Detail |
|---|
public final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
inlineStyle - the new inlineStyle valuepublic final java.lang.String getStyleClass()
public final void setStyleClass(java.lang.String styleClass)
styleClass - the new styleClass valuepublic final java.lang.String getShortDesc()
public final void setShortDesc(java.lang.String shortDesc)
shortDesc - the new shortDesc valuepublic final java.util.Set<java.lang.String> getUnsecure()
public final void setUnsecure(java.util.Set<java.lang.String> unsecure)
unsecure - the new unsecure valuepublic final boolean isVisible()
public final void setVisible(boolean visible)
visible - the new visible value
@Deprecated
public final java.lang.String getCustomizationId()
@Deprecated
public final void setCustomizationId(java.lang.String customizationId)
customizationId - the new customizationId valuepublic final boolean isClientComponent()
public final void setClientComponent(boolean clientComponent)
clientComponent - the new clientComponent valuepublic final java.util.Set getClientAttributes()
public final void setClientAttributes(java.util.Set clientAttributes)
clientAttributes - the new clientAttributes valuepublic final java.lang.String[] getPartialTriggers()
public final void setPartialTriggers(java.lang.String[] partialTriggers)
partialTriggers - the new partialTriggers valuepublic final ClientListenerSet getClientListeners()
public final void setClientListeners(ClientListenerSet clientListeners)
clientListeners - the new clientListeners valuepublic final java.util.List<java.awt.Color> getColorData()
public final void setColorData(java.util.List<java.awt.Color> colorData)
colorData - the new colorData valuepublic final java.util.List<java.awt.Color> getCustomColorData()
public final void setCustomColorData(java.util.List<java.awt.Color> customColorData)
customColorData - the new customColorData valuepublic final java.awt.Color getDefaultColor()
public final void setDefaultColor(java.awt.Color defaultColor)
defaultColor - the new defaultColor valuepublic final int getWidth()
public final void setWidth(int width)
width - the new width valuepublic final boolean isLastUsedVisible()
public final void setLastUsedVisible(boolean lastUsedVisible)
lastUsedVisible - the new lastUsedVisible valuepublic final boolean isDefaultVisible()
public final void setDefaultVisible(boolean defaultVisible)
defaultVisible - the new defaultVisible valuepublic final boolean isCustomVisible()
public final void setCustomVisible(boolean customVisible)
customVisible - the new customVisible valuepublic java.lang.String getFamily()
getFamily in class org.apache.myfaces.trinidad.component.UIXChooseprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class org.apache.myfaces.trinidad.component.UIXChoose
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||