OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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
                                       |
                                       +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputNumberSpinboxBasePeer
Direct Known Subclasses:
AdfDhtmlInputNumberSpinboxPeer, AdfDhtmlInputNumberSpinboxPeer

public class AdfDhtmlInputNumberSpinboxBasePeer
extends AdfDhtmlInputBasePeer
Base Peer for the spinbox component.



Field Summary

private static Object
_LEAD_ZERO


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_READY_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
AdfDhtmlInputNumberSpinboxBasePeer()
Base Peer for the spinbox component.


Method Summary

private Object
_createClientSideValidator(Object component, Object domElement)
Helper function, to create the client side validator, that's used for the attribute driven validation.
public Object
getLeadingZero()
hook to get if the peer should show the leading zero.
protected Object
GetValidatorHints(Object component)
Overrides GetValidatorHints function from the AdfDhtmlEditableValuePeer.
protected static Object
InitSubclass()
private Object
_isScreenReaderSlider(Object component)
Helper function, to check if the component is a slider which is rendered as a spinbox in screenReader mode.
protected Object
LazyInitialize(Object component, Object domElement)
LazyInitialize implementation that calls its super funcation and creates the client side validator lazily.
protected Object
SetDisplayValue(Object component, Object domElement, Object newValue)
set the display string
protected Object
ShouldShowHint(Object component, Object domElement)
Don't show hints in note window for this component.


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

GetSubmittedValue, HandleComponentBlur, HandleComponentFocus, needsFocusTargetStyleClass, RunValidation, __simulateBlur, 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, HandleComponentClick, HandleComponentKeyUp, HideNoteWindow, InitDomElement, IsInitialized, IsNoteWindowVisible, 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, isEmpty


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ClearDragSourceState, 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, 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


_LEAD_ZERO

private static Object _LEAD_ZERO

Constructor Detail


AdfDhtmlInputNumberSpinboxBasePeer

public AdfDhtmlInputNumberSpinboxBasePeer()

Base Peer for the spinbox component.

Method Detail


_createClientSideValidator

private Object _createClientSideValidator(Object component,
                                          Object domElement)

Helper function, to create the client side validator, that's used for the attribute driven validation.

Parameters:
component    
domElement    
Return:
Object

getLeadingZero

public Object getLeadingZero()

hook to get if the peer should show the leading zero. A hack, a number converter should be used for this.

Return:
Object

GetValidatorHints

protected Object GetValidatorHints(Object component)

Overrides GetValidatorHints function from the AdfDhtmlEditableValuePeer. Returns null to not show validator hints for this peer. The reason is, that the arrows already provide enough info on which value is possible or not.

Parameters:
component    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.GetValidatorHints(Object)

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

_isScreenReaderSlider

private Object _isScreenReaderSlider(Object component)

Helper function, to check if the component is a slider which is rendered as a spinbox in screenReader mode.

Parameters:
component    
Return:
Object

LazyInitialize

protected Object LazyInitialize(Object component,
                                Object domElement)

LazyInitialize implementation that calls its super funcation and creates the client side validator lazily.

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

SetDisplayValue

protected Object SetDisplayValue(Object component,
                                 Object domElement,
                                 Object newValue)

set the display string

Parameters:
component    
domElement    
newValue  -  new string to be displayed
Return:
Object
See also:
AdfDhtmlEditableValuePeer
Overrides:
AdfDhtmlValuePeer.SetDisplayValue(Object, Object, Object)

ShouldShowHint

protected Object ShouldShowHint(Object component,
                                Object domElement)

Don't show hints in note window for this component.

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

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

 

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