Peer Implementation for the command toolbar button AdfDhtmlCommandToolbarButtonPeer derives from AdfDhtmlButtonPeer
Method Summary
|
protected Object |
BindToComponent(Object component, Object domElement)
-
Update any state necessary to bind to the current DOM component
|
protected Object |
ComponentDisabledChanged(Object component, Object domElement, Object newValue, Object oldValue)
|
protected Object |
ComponentSelectedChanged(Object component, Object domElement, Object newValue, Object oldValue)
|
private Object |
_displayDefaultIcon(Object component)
|
private Object |
_displayDisabledIcon(Object component)
|
private Object |
_displayIcon(Object component, Object icon)
|
private Object |
_displayMouseDownIcon(Object component)
|
private Object |
_displayMouseOverIcon(Object component)
|
private Object |
_execute()
-
Turns component-level clicks into Action events.
|
private Object |
_getGroupId(Object domElement)
-
Get the groupId for the specified domElement.
|
private Object |
_getIconElement(Object component)
|
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.
|
private Object |
_getPopupId()
-
If available, returns the popup's id.
|
protected Object |
HandleComponentClick(Object componentEvent)
-
Turns component-level clicks into Action events.
|
protected Object |
HandleComponentKeyDown(Object componentEvent)
-
Handles keydown event to allow the popup facet popup to open by keyboard
|
protected Object |
HandleComponentMouseDown(AdfComponentEvent componentEvent)
-
Handles the mousedown either on the button or its dropdown, and adjusts the mousedown state accordingly.
|
protected Object |
HandleComponentMouseOut(AdfComponentEvent componentEvent)
-
On mouseout, the default icon is displayed.
|
protected Object |
HandleComponentMouseOver(AdfComponentEvent componentEvent)
-
On mouseover, the mouseover icon is displayed.
|
protected Object |
HandleComponentMouseUp(AdfComponentEvent componentEvent)
-
On mouse up, the mouseover icon is displayed.
|
protected static Object |
InitSubclass()
|
private Object |
_isInPopupSelector(AdfComponentEvent componentEvent)
-
Sees if the event is in the popup target.
|
private Object |
_isValidAction(Object componentEvent)
-
Checks if the componentEvent is a valid action, i.e.
|
private Object |
_openPopupMenu(Object popupId, Object autoFocus)
-
Opens the popup facet popup and aligns it after_start with the selector button
|
protected Object |
PopupClosed(Object component, Object contentDom, Object popupId)
-
Hook for notifying a peer that a popup of its was just closed.
|
private Object |
_setDepressedStyle(Object component, Object depressed)
-
CommandToolbarButton uses depressed instead of active, in order to have finer control over depressed highlighting.
|
private Object |
_toggleComponentUnselected(Object buttonComponent)
-
Called to toggle a commandToolbarButton to off (unselected) when a new item is selected in a group of radio commandToolbarButtons.
|
private Object |
_toggleRadioGroupItems()
-
When a radio type item is selected, the other radio items in the group are unselected.
|