# 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 AdfDhtmlSelectOneRadioPeer

## 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.AdfDhtmlSelectOneRadioPeer

    public class AdfDhtmlSelectOneRadioPeer
    extends AdfDhtmlSelectOnePeer

Peer for the selectOneRadio component

## Field Summary
`private static Object` | `_ITEM_VALUE_EXPANDO`

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

## Constructor Summary
`public` | `AdfDhtmlSelectOneRadioPeer()` Peer for the selectOneRadio component

## Method Summary
`protected Object` | `GetComponentSelectItems(Object component, Object domElement)`
`protected Object` | `GetInlineEditor(Event event)` Override to return an inline editor that edits the component's label property
`protected Object` | `GetNoteWindowAlignmentNode(Object component, Object rootNode)`
`protected Object` | `GetSubmittedValue(Object component, Object domElement, Object inputElementId)` Returns the submittedValue by getting the value of the checked radio button of the selectOneRadio.
`protected Object` | `HandleComponentClick(Object componentEvent)` Handles component-level click events.
`protected static Object` | `InitSubclass()`
`protected Object` | `SetDisplayValue(Object component, Object domElement, Object newValue)` Set the display value.

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

## Field Detail

### _ITEM_VALUE_EXPANDO

`private static Object _ITEM_VALUE_EXPANDO`

## Constructor Detail

### AdfDhtmlSelectOneRadioPeer

`public AdfDhtmlSelectOneRadioPeer()`
  Peer for the selectOneRadio component

## Method Detail

### GetComponentSelectItems

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

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

  Return:
    `Object` - selectItem array

### 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`

### GetNoteWindowAlignmentNode

`protected Object GetNoteWindowAlignmentNode(Object component,
Object rootNode)`
  Parameters:

    `component` |  |
    `rootNode` |  |

  Return:
    `Object`

### GetSubmittedValue

`protected Object GetSubmittedValue(Object component,
Object domElement,
Object inputElementId)`
  Returns the submittedValue by getting the value of the checked radio button of the selectOneRadio. Returns null if nothing is checked.
  Parameters:

    `component` | - | Component that this peer will be associated with
    `domElement` | - | Root DOM element of this peer
    `inputElementId` | - | Id of the input component clicked. If not present, it will be derived

  Return:
    `Object` - submittedValue , or null if nothing is checked

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  Handles component-level click events. This gets called when a radio is clicked on, and it will validate the value of the checked radio.
  Parameters:

    `componentEvent` | - | The event on the component

  Return:
    `Object`

### InitSubclass

`protected static Object InitSubclass()`
  Return:
    `Object`

### SetDisplayValue

`protected Object SetDisplayValue(Object component,
Object domElement,
Object newValue)`
  Set the display value. For selectOneRadio this means checking the radioButton with a value equal to `newValue`.. In readOnly mode, this means setting the text content to the newValue.
  Parameters:

    `component` | - | Component that this peer will be associated with
    `domElement` | - | Root DOM element of this peer
    `newValue` | - | The new value of the component.

  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.