com.sencha.gxt.widget.core.client.event
Class FocusEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<FocusEvent.FocusHandler>
          extended by com.sencha.gxt.widget.core.client.event.FocusEvent

public class FocusEvent
extends GwtEvent<FocusEvent.FocusHandler>

Fires after a widget is focused. Unlike the GWT FocusEvent, this event is NOT a dom event to allow components flexibility in when the focus event is fired.


Nested Class Summary
static interface FocusEvent.FocusHandler
          Handler for FocusEvent events.
static interface FocusEvent.HasFocusHandlers
          A widget that implements this interface is a public source of FocusEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
FocusEvent()
           
 
Method Summary
 GwtEvent.Type<FocusEvent.FocusHandler> getAssociatedType()
           
 Component getSource()
           
static GwtEvent.Type<FocusEvent.FocusHandler> getType()
          Gets the type associated with this event.
 
Methods inherited from class com.google.web.bindery.event.shared.Event
toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FocusEvent

public FocusEvent()
Method Detail

getType

public static GwtEvent.Type<FocusEvent.FocusHandler> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<FocusEvent.FocusHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<FocusEvent.FocusHandler>

getSource

public Component getSource()
Overrides:
getSource in class GwtEvent<FocusEvent.FocusHandler>


Copyright © 2012. All Rights Reserved.