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, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, remove, remove, removeIf, removeRange, replaceAll, set, size, sort, toArray, toArray, trimToSize
equals, hashCode, listIterator, listIterator, subList
containsAll, removeAll, retainAll, toString
listIterator, listIterator, spliterator, subList
containsAll, parallelStream, removeAll, retainAll, stream
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 © 2018. All rights reserved.