|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17489-03 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adf.view.js.base.AdfUIPeer | +--oracle.adf.view.js.laf.rich.AdfRichUIPeer | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputBasePeer | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputColorPeer
public class AdfDhtmlInputColorPeer extends AdfDhtmlInputBasePeer
Field Summary |
|
---|---|
private static Object |
|
private static Object |
|
static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer |
ComponentLabelChanged |
Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer |
addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
Method Summary |
|
---|---|
protected Object |
|
protected Object |
|
protected Object |
|
private static Object |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private Object |
|
private Object |
|
private String |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
public Object |
|
public Object |
|
private Object |
|
private Object |
|
public Object |
|
protected Object |
|
protected static Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
public Object |
|
protected Object |
|
protected Object |
|
private Object |
|
protected Object |
|
Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputBasePeer |
GetSubmittedValue, HandleComponentBlur, needsFocusTargetStyleClass, RunValidation, __simulateBlur, VetoBlurValidation |
Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer |
getConvertedObject, getConvertedValue, getFormatHint, GetNullDefault, GetSubIdDomElement, isEmpty |
Methods inherited from oracle.adf.view.js.base.AdfUIPeer |
getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible, needsResizeNotify |
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private static Object _colorFormat
private static Object _GLYPH_ID
static Object __LAST_USED_COLOR
private static Object _POPUP_CHOOSECOLOR_ID
private static Object _POPUP_WRAPPER_CHOOSECOLOR_ID
private static Object _POPUP_WRAPPER_ID
private static Object _SUB_ID_MAP
private static Object _SWATCH_ID
Constructor Detail |
---|
public AdfDhtmlInputColorPeer()
Method Detail |
---|
protected Object ComponentCustomColorDataChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
||
domElement |
||
newValue |
||
oldValue |
Object
protected Object ComponentDisabledChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
||
domElement |
||
newValue |
||
oldValue |
Object
protected Object ComponentValueChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
- | the AdfRichInputColor component |
domElement |
||
newValue |
||
oldValue |
Object
AdfDhtmlValuePeer.ComponentValueChanged(Object, Object, Object, Object)
private static Object _convertToColorString(Object colorObj)
colorObj |
- | the Color object to convert from |
Object
- the color string in #RRGGBB format that represent the colorObj.private Object _createDefaultClientSideConverter(Object component)
component |
Object
private Object _delegatePopupChooseColorGetter(Object inputColor,
Object propertyName)
inputColor |
- | the inputColor component |
propertyName |
Object
- the popup chooseColor component in the passed in inputColorprotected Object GetComponentColorData(Object component,
Object domElement)
component |
- | Component that this peer is associated with |
domElement |
- | Root DOM element of this peer |
Object
- colorData arrayprotected Object GetComponentCustomColorData(Object component,
Object domElement)
component |
- | Component that this peer is associated with |
domElement |
- | Root DOM element of this peer |
Object
- customColorData arrayprotected Object GetComponentDefaultColor(Object component,
Object domElement)
component |
- | Component that this peer is associated with |
domElement |
- | Root DOM element of this peer |
Object
- the defaulColor property valueprotected Object GetComponentLastUsedColor(Object component,
Object domElement)
component |
- | Component that this peer is associated with |
domElement |
- | Root DOM element of this peer |
Object
- the lastUsedColor property valueprotected Object GetComponentWidth(Object component,
Object domElement)
component |
- | Component that this peer is associated with |
domElement |
- | Root DOM element of this peer |
Object
- the width property valueprotected Object GetInlineEditor(Event event)
event |
- | DOM Event that triggered the inline edit |
Object
AdfRichUIPeer.getInlineEditor(AdfUIComponent, Object)
protected Object GetNoteWindowAlignmentNode(Object component,
Object rootNode)
component |
||
rootNode |
Object
AdfDhtmlEditableValuePeer.GetNoteWindowAlignmentNode(Object, Object)
private Object _getPopup(Object component)
component |
Object
- popup This can be null, e.g. if the inputColor has a chooseID so that it points to an embedded color-picker in the page. If testing for popup visibility, use _isPopupVisible() which calls this method.private Object _getPopupChooseColor(Object inputColor)
inputColor |
- | the inputColor component |
Object
- the popup chooseColor component in the passed in inputColorprivate String _getPopupId(Object component)
component |
- | InputColor component to find the popup ID for |
String
- Element ID of the popupprivate Object _getRuntimeChooseColorId(Object thisComponent)
thisComponent |
Object
- if chooseId property is present, return chooseId property. Otherwise return the popup chooseColor id of the popup is present.private Object _handleColorPopup(Object component,
Object componentEvent,
Object bShow)
component |
- | Component that this peer is associated with |
componentEvent |
- | the component event invoked by key up or mouse down |
bShow |
- | boolean vale used to show or hide color popup |
Object
protected Object HandleComponentClick(Object componentEvent)
componentEvent |
- | the component event invoked by mouse click |
Object
AdfDhtmlEditableValuePeer.HandleComponentClick(Object)
protected Object HandleComponentFocus(Object componentEvent)
componentEvent |
Object
AdfDhtmlEditableValuePeer.HandleComponentFocus(Object)
protected Object HandleComponentKeyDown(Object componentEvent)
componentEvent |
- | the component event invoked by key up, incuding key up on the custom color dialog |
Object
public Object handleReturnFromChooseComponent(Object inputColorComponent,
Object bHidePopup)
inputColorComponent |
||
bHidePopup |
Object
public Object handleUpdateFromChooseComponent(Object inputColorComponent,
Object propertyName,
Object newValue)
inputColorComponent |
||
propertyName |
- | the name of the property to update. |
newValue |
- | the new value of the properties. |
Object
private Object _hidePopup(Object inputComponent)
inputComponent |
- | Client component for the inputColor Checks if the popup is open and hides it if so. |
Object
private Object _hookUpChooseColor(Object clientId)
clientId |
Object
public Object initChooseComponentValue(Object inputComponent)
inputComponent |
Object
protected Object InitDomElement(Object component,
Object domElement)
component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
protected static Object InitSubclass()
Object
AdfDhtmlValuePeer.InitSubclass()
private Object _isCompact(Object component)
component |
Object
private Object _isGlyphElement(Object eventTarget,
Object glyphId)
eventTarget |
||
glyphId |
Object
- the DOM element of the drop down icon TODO This will change once we have skinning/icons on the client, since with skinning we can't guarantee this is an img element.private Object _isPopupVisible(Object component)
component |
- | InputColor component to find the popup for |
Object
- true if the popup exists and is visibleprotected Object LazyInitialize(Object component,
Object domElement)
component |
||
domElement |
Object
AdfDhtmlEditableValuePeer.LazyInitialize(Object, Object)
protected Object PopupClosed(Object component,
Object contentDom,
Object popupId)
component |
||
contentDom |
||
popupId |
Object
AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)
public Object returnFocus(Object inputColorComponent)
inputColorComponent |
Object
protected Object SetDisplayValue(Object component,
Object domElement,
Object newValue)
component |
||
domElement |
||
newValue |
- | new string to be displayed |
Object
AdfDhtmlValuePeer.SetDisplayValue(Object, Object, Object)
protected Object ShouldShowHint(Object component,
Object domElement)
component |
||
domElement |
Object
AdfDhtmlEditableValuePeer.ShouldShowHint(Object, Object)
private Object _updateSwatchDisplay(Object component,
Object newValue)
component |
||
newValue |
Object
protected Object VetoShowNoteWindow(Object component)
component |
Object
AdfDhtmlEditableValuePeer.VetoShowNoteWindow(Object)
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17489-03 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |