Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)
@Deprecated public class FocusListenerCollection extends ArrayList<FocusListener>
SourcesFocusEvents
interface. This
subclass of ArrayList
assumes that all objects added to it will be of
type FocusListener
modCount
Constructor and Description |
---|
FocusListenerCollection()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
fireFocus(Widget sender)
Deprecated.
Fires a focus event to all listeners.
|
void |
fireFocusEvent(Widget sender,
Event event)
Deprecated.
A helper for widgets that source focus events.
|
void |
fireLostFocus(Widget sender)
Deprecated.
Fires a lost-focus event to all listeners.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
equals, hashCode, iterator, listIterator, listIterator, subList
containsAll, removeAll, retainAll, toString
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
public void fireFocus(Widget sender)
sender
- the widget sending the event.public void fireFocusEvent(Widget sender, Event event)
sender
- the widget sending the event.event
- the DOM event
received by the widget.public void fireLostFocus(Widget sender)
sender
- the widget sending the event.Copyright © 2016. All rights reserved.