|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.UIXPanel oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout oracle.apps.fnd.applcore.flex.dynamic.DynamicForm oracle.apps.fnd.applcore.flex.ui.DescriptiveFlexfield
public class DescriptiveFlexfield
Fusion descriptive flexfield component class, it doesn't have a renderer, but it will inherit an ADF layout component behavior and generate dynamic children at runtime.
Nested Class Summary | |
---|---|
class |
DescriptiveFlexfield.DefaultFlexValueChangeListener
Defaults Flex Value Change Listener inner class which implements ValueChangeListener. |
static class |
DescriptiveFlexfield.FlexContextListener
Flex Context Value Change Listener inner class which implements ValueChangeListener. |
class |
DescriptiveFlexfield.FlexParameterValueChangeListener
Flex Parameter Value Change Listener inner class which implements ValueChangeListener. |
Field Summary | |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACCESSOR_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AUTOSUBMIT_KEY
|
static java.lang.String |
COMPONENT_TYPE
component type. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FLATTEN_CHILDREN_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
MODE_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
READONLY_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
TABLE_MODE_KEY
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
VALUE_CHANGE_LISTENER_KEY
|
Fields inherited from class oracle.apps.fnd.applcore.flex.dynamic.DynamicForm |
---|
CATEGORY, CATEGORY_KEY, DISPLAYHINT, EDITABLE_KEY, factories, FIELDORDER, VALUE_KEY |
Fields inherited from class oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout |
---|
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, CUSTOMIZATION_ID_KEY, FIELD_WIDTH_KEY, FOOTER_FACET, INLINE_STYLE_KEY, LABEL_ALIGNMENT_KEY, LABEL_ALIGNMENT_START, LABEL_ALIGNMENT_TOP, LABEL_WIDTH_KEY, MAX_COLUMNS_KEY, PARTIAL_TRIGGERS_KEY, ROWS_KEY, SHORT_DESC_KEY, STYLE_CLASS_KEY, UNSECURE_KEY, VISIBLE_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 | |
---|---|
DescriptiveFlexfield()
constructor. |
Method Summary | ||
---|---|---|
void |
addRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)
Skip row set listener for table. |
|
java.lang.String |
calculateCustomizationPath(oracle.jbo.AttributeDef def)
generate the path for a def: global segment: _Global_.attrName global display segment: _Global_.GlobalAttributeName context segemnet: contextvalue.attrName context sensitive segment : contextvalue.attrName context sensitive display segment : contextvalue.SegmentAttributeName |
|
protected oracle.adf.model.binding.DCControlBinding |
createBinding(javax.faces.context.FacesContext context,
oracle.jbo.uicli.binding.JUIteratorBinding iterator,
oracle.jbo.LocaleContext localCtx,
oracle.jbo.AttributeDef def)
Just created a binding on the iterator without the component |
|
protected void |
createChildren(javax.faces.context.FacesContext context)
Create and populates Children under DFF. |
|
void |
createDynamicColumns()
create column groups under the original column for DFF segments (when used in table). |
|
protected void |
createDynamicSwitcher(javax.faces.context.FacesContext context)
Creates dynamic switchers for rendering context sensitive fields. |
|
protected org.apache.myfaces.trinidad.component.UIXComponent |
createFlexComponent(javax.faces.context.FacesContext context,
oracle.jbo.uicli.binding.JUIteratorBinding iterator,
oracle.jbo.LocaleContext localCtx,
oracle.jbo.AttributeDef def)
create a UI component for a given attribute def. |
|
protected org.apache.myfaces.trinidad.component.UIXComponent |
createFlexFormComponent(javax.faces.context.FacesContext context,
oracle.jbo.uicli.binding.JUIteratorBinding iterator,
oracle.jbo.LocaleContext localCtx,
oracle.jbo.AttributeDef def)
create a UI component for a given attribute def. |
|
void |
decode(javax.faces.context.FacesContext context)
to add parent as partial target |
|
static void |
decodeComponent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.component.UIXEditableValue component)
Decocde component and set the UI value back to component if the value is changed to avoid value getting lost during PPR |
|
java.lang.String |
getAccessor()
Gets the accessor name. |
|
protected oracle.jbo.AttributeDef[] |
getAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator,
oracle.jbo.Row cRow)
Gets the set of attributes for current ro of given iterator. |
|
javax.el.ValueExpression |
getAutoSubmit()
ValueExpression for autoSubmit attribute of DFF. |
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
|
|
protected java.lang.String |
getCategoryValue(oracle.jbo.AttributeDef aDef,
oracle.jbo.LocaleContext localCtx)
Gets the category associated with given attribute. |
|
protected java.lang.String |
getClassName()
|
|
java.lang.String |
getCurrentDiscriminatorValue(oracle.jbo.Row row,
oracle.jbo.uicli.binding.JUIteratorBinding iterator)
|
|
protected oracle.jbo.Row |
getCurrentRow(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
|
|
FlexfieldCustomization |
getCustomization()
Gets the Flexfield Customization. |
|
protected oracle.jbo.AttributeDef[] |
getDefaultAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
return default attribute defs is row is null |
|
java.lang.String |
getMode()
Gets the DFF mode attribute. |
|
javax.el.ValueExpression |
getReadOnly()
ValueExpression for readOnly attribute of DFF. |
|
protected java.lang.String |
getSegmentCutomizationString(java.lang.String currentDiscriminatorValue,
oracle.jbo.AttributeDef def)
|
|
java.lang.String |
getTableMode()
Checks whether table mode is set. |
|
javax.el.MethodExpression |
getValueChangeListener()
Gets the ValueChangeListener associated with DFF. |
|
protected java.lang.String |
getViewId()
|
|
javax.el.ValueExpression |
getVisible()
ValueExpression for visible attribute of DFF. |
|
boolean |
isFlatteningChildren(javax.faces.context.FacesContext context)
Checks whether this component need to flatten its children. |
|
boolean |
isReadOnly()
Gets the actual boolean value for readOnly when set as literal. |
|
protected void |
populateFactories()
add factories |
|
protected void |
postCreateComponent(javax.faces.context.FacesContext context,
oracle.jbo.uicli.binding.JUIteratorBinding iterator,
oracle.jbo.LocaleContext localCtx,
oracle.jbo.AttributeDef def,
org.apache.myfaces.trinidad.component.UIXComponent component)
API called after an UI component is create, for autosumit/PPR. |
|
void |
preCreateChildren()
Pre Render processing for DFF component. |
|
void |
processDecodes(javax.faces.context.FacesContext context)
|
|
|
processFlattenedChildren(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.component.ComponentProcessingContext cpContext,
org.apache.myfaces.trinidad.component.ComponentProcessor<S> childProcessor,
S callbackContext)
Implementation for ProcessFlattenChildren API for DescriptiveFlexfield component. |
|
java.util.List<javax.el.ValueExpression> |
resolveCustomization(java.lang.String cutomizationPath,
java.lang.String property)
given a customization path and property, figuer out the customizations |
|
void |
setAccessor(java.lang.String accessorName)
Sets the accessor name. |
|
void |
setBindingChanged(boolean bindingChanged)
overwrite super class |
|
void |
setMode(java.lang.String mode)
Sets the mode for DFF. |
|
void |
setParent(javax.faces.component.UIComponent parentComp)
Sets the parent |
|
void |
setSelfRefresh(boolean value)
|
|
void |
setTableMode(java.lang.String mode)
Sets the value for tableMode |
|
protected boolean |
skipCreateChildren(javax.faces.context.FacesContext context,
oracle.jbo.uicli.binding.JUIteratorBinding iterator)
Checks whether Children creation need to be skipped for conext sensetive segments. |
|
static void |
updateFlexColumns(oracle.adf.view.rich.component.rich.data.RichTable table)
Refreshes the structure of DFF/KFFPartial/KFFMaintenance when used in a column mode of an Applications Table |
Methods inherited from class oracle.apps.fnd.applcore.flex.dynamic.DynamicForm |
---|
addFactory, addRowSetListener, afterCreateChildren, encodeBegin, getBaseFactory, getCategory, getControlType, getEditPermission, getFilteredAttributeDefinitions, getFullId, getIterator, getLoggingPrefix, getValue, isBindingChanged, isEditable, log, logFinest, loggingEnabled, loggingFinestEnabled, logMethod, logMethodFinest, releaseBindings, setCategory, setEditable, setRowSetListener, setValue, skipAttributeDef |
Methods inherited from class oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout |
---|
getClientAttributes, getClientListeners, getCustomizationId, getFamily, getFieldWidth, getFooter, getInlineStyle, getLabelAlignment, getLabelWidth, getMaxColumns, getPartialTriggers, getRows, getShortDesc, getStyleClass, getUnsecure, isClientComponent, isVisible, setClientAttributes, setClientComponent, setClientListeners, setCustomizationId, setFieldWidth, setFooter, setInlineStyle, setLabelAlignment, setLabelWidth, setMaxColumns, setPartialTriggers, setRows, setShortDesc, setStyleClass, setUnsecure, setVisible |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decodeChildren, decodeChildrenImpl, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, 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 java.lang.String COMPONENT_TYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACCESSOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MODE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey READONLY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TABLE_MODE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AUTOSUBMIT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FLATTEN_CHILDREN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VALUE_CHANGE_LISTENER_KEY
Constructor Detail |
---|
public DescriptiveFlexfield()
Method Detail |
---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class DynamicForm
protected void populateFactories()
populateFactories
in class DynamicForm
public void preCreateChildren()
protected java.lang.String getViewId()
getViewId
in class DynamicForm
public void setParent(javax.faces.component.UIComponent parentComp)
setParent
in class org.apache.myfaces.trinidad.component.UIXComponentBase
parentComp
- componentpublic void createDynamicColumns()
protected oracle.jbo.Row getCurrentRow(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
getCurrentRow
in class DynamicForm
protected oracle.jbo.AttributeDef[] getAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.Row cRow)
getAttributeDefinitions
in class DynamicForm
iterator
- as JUIteratorBindingprotected oracle.jbo.AttributeDef[] getDefaultAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
iterator
-
public void setBindingChanged(boolean bindingChanged)
setBindingChanged
in class DynamicForm
bindingChanged
- public java.lang.String getCurrentDiscriminatorValue(oracle.jbo.Row row, oracle.jbo.uicli.binding.JUIteratorBinding iterator)
protected boolean skipCreateChildren(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator)
context
- faces contextiterator
- iterator binding
protected void createDynamicSwitcher(javax.faces.context.FacesContext context)
context
- as Faces Contextprotected void createChildren(javax.faces.context.FacesContext context)
createChildren
in class DynamicForm
context
- as FacesContextprotected org.apache.myfaces.trinidad.component.UIXComponent createFlexFormComponent(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.LocaleContext localCtx, oracle.jbo.AttributeDef def)
context
- faces contextiterator
- iterator bindinglocalCtx
- locale contextdef
- the attribute def
public void setSelfRefresh(boolean value)
public void addRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)
protected org.apache.myfaces.trinidad.component.UIXComponent createFlexComponent(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.LocaleContext localCtx, oracle.jbo.AttributeDef def)
context
- faces contextiterator
- iterator bindinglocalCtx
- locale contextdef
- the attribute def
protected oracle.adf.model.binding.DCControlBinding createBinding(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.LocaleContext localCtx, oracle.jbo.AttributeDef def)
context
- Faces Contextiterator
- as JUIteratorBindinglocalCtx
- as LocaleContextdef
- as AttributeDef
protected void postCreateComponent(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.LocaleContext localCtx, oracle.jbo.AttributeDef def, org.apache.myfaces.trinidad.component.UIXComponent component)
context
- faces contextiterator
- iterator bindinglocalCtx
- locale contextdef
- attribute defcomponent
- UI component just createdprotected java.lang.String getCategoryValue(oracle.jbo.AttributeDef aDef, oracle.jbo.LocaleContext localCtx)
getCategoryValue
in class DynamicForm
aDef
- as AttributeDeflocalCtx
- as LocaleContext
public static void decodeComponent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.component.UIXEditableValue component)
context
- component
- public void decode(javax.faces.context.FacesContext context)
decode
in class org.apache.myfaces.trinidad.component.UIXComponentBase
context
- as FacesContextpublic void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class org.apache.myfaces.trinidad.component.UIXComponentBase
protected java.lang.String getClassName()
getClassName
in class DynamicForm
public <S> boolean processFlattenedChildren(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.component.ComponentProcessingContext cpContext, org.apache.myfaces.trinidad.component.ComponentProcessor<S> childProcessor, S callbackContext) throws java.io.IOException
processFlattenedChildren
in interface org.apache.myfaces.trinidad.component.FlattenedComponent
java.io.IOException
public boolean isFlatteningChildren(javax.faces.context.FacesContext context)
isFlatteningChildren
in interface org.apache.myfaces.trinidad.component.FlattenedComponent
context
- as FacesContext
public java.util.List<javax.el.ValueExpression> resolveCustomization(java.lang.String cutomizationPath, java.lang.String property)
CustomizationResolver
resolveCustomization
in interface CustomizationResolver
public java.lang.String calculateCustomizationPath(oracle.jbo.AttributeDef def)
calculateCustomizationPath
in interface CustomizationResolver
def
-
protected java.lang.String getSegmentCutomizationString(java.lang.String currentDiscriminatorValue, oracle.jbo.AttributeDef def)
public static void updateFlexColumns(oracle.adf.view.rich.component.rich.data.RichTable table)
table
- ApplicationsTable which has Dff/KFFPartial/KFFMaintenance
in column modepublic java.lang.String getAccessor()
public void setAccessor(java.lang.String accessorName)
accessorName
- accessor namepublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode
- as Stringpublic java.lang.String getTableMode()
public void setTableMode(java.lang.String mode)
mode
- as Table Modepublic FlexfieldCustomization getCustomization()
getCustomization
in interface CustomizationResolver
public javax.el.MethodExpression getValueChangeListener()
public javax.el.ValueExpression getAutoSubmit()
public javax.el.ValueExpression getVisible()
public javax.el.ValueExpression getReadOnly()
public boolean isReadOnly()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |