com.extjs.gxt.ui.client.widget
Class FocusManagerSupport

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.FocusManagerSupport
All Implemented Interfaces:
Observable

public class FocusManagerSupport
extends BaseObservable

Component support class for Focus Manager.


Method Summary
 Component getComponent()
          Returns the target component.
 java.lang.String getNextId()
          Returns the next component id.
 java.lang.String getPreviousId()
          Returns the previous component id.
 boolean isIgnore()
          Returns true if the component will be ignored by the ARIA and FocusManager API.
 void setIgnore(boolean ignore)
          True to mark this component to be ignored by the ARIA and FocusManager API (defaults to false).
 void setNextId(java.lang.String nextId)
          The id of the component to navigate to when TAB is pressed (defaults to null).
 void setPreviousId(java.lang.String previousId)
          The id of the component to navigate to when SHIFT-TAB is pressed (defaults to null).
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getComponent

public Component getComponent()
Returns the target component.

Returns:
the target component

getNextId

public java.lang.String getNextId()
Returns the next component id.

Returns:
the next component id

getPreviousId

public java.lang.String getPreviousId()
Returns the previous component id.

Returns:
the previous component id

isIgnore

public boolean isIgnore()
Returns true if the component will be ignored by the ARIA and FocusManager API.

Returns:
true if component is being ignored

setIgnore

public void setIgnore(boolean ignore)
True to mark this component to be ignored by the ARIA and FocusManager API (defaults to false). Typically set to true for any containers that should not be navigable to.

Parameters:
ignore - true to ignore

setNextId

public void setNextId(java.lang.String nextId)
The id of the component to navigate to when TAB is pressed (defaults to null). When set, the focus manager will override its default behavior to determine the next focusable widget.

Parameters:
nextId - the next component id

setPreviousId

public void setPreviousId(java.lang.String previousId)
The id of the component to navigate to when SHIFT-TAB is pressed (defaults to null). When set, the focus manager will override its default behavior to determine the previous focusable widget.

Parameters:
previousId - the previous component id