OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlInputBasePeer

Warning:

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
Direct Known Subclasses:
AdfDhtmlInputColorPeer, AdfDhtmlInputDatePeer, AdfDhtmlInputListOfValuesBasePeer, AdfDhtmlInputNumberSpinboxBasePeer, AdfDhtmlInputRangeSliderPeer, AdfDhtmlInputTextPeer

public class AdfDhtmlInputBasePeer
extends AdfDhtmlEditableValuePeer
Base Peer for the input components.



Field Summary

private static Object
_LAST_VALUE


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
AdfDhtmlInputBasePeer()
Base Peer for the input components.


Method Summary

protected Object
GetSubmittedValue(Object component, Object domElement)
Returns the submittedValue by getting the value of the input dom node.
protected Object
HandleComponentBlur(Object componentEvent)
protected Object
HandleComponentFocus(Object componentEvent)
protected static Object
InitSubclass()
public Object
needsFocusTargetStyleClass()
Test if the peer needs the :focus-target stype class injected for click-to-edit.
protected Object
RunValidation(Object component, Object targetNode, Object isChangeRequired)
Don't call this code unless the input element is the content node
protected Object
ShouldShowHint(Object component, Object domElement)
Show hints in note window for this component.
Object
__simulateBlur(Object comp)
Simulates blur handling in cases when we know that the focus is lost, but onBlur is not yet called (such as when onbeforeunload is delivered)
protected Object
VetoBlurValidation()


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer

autoSubmit, BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, Focus, GetComponentLabel, GetComponentSubmittedValue, GetComponentValue, GetContentNode, GetContentNodeId, GetDisplayValue, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, GetValidatorHints, HandleComponentClick, HandleComponentKeyUp, HideNoteWindow, InitDomElement, IsInitialized, IsNoteWindowVisible, LazyInitialize, MessageNotify, MessageShow, ShowNoteWindow, ShowNoteWindowMouseOver, StashOldValue, Validate, ValidateAndStashNewValue, ValidateIfStashedOldValue, VetoShowNoteWindow, WasSubmitted


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer

ComponentValueChanged, getConvertedObject, getConvertedValue, getFormatHint, GetNullDefault, GetSubIdDomElement, isEmpty, SetDisplayValue


Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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


_LAST_VALUE

private static Object _LAST_VALUE

Constructor Detail


AdfDhtmlInputBasePeer

public AdfDhtmlInputBasePeer()

Base Peer for the input components.

Method Detail


GetSubmittedValue

protected Object GetSubmittedValue(Object component,
                                   Object domElement)

Returns the submittedValue by getting the value of the input dom node.

Parameters:
component  -  Component that this peer will be associated with
domElement  -  Root DOM element of this peer
Return:
Object - submittedValue
Overrides:
AdfDhtmlEditableValuePeer.GetSubmittedValue(Object, Object)

HandleComponentBlur

protected Object HandleComponentBlur(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentFocus

protected Object HandleComponentFocus(Object componentEvent)

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.HandleComponentFocus(Object)

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

needsFocusTargetStyleClass

public Object needsFocusTargetStyleClass()

Test if the peer needs the :focus-target stype class injected for click-to-edit. Rather then inject this for all UI components, we're only going to inject it for peers that need it due to an IE7/rtl bug when injecting style classes onto dom elements. Default is false (don't inject the style).

Return:
Object
Overrides:
AdfRichUIPeer.needsFocusTargetStyleClass()

RunValidation

protected Object RunValidation(Object component,
                               Object targetNode,
                               Object isChangeRequired)

Don't call this code unless the input element is the content node

Parameters:
component  -  Component
targetNode  -  targetNode of event
isChangeRequired    
Return:
Object

ShouldShowHint

protected Object ShouldShowHint(Object component,
                                Object domElement)

Show hints in note window for this component.

Parameters:
component    
domElement    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.ShouldShowHint(Object, Object)

__simulateBlur

Object __simulateBlur(Object comp)

Simulates blur handling in cases when we know that the focus is lost, but onBlur is not yet called (such as when onbeforeunload is delivered)

Parameters:
comp    
Return:
Object

VetoBlurValidation

protected Object VetoBlurValidation()

Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2012.03.28 02:21 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.