|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.FocusPanel
public class FocusPanel
A simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
HasWidgets.ForIsWidget |
| Field Summary | |
|---|---|
(package private) static com.google.gwt.user.client.ui.impl.FocusImpl |
impl
|
| Fields inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
widget |
| Fields inherited from class com.google.gwt.user.client.ui.Widget |
|---|
eventsToSink |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX, MISSING_ELEMENT_ERROR, SETELEMENT_TWICE_ERROR |
| Constructor Summary | |
|---|---|
FocusPanel()
|
|
FocusPanel(Widget child)
|
|
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, ensureHandlers, fireEvent, getHandlerCount, getHandlerManager, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, replaceElement, setLayoutData, setParent, sinkEvents, unsinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Field Detail |
|---|
static final com.google.gwt.user.client.ui.impl.FocusImpl impl
| Constructor Detail |
|---|
public FocusPanel()
public FocusPanel(Widget child)
| Method Detail |
|---|
public HandlerRegistration addBlurHandler(BlurHandler handler)
HasBlurHandlersBlurEvent handler.
addBlurHandler in interface HasBlurHandlershandler - the blur handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addClickHandler(ClickHandler handler)
HasClickHandlersClickEvent handler.
addClickHandler in interface HasClickHandlershandler - the click handler
HandlerRegistration used to remove this handler@Deprecated public void addClickListener(ClickListener listener)
addClickHandler(com.google.gwt.event.dom.client.ClickHandler) instead
SourcesClickEvents
addClickListener in interface SourcesClickEventslistener - the listener interface to addpublic HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler)
HasDoubleClickHandlersDoubleClickEvent handler.
addDoubleClickHandler in interface HasDoubleClickHandlershandler - the double click handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragEndHandler(DragEndHandler handler)
HasDragEndHandlersDragEndEvent handler.
addDragEndHandler in interface HasDragEndHandlershandler - the drag end handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragEnterHandler(DragEnterHandler handler)
HasDragEnterHandlersDragEnterEvent handler.
addDragEnterHandler in interface HasDragEnterHandlershandler - the drag end handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragHandler(DragHandler handler)
HasDragHandlersDragEvent handler.
addDragHandler in interface HasDragHandlershandler - the drag handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragLeaveHandler(DragLeaveHandler handler)
HasDragLeaveHandlersDragLeaveEvent handler.
addDragLeaveHandler in interface HasDragLeaveHandlershandler - the drag leave handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragOverHandler(DragOverHandler handler)
HasDragOverHandlersDragOverEvent handler.
addDragOverHandler in interface HasDragOverHandlershandler - the drag over handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDragStartHandler(DragStartHandler handler)
HasDragStartHandlersDragStartEvent handler.
addDragStartHandler in interface HasDragStartHandlershandler - the drag start handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addDropHandler(DropHandler handler)
HasDropHandlersDropEvent handler.
addDropHandler in interface HasDropHandlershandler - the drop handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addFocusHandler(FocusHandler handler)
HasFocusHandlersFocusEvent handler.
addFocusHandler in interface HasFocusHandlershandler - the focus handler
HandlerRegistration used to remove this handler@Deprecated public void addFocusListener(FocusListener listener)
addFocusHandler(com.google.gwt.event.dom.client.FocusHandler) instead
SourcesFocusEvents
addFocusListener in interface SourcesFocusEventslistener - the listener interface to addpublic HandlerRegistration addGestureChangeHandler(GestureChangeHandler handler)
HasGestureChangeHandlersGestureChangeEvent handler.
addGestureChangeHandler in interface HasGestureChangeHandlershandler - the gesture change handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addGestureEndHandler(GestureEndHandler handler)
HasGestureEndHandlersGestureEndEvent handler.
addGestureEndHandler in interface HasGestureEndHandlershandler - the gesture end handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addGestureStartHandler(GestureStartHandler handler)
HasGestureStartHandlersGestureStartEvent handler.
addGestureStartHandler in interface HasGestureStartHandlershandler - the gesture start handler
HandlerRegistration used to remove this handler@Deprecated public void addKeyboardListener(KeyboardListener listener)
addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler), addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler) and addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler) instead
SourcesKeyboardEvents
addKeyboardListener in interface SourcesKeyboardEventslistener - the listener interface to addpublic HandlerRegistration addKeyDownHandler(KeyDownHandler handler)
HasKeyDownHandlersKeyDownEvent handler.
addKeyDownHandler in interface HasKeyDownHandlershandler - the key down handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addKeyPressHandler(KeyPressHandler handler)
HasKeyPressHandlersKeyPressEvent handler.
addKeyPressHandler in interface HasKeyPressHandlershandler - the key press handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addKeyUpHandler(KeyUpHandler handler)
HasKeyUpHandlersKeyUpEvent handler.
addKeyUpHandler in interface HasKeyUpHandlershandler - the key up handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addMouseDownHandler(MouseDownHandler handler)
HasMouseDownHandlersMouseDownEvent handler.
addMouseDownHandler in interface HasMouseDownHandlershandler - the mouse down handler
HandlerRegistration used to remove this handler@Deprecated public void addMouseListener(MouseListener listener)
addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler), addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler), addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler), addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler) and addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler) instead
SourcesMouseEvents
addMouseListener in interface SourcesMouseEventslistener - the listener interface to addpublic HandlerRegistration addMouseMoveHandler(MouseMoveHandler handler)
HasMouseMoveHandlersMouseMoveEvent handler.
addMouseMoveHandler in interface HasMouseMoveHandlershandler - the mouse move handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addMouseOutHandler(MouseOutHandler handler)
HasMouseOutHandlersMouseOutEvent handler.
addMouseOutHandler in interface HasMouseOutHandlershandler - the mouse out handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addMouseOverHandler(MouseOverHandler handler)
HasMouseOverHandlersMouseOverEvent handler.
addMouseOverHandler in interface HasMouseOverHandlershandler - the mouse over handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addMouseUpHandler(MouseUpHandler handler)
HasMouseUpHandlersMouseUpEvent handler.
addMouseUpHandler in interface HasMouseUpHandlershandler - the mouse up handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addMouseWheelHandler(MouseWheelHandler handler)
HasMouseWheelHandlersMouseWheelEvent handler.
addMouseWheelHandler in interface HasMouseWheelHandlershandler - the mouse wheel handler
HandlerRegistration used to remove this handler@Deprecated public void addMouseWheelListener(MouseWheelListener listener)
addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler) instead
SourcesMouseWheelEvents
addMouseWheelListener in interface SourcesMouseWheelEventslistener - the listener interface to addpublic HandlerRegistration addTouchCancelHandler(TouchCancelHandler handler)
HasTouchCancelHandlersTouchCancelEvent handler.
addTouchCancelHandler in interface HasTouchCancelHandlershandler - the touch cancel handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addTouchEndHandler(TouchEndHandler handler)
HasTouchEndHandlersTouchEndEvent handler.
addTouchEndHandler in interface HasTouchEndHandlershandler - the touch end handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler)
HasTouchMoveHandlersTouchMoveEvent handler.
addTouchMoveHandler in interface HasTouchMoveHandlershandler - the touch move handler
HandlerRegistration used to remove this handlerpublic HandlerRegistration addTouchStartHandler(TouchStartHandler handler)
HasTouchStartHandlersTouchStartEvent handler.
addTouchStartHandler in interface HasTouchStartHandlershandler - the touch start handler
HandlerRegistration used to remove this handlerpublic int getTabIndex()
Focusable
getTabIndex in interface Focusable@Deprecated public void removeClickListener(ClickListener listener)
HandlerRegistration.removeHandler() method on
the object returned by addClickHandler(com.google.gwt.event.dom.client.ClickHandler) instead
SourcesClickEvents
removeClickListener in interface SourcesClickEventslistener - the listener interface to remove@Deprecated public void removeFocusListener(FocusListener listener)
HandlerRegistration.removeHandler() method on
the object returned by addFocusHandler(com.google.gwt.event.dom.client.FocusHandler) instead
SourcesFocusEvents
removeFocusListener in interface SourcesFocusEventslistener - the listener interface to remove@Deprecated public void removeKeyboardListener(KeyboardListener listener)
HandlerRegistration.removeHandler()
method on the object returned by an add*Handler method instead
SourcesKeyboardEvents
removeKeyboardListener in interface SourcesKeyboardEventslistener - the listener interface to remove@Deprecated public void removeMouseListener(MouseListener listener)
HandlerRegistration.removeHandler()
method on the object returned by an add*Handler method instead
SourcesMouseEvents
removeMouseListener in interface SourcesMouseEventslistener - the listener interface to remove@Deprecated public void removeMouseWheelListener(MouseWheelListener listener)
HandlerRegistration.removeHandler()
method on the object returned by addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler) instead
SourcesMouseWheelEvents
removeMouseWheelListener in interface SourcesMouseWheelEventslistener - the listener interface to removepublic void setAccessKey(char key)
Focusable
setAccessKey in interface Focusablekey - the widget's access keypublic void setFocus(boolean focused)
Focusable
setFocus in interface Focusablefocused - whether this widget should take focus or release itpublic void setTabIndex(int index)
Focusable-1 will cause this widget to
be removed from the tab order.
setTabIndex in interface Focusableindex - the widget's tab index
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||