OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.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
_ELLIPSIS_SUBID
private static Object
_MINIMUM_TITLE_TEXT_WIDTH
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, DISABLED_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
AdfDhtmlPanelHeaderPeer()


Method Summary

private Object
_calculateMinimumTitleWidth()
protected Object
ComponentRemoved(Object component)
Handles the removal of a component.
private Object
_getEllipsisElement()
private Object
_getTitleTextElement()
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)
Tests whether the peer requires resize notification.
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)
Called to notify the peer of resize activity.
private Object
_stretchTitle()
Stretch the title
private Object
_truncateTitle(Object shrinkAmount)


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, 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, InitClass, InitDomElement, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, 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


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, 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

_ELLIPSIS_SUBID

private static Object _ELLIPSIS_SUBID

_MINIMUM_TITLE_TEXT_WIDTH

private static Object _MINIMUM_TITLE_TEXT_WIDTH

_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()

Return:
Object

ComponentRemoved

protected Object ComponentRemoved(Object component)

Handles the removal of a component.

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.componentRemoved(AdfUIComponent)

_getEllipsisElement

private Object _getEllipsisElement()

Return:
Object

_getTitleTextElement

private Object _getTitleTextElement()

Return:
Object

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)

Tests whether the peer requires resize notification. Peers which perform geometry management should override this to return true. When true, resizeNotify() will be called when browser window is resized.

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)

Called to notify the peer of resize activity. Only called if peer overrides needsResizeNotify() to return true.

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)

Parameters:
shrinkAmount    
Return:
Object

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

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.