org.kuali.student.common.ui.client.widgets.focus
Class FocusGroup

java.lang.Object
  extended by org.kuali.student.common.ui.client.widgets.focus.FocusGroup
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.shared.HasHandlers

public class FocusGroup
extends Object
implements com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.shared.HasHandlers


Nested Class Summary
private static class FocusGroup.SyntheticBlurEvent
           
private static class FocusGroup.SyntheticFocusEvent
           
 
Field Summary
private  com.google.gwt.user.client.Command checkFocusState
           
private  boolean focused
           
private  boolean focusEventPending
           
private  Map<com.google.gwt.user.client.ui.Widget,Boolean> focusTrackers
           
private  com.google.gwt.event.shared.HandlerManager handlers
           
private  boolean suppressed
           
 
Constructor Summary
FocusGroup(com.google.gwt.user.client.ui.Widget parentWidget)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
           
 void addWidget(com.google.gwt.user.client.ui.Widget w)
           
 void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
           
 boolean isSuppressed()
           
private  void queueCheckFocusState()
           
 void setSuppressed(boolean suppressed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlers

private final com.google.gwt.event.shared.HandlerManager handlers

focusTrackers

private final Map<com.google.gwt.user.client.ui.Widget,Boolean> focusTrackers

focusEventPending

private boolean focusEventPending

suppressed

private boolean suppressed

focused

private boolean focused

checkFocusState

private final com.google.gwt.user.client.Command checkFocusState
Constructor Detail

FocusGroup

public FocusGroup(com.google.gwt.user.client.ui.Widget parentWidget)
Method Detail

addBlurHandler

public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
Specified by:
addBlurHandler in interface com.google.gwt.event.dom.client.HasBlurHandlers

addFocusHandler

public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
Specified by:
addFocusHandler in interface com.google.gwt.event.dom.client.HasFocusHandlers

addWidget

public void addWidget(com.google.gwt.user.client.ui.Widget w)

fireEvent

public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
Specified by:
fireEvent in interface com.google.gwt.event.shared.HasHandlers

queueCheckFocusState

private void queueCheckFocusState()

isSuppressed

public boolean isSuppressed()

setSuppressed

public void setSuppressed(boolean suppressed)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.