com.sencha.gxt.widget.core.client
Class FocusManagerSupport

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.FocusManagerSupport

public class FocusManagerSupport
extends Object

Component support class for Focus Manager.


Method Summary
 Component getComponent()
          Returns the target widget.
 String getNextId()
          Returns the next widget id.
 String getPreviousId()
          Returns the previous widget id.
 boolean isIgnore()
          Returns true if the widget will be ignored by the ARIA and FocusManager API.
 void setIgnore(boolean ignore)
          True to mark this widget to be ignored by the ARIA and FocusManager API (defaults to false).
 void setNextId(String nextId)
          The id of the widget to navigate to when TAB is pressed (defaults to null).
 void setPreviousId(String previousId)
          The id of the widget to navigate to when SHIFT-TAB is pressed (defaults to null).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getComponent

public Component getComponent()
Returns the target widget.

Returns:
the target widget

getNextId

public String getNextId()
Returns the next widget id.

Returns:
the next widget id

getPreviousId

public String getPreviousId()
Returns the previous widget id.

Returns:
the previous widget id

isIgnore

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

Returns:
true if widget is being ignored

setIgnore

public void setIgnore(boolean ignore)
True to mark this widget 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(String nextId)
The id of the widget 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 widget id

setPreviousId

public void setPreviousId(String previousId)
The id of the widget 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 widget id


Copyright © 2012. All Rights Reserved.