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

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

Direct Known Subclasses:
  AdfDhtmlQueryPeer, AdfDhtmlShowDetailHeaderPeer

    public class AdfDhtmlPanelHeaderPeer
    extends AdfRichUIPeer

## Field Summary
`private static Object` | `_DYNAMIC_HELP_DIALOG`
`private static Object` | `_DYNAMIC_HELP_POPUP`
`private static Object` | `_HEADER_TITLE_TABLE_EXPANDO`
`private static Object` | `_MINIMUM_TITLE_TEXT_WIDTH`
`private Object` | `_resizePage`
`private static Object` | `_STRETCH_CELL_SUBID`
`private Object` | `_stretchedOnLastResize`
`private static Object` | `_TITLE_TEXT_SUBID`

### 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` | `AdfDhtmlPanelHeaderPeer()`

## Method Summary
`private Object` | `_calculateMinimumTitleWidth()` Calculates the minimum size of the title before truncation of title text is necessary.
`protected Object` | `ComponentRemoved(Object component)` Handles the removal of a component.
`private HTMLElement` | `_getTitleTextElement()` get the title text TD element's child DIV
`protected Object` | `HandleComponentClick(Object componentEvent)`
`protected Object` | `HandleComponentDialog(Object componentEvent)`
`protected Object` | `Init(Object component)` Initializes the instance.
`protected static Object` | `InitSubclass()` Registers component on click handler
`public Object` | `needsResizeNotify(Object component)` Overriden to indicate interest in resize notifications
`protected Object` | `PopupClosed(Object component, Object contentDom, Object popupId)` Hook for notifying a peer that a popup of its was just closed.
`protected Object` | `ResizeNotify(Object oldWidth, Object oldHeight, Object newWidth, Object newHeight)` Resize notification callback - we perform geometry management here
`private Object` | `_stretchTitle()` Stretch the title
`private Object` | `_truncateTitle(Object shrinkAmount)` When the title has less space then needed, we will truncate the title text as much as possible.

### 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, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, 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, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, InitDomElement, initialize, isAbsoluteLocatorCacheable, isActive, isBusy, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, visitChildren`

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

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

### _DYNAMIC_HELP_DIALOG

`private static Object _DYNAMIC_HELP_DIALOG`

### _DYNAMIC_HELP_POPUP

`private static Object _DYNAMIC_HELP_POPUP`

### _HEADER_TITLE_TABLE_EXPANDO

`private static Object _HEADER_TITLE_TABLE_EXPANDO`

### _MINIMUM_TITLE_TEXT_WIDTH

`private static Object _MINIMUM_TITLE_TEXT_WIDTH`

### _resizePage

`private Object _resizePage`

### _STRETCH_CELL_SUBID

`private static Object _STRETCH_CELL_SUBID`

### _stretchedOnLastResize

`private Object _stretchedOnLastResize`

### _TITLE_TEXT_SUBID

`private static Object _TITLE_TEXT_SUBID`

## Constructor Detail

### AdfDhtmlPanelHeaderPeer

`public AdfDhtmlPanelHeaderPeer()`

## Method Detail

### _calculateMinimumTitleWidth

`private Object _calculateMinimumTitleWidth()`
  Calculates the minimum size of the title before truncation of title text is necessary. After this method is called, we will have valid values for the _minimumTitleWidth and _preferredTitleTextWidth isntance variables.
  Return:
    `Object` - minimumTitleWidth

### ComponentRemoved

`protected Object ComponentRemoved(Object component)`
  Handles the removal of a component.
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.componentRemoved(AdfUIComponent)`

### _getTitleTextElement

`private HTMLElement _getTitleTextElement()`
  get the title text TD element's child DIV
  Return:
    `HTMLElement` - the title text element

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleComponentDialog

`protected Object HandleComponentDialog(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### Init

`protected Object Init(Object component)`
  Initializes the instance. Subclasses of AdfObject must call their superclass' Init
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfObject.Init()`

### InitSubclass

`protected static Object InitSubclass()`
  Registers component on click handler
  Return:
    `Object`

### needsResizeNotify

`public Object needsResizeNotify(Object component)`
  Overriden to indicate interest in resize notifications
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.needsResizeNotify(Object)`

### PopupClosed

`protected Object PopupClosed(Object component,
Object contentDom,
Object popupId)`
  Hook for notifying a peer that a popup of its was just closed.
  Parameters:

    `component` |  |
    `contentDom` |  |
    `popupId` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)`

### ResizeNotify

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

    `oldWidth` |  |
    `oldHeight` |  |
    `newWidth` |  |
    `newHeight` |  |

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)`

### _stretchTitle

`private Object _stretchTitle()`
  Stretch the title
  Return:
    `Object`

### _truncateTitle

`private Object _truncateTitle(Object shrinkAmount)`
  When the title has less space then needed, we will truncate the title text as much as possible.
  Parameters:

    `shrinkAmount` | - | - the pixel amount less than preferred minimum size that header needs to shrink

  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.