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

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

    public class AdfDhtmlCommandButtonPeer
    extends AdfRichUIPeer

Deprecated: The commandButton component has been deprecated. Use the button component instead. `AdfDhtmlButtonPeer`

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

### Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS`

### Fields inherited from oracle.adf.view.js.base.AdfObject
`constructor, superclass`

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

## Constructor Summary
`public` | `AdfDhtmlCommandButtonPeer()`

## Method Summary
`protected Object` | `ComponentTextChanged(Object component, Object domElement, Object newValue, Object oldValue)`
`protected Object` | `GetAccessibleName()` Returns a human readable name for the component.
`protected Object` | `GetComponentText(Object component, Object domElement)` Optimized getter for text property
`public static Object` | `getInlineEditableTextElement(Object component, Object domElement)`
`protected Object` | `GetInlineEditor(Object event)` Given the component this peer is bound to and the optional DOM event to start editing, return the AdfRichInlineEditor for this component at the event location, if any.
`protected Object` | `HandleComponentClick(Object componentEvent)` Turns component-level clicks into Action events
`protected static Object` | `InitSubclass()`
`public Object` | `isBusy()` Overridden to return the busy state of the component.
`private Object` | `_isMultipart(Object actionForm)` returns true if the used form is a multipart form
`protected Object` | `SetBusy(Object isBusy)` Override to disable the button when busy
`static Object` | `__setDisabled(Object buttonElement, Object disabled)` Change the visible enabled state of a button element generated by the button renderer
`public static Object` | `stopInlineEditableTextElement(Object component, Object domElement)`

### Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ClearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, getAllPopups, GetBestMatchSubId, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDomRootNodes, GetDomRootNodes, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, InitDomElement, initialize, isAbsoluteLocatorCacheable, isActive, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, visitChildren`

### Methods inherited from oracle.adf.view.js.base.AdfUIPeer
`getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible, needsResizeNotify`

### Methods inherited from oracle.adf.view.js.base.AdfObject
`adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString`

## Field Detail

### _BUSY

`private static Object _BUSY`

## Constructor Detail

### AdfDhtmlCommandButtonPeer

`public AdfDhtmlCommandButtonPeer()`

## Method Detail

### ComponentTextChanged

`protected Object ComponentTextChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)`
  Parameters:

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

  Return:
    `Object`

### GetAccessibleName

`protected Object GetAccessibleName()`
  Returns a human readable name for the component.
  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.getAccessibleName(Object)`

### GetComponentText

`protected Object GetComponentText(Object component,
Object domElement)`
  Optimized getter for text property
  Parameters:

    `component` |  |
    `domElement` |  |

  Return:
    `Object`

### getInlineEditableTextElement

`public static Object getInlineEditableTextElement(Object component,
Object domElement)`
  Parameters:

    `component` |  |
    `domElement` |  |

  Return:
    `Object`

### GetInlineEditor

`protected Object GetInlineEditor(Object event)`
  Given the component this peer is bound to and the optional DOM event to start editing, return the AdfRichInlineEditor for this component at the event location, if any. Subclasses should override `GetInlineEditor`.
  Parameters:

    `event` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.getInlineEditor(AdfUIComponent, Object)`

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  Turns component-level clicks into Action events
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### InitSubclass

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

### isBusy

`public Object isBusy()`
  Overridden to return the busy state of the component.
  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.isBusy()`

### _isMultipart

`private Object _isMultipart(Object actionForm)`
  returns true if the used form is a multipart form
  Parameters:

    `actionForm` |  |

  Return:
    `Object`

### SetBusy

`protected Object SetBusy(Object isBusy)`
  Override to disable the button when busy
  Parameters:

    `isBusy` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.setBusy(Object, Object)`

### __setDisabled

`static Object __setDisabled(Object buttonElement,
Object disabled)`
  Change the visible enabled state of a button element generated by the button renderer
  Parameters:

    `buttonElement` |  |
    `disabled` |  |

  Return:
    `Object`

### stopInlineEditableTextElement

`public static Object stopInlineEditableTextElement(Object component,
Object domElement)`
  Parameters:

    `component` |  |
    `domElement` |  |

  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.