# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

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

# oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlSelectOneListboxPeer

## Warning:

- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.

    org.ecmascript.object.Object
       |
       +--oracle.adfinternal.view.js.laf.dhtml.rich.subids.AdfDhtmlSelectOnePeer
             |
             +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectOneListbasePeer
                   |
                   +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectOneListboxPeer

    public class AdfDhtmlSelectOneListboxPeer
    extends AdfDhtmlSelectOneListbasePeer

Peer DHTML code for rich selectOneListbox

## Field Summary
`private static Object` | `_DISABLED_STYLE_CLASS`
`public static Object` | `LIST_HOLDER_ID`
`private Object` | `_scrollToSelection`
`private static Object` | `_SELECTED_ID`
`private static Object` | `_SELECTED_STYLE_CLASS`
`private static Object` | `_TITLES_POPULATED_EXPANDO`

### Fields inherited from org.ecmascript.object.Object
`constructor, prototype`

## Constructor Summary
`public` | `AdfDhtmlSelectOneListboxPeer()` Peer DHTML code for rich selectOneListbox

## Method Summary
`protected Object` | `BindToComponent(Object component, Object domElement)`
`protected Object` | `GetInlineEditor(Event event)` Override to return an inline editor that edits the component's label property
`protected Object` | `GetItemElementsParent(Object component)` Returns the parent of the item elements so that the item elements can be traversed
`protected Object` | `GetNoteWindowAlignmentNode(Object component, Object rootNode)` Returns the node for which to aling the note help window
`private Object` | `_getSelectedItemElement(Object component, Object domElement)`
`protected Object` | `HandleComponentBlur(Object componentEvent)` On blur, we need check and see if we have stashed a changed value.
`protected Object` | `HandleComponentClick(Object componentEvent)` component mouse click event handler.
`protected Object` | `HandleComponentKeyDown(Object componentEvent)`
`protected Object` | `HandleComponentMouseDown(Object componentEvent)` I need to eat this event, because the browser uses ctrl-mouseDown to do weird selection stuff and I don't want that when you ctrl-mouseDown on an item.
`protected Object` | `InitDomElement(AdfUIComponent component, Object domElement)`
`protected static Object` | `InitSubclass()`
`public boolean` | `needsResizeNotify(AdfUIComponent component)` Override to indicate interest in resize notifications.
`protected Object` | `ResizeNotify(number oldWidth, number oldHeight, number newWidth, number newHeight)` Resize notification callback - we perform geometry management here.
`private Object` | `_scrollToSelection(Object component)`
`protected Object` | `SetDisplayValue(Object component, Object domElement, Object newValue)`
`private Object` | `_validate(Object component, Object domElement, Object newValue)` Since this component is different that a *standard* html component, we need a special validate() function to call first SetDisplayValue and then the org.

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectOneListbasePeer
`FindItemElementWithValue, GetComponentSelectItems, GetFirstEnabledItem, GetItemElements, GetNextEnabledItem, GetPreviousEnabledItem, GetSubmittedValue, IsItemEnabled, SelectItemElement`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.subids.AdfDhtmlSelectOnePeer
`GetSubIdDomElement`

## Field Detail

### _DISABLED_STYLE_CLASS

`private static Object _DISABLED_STYLE_CLASS`
  Overrides:
    `AdfDhtmlSelectOneListbasePeer._DISABLED_STYLE_CLASS`

### LIST_HOLDER_ID

`public static Object LIST_HOLDER_ID`

### _scrollToSelection

`private Object _scrollToSelection`

### _SELECTED_ID

`private static Object _SELECTED_ID`

### _SELECTED_STYLE_CLASS

`private static Object _SELECTED_STYLE_CLASS`
  Overrides:
    `AdfDhtmlSelectOneListbasePeer._SELECTED_STYLE_CLASS`

### _TITLES_POPULATED_EXPANDO

`private static Object _TITLES_POPULATED_EXPANDO`

## Constructor Detail

### AdfDhtmlSelectOneListboxPeer

`public AdfDhtmlSelectOneListboxPeer()`
  Peer DHTML code for rich selectOneListbox

## Method Detail

### BindToComponent

`protected Object BindToComponent(Object component,
Object domElement)`
  Parameters:

    `component` |  |
    `domElement` |  |

  Return:
    `Object`

### GetInlineEditor

`protected Object GetInlineEditor(Event event)`
  Override to return an inline editor that edits the component's label property
  Parameters:

    `event` | - | DOM Event that triggered the inline edit

  Return:
    `Object`

### GetItemElementsParent

`protected Object GetItemElementsParent(Object component)`
  Returns the parent of the item elements so that the item elements can be traversed
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlSelectOneListbasePeer.GetItemElementsParent(Object)`

### GetNoteWindowAlignmentNode

`protected Object GetNoteWindowAlignmentNode(Object component,
Object rootNode)`
  Returns the node for which to aling the note help window
  Parameters:

    `component` |  |
    `rootNode` |  |

  Return:
    `Object`

### _getSelectedItemElement

`private Object _getSelectedItemElement(Object component,
Object domElement)`
  Parameters:

    `component` |  |
    `domElement` |  |

  Return:
    `Object`

### HandleComponentBlur

`protected Object HandleComponentBlur(Object componentEvent)`
  On blur, we need check and see if we have stashed a changed value.
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  component mouse click event handler.
  Parameters:

    `componentEvent` | - | the component event invoked by mouse up

  Return:
    `Object`

### HandleComponentKeyDown

`protected Object HandleComponentKeyDown(Object componentEvent)`
  Parameters:

    `componentEvent` | - | Key Press event - Implement keyboard support for selectOneListbox

  Return:
    `Object`

### HandleComponentMouseDown

`protected Object HandleComponentMouseDown(Object componentEvent)`
  I need to eat this event, because the browser uses ctrl-mouseDown to do weird selection stuff and I don't want that when you ctrl-mouseDown on an item. TODO: IE7 still does weird selection stuff.
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### InitDomElement

`protected Object InitDomElement(AdfUIComponent component,
Object domElement)`
  Parameters:

    `component` | - | Component that this peer will be associated with
    `domElement` | - | Root DOM element of this peer

  Return:
    `Object`

### InitSubclass

`protected static Object InitSubclass()`
  Return:
    `Object`
  Overrides:
    `AdfDhtmlSelectOneListbasePeer.InitSubclass()`

### needsResizeNotify

`public boolean needsResizeNotify(AdfUIComponent component)`
  Override to indicate interest in resize notifications.
  Parameters:

    `component` |  |

  Return:
    `boolean` - true if it needs resize notify

### ResizeNotify

`protected Object ResizeNotify(number oldWidth,
number oldHeight,
number newWidth,
number newHeight)`
  Resize notification callback - we perform geometry management here.
  Parameters:

    `oldWidth` | - | the oldWidth
    `oldHeight` | - | the oldHeight
    `newWidth` | - | the newWidth
    `newHeight` | - | the newHeight

  Return:
    `Object`

### _scrollToSelection

`private Object _scrollToSelection(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### SetDisplayValue

`protected Object SetDisplayValue(Object component,
Object domElement,
Object newValue)`
  Parameters:

    `component` |  |
    `domElement` |  |
    `newValue` |  |

  Return:
    `Object`

### _validate

`private Object _validate(Object component,
Object domElement,
Object newValue)`
  Since this component is different that a *standard* html component, we need a special validate() function to call first SetDisplayValue and then the org. validate on the client component.
  Parameters:

    `component` |  |
    `domElement` |  |
    `newValue` |  |

  Return:
    `Object`

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.