Method Summary
|
private Object |
_alignLeft(Object component)
-
method to determine if the drawer is on the left or right side
|
protected Object |
BindToComponent(Object component, Object domElement)
|
public boolean |
canHide()
-
Method used to determine whether the popup can be closed at any given point
|
private Object |
_checkInvalid(Object component)
|
public Object |
componentRemoved(Object component)
|
protected Object |
DescendantMessageChanged()
-
this method can be overridden to call AdfPage.PAGE.getClientIdsWithMessages(rootId) to find out the client ids with messages for this subtree.
|
private Object |
_drawerClosed()
-
This is used as a callback when the drawer closes
|
private Object |
_drawerOpened()
-
This is used as a callback when the drawer opened
|
private Object |
_getAlignNodeId(Object component, Object domElement)
-
get the id of the dom element to align to, this may or may not be the root dom element of the component referred to in the alignId attribute
|
private Object |
_getAutoDismiss(Object component)
-
whether or not to auto dismiss the drawer
|
private Object |
_getCacheablePopupHints(Object component, Object alignNodeId)
|
public AdfUIComponent |
getComponentParent(AdfUIComponent component)
-
Get the parent component.
|
private Object |
_getPopupHints(Object component, Object alignNodeId)
-
get the hints to use on the popup
|
private static AdfUIComponent |
_getPreceedingCommentBasedPeer(AdfUIComponent component, String clientId)
-
Checks for a comment-based peer preceeding the provided component.
|
private Object |
_getSize(Object val, Object alignSize)
|
protected Object |
HandleComponentClick(Object componentEvent)
|
private Object |
_handleResize()
-
Callback invoked when the size of the align element changes.
|
private Object |
_initializeDrawer(Object clientId)
-
initialize the drawer.
|
protected static Object |
InitSubclass()
|
protected Object |
IsDisclosedTabRequired(Object element)
|
private Object |
_isPercent(Object val)
-
whether or not the value is a percent
|
protected Object |
NewTabSelected(Object component)
|
private Object |
_percentSize(Object val, Object size)
-
only call this if you already called isPercent
|
private Object |
_placeHandles(Object component, Object domElement)
-
place the handles at their initial location
|
private Object |
_remove(Object component)
-
called when the drawer is removed
|
private Object |
_removeHandlePositioning(Object component, Object domElement)
-
when the drawer is opened we save off the handle positioning and then remove it from the handle
|
private Object |
_renderClosed(Object component, Object domElement)
-
close the drawer
|
private Object |
_renderOpen(Object component, Object domElement)
-
render the drawer opened
|
private Object |
_restoreHandlePositioning(Object component, Object domElement)
-
when the drawer is closed we restore the handle positioning that was saved in _removeHandlePositioning
|
private Object |
_setDimensionValue(Object component, Object contentElement, Object alignNodeId)
-
calculate the dimensions of the drawer based on height, width, maximumHeight, maximumWidth attributes
|
private Object |
_setInitialMargins(Object component, Object domElement, Object alignNode, Object alignTop, Object alignLeft, Object isAlignedLeft, Object shadowElement, Object shadowElementHeight, Object shadowElementWidth)
-
In some cases you're aligning to something that has padding, so offset that with negative margins if necessary.
|
private Object |
_setMargins(Object component, Object domElement)
|
protected Object |
TabReselected(Object component, Object child)
-
This method is called when the currently disclosed tab is reselected
|
private Object |
_trackerRemoved()
-
callback when the tracker component left at the initial dom position is removed.
|
protected Object |
UseInvertedRenderingPosition()
-
This is needed because when the panelDrawer has position set to "right", it means align the entire drawer on the right, but the tabs are rendered such that the tabs are to the left of the showDetailItem content.
|