Method Summary
|
protected Object |
BindToComponent(AdfUIComponent component, HTMLElement domElement)
-
Update any state necessary to bind to the current DOM component.
|
protected Object |
ComponentDisabledChanged(AdfUIComponent component, HTMLElement domElement, boolean newValue, boolean oldValue)
-
Handle change to the disabled property.
|
protected Object |
ComponentSelectedChanged(AdfUIComponent component, HTMLElement domElement, boolean newValue, boolean oldValue)
-
Handle change to the selected property.
|
protected Object |
ComponentShortDescChanged(AdfUIComponent component, HTMLElement domElement, string newValue, string oldValue)
-
Handle change to the shortDesc property.
|
private Object |
_disableAriaChecked(AdfUIComponent component)
-
set arai-checked to false for unselected radio button
|
private Object |
_disableAriaPressed(AdfUIComponent component)
-
set arai-pressed to false for unselected button (toggle button)
|
private Object |
_displayDefaultIcon(AdfUIComponent component)
-
Display the default icon
|
private Object |
_displayDisabledIcon(AdfUIComponent component)
-
Display the disabled icon
|
private Object |
_displayIcon(AdfUIComponent component, string icon)
-
Display the provided icon
|
private Object |
_displayMouseDownIcon(AdfUIComponent component)
-
Display the mousedown icon
|
private Object |
_displayMouseOverIcon(AdfUIComponent component)
-
Display the mouseover icon
|
private Object |
_enableAriaChecked(AdfUIComponent component)
-
set aria-checked to true for selected radio button
|
private Object |
_enableAriaPressed(AdfUIComponent component)
-
set aria-pressed to selected button (toggle button)
|
private Object |
_executeAction()
-
Execute Action event for button.
|
private Object |
_executeDestination(AdfComponentEvent componentEvent)
-
Execute destination for button.
|
protected Object |
GetBestMatchSubId(Object domElement)
-
Returns the best match subId for the given domElement.
|
protected Object |
GetComponentText(Object component, Object domElement)
-
Optimized getter for text property
|
private Object |
_getGroupId(HTMLElement domElement)
-
Get the groupId for the specified domElement.
|
private HTMLElement |
_getIconElement(AdfUIComponent component)
-
Get the icon element
|
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 string |
_getPopupId()
-
If available, returns the popup's id.
|
protected Object |
GetSubIdDomElement(Object subElementId)
-
Returns the DOM element identified by the passed in subId.
|
protected Object |
HandleComponentClick(AdfComponentEvent componentEvent)
-
Handle a click on the button
|
protected Object |
HandleComponentKeyDown(AdfComponentEvent 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.
|
private Object |
_handleTypeChange(AdfUIComponent component)
-
Handle type changes on button click.
|
protected static Object |
InitSubclass()
-
Init button peer.
|
public Object |
isBusy()
-
Overridden to return the busy state of the component.
|
private Object |
_isDestinationButton()
-
Returns true if this is a destination type button
|
private boolean |
_isEventInRootElement(AdfComponentEvent componentEvent)
-
Checks if the event target is within the root dom element.
|
private Object |
_isInPopupSelector(AdfComponentEvent componentEvent)
-
Sees if the event is in the popup target.
|
private Object |
_openPopupMenu(string popupId, boolean autoFocus, AdfComponentEvent componentEvent)
-
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.
|
Object |
__preferredSizeChangeNotify(AdfUIComponent component)
-
Notification that the components preferred size has changed.
|
private Object |
_removeAriaDisabled(AdfUIComponent component)
-
remove aria-disabled attribute when enabled
|
private Object |
_setAriaDisabled(AdfUIComponent component)
-
set aria-disabled attribute for disabled button
|
protected Object |
SetBusy(Object isBusy)
-
Override to disable the button when in busy state.
|
private Object |
_setDepressedStyle(AdfUIComponent component, boolean depressed)
-
Button uses depressed instead of active, in order to have finer control over depressed highlighting.
|
private Object |
_toggleComponentUnselected(AdfUIComponent buttonComponent)
-
Called to toggle a button to off (unselected) when a new item is selected in a group of radio buttons.
|
private Object |
_toggleRadioGroupItems()
-
When a radio type item is selected, the other radio items in the group are unselected.
|