Skip to content

Instantly share code, notes, and snippets.

@nsdevaraj
Created January 4, 2012 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsdevaraj/1559232 to your computer and use it in GitHub Desktop.
Save nsdevaraj/1559232 to your computer and use it in GitHub Desktop.
Focus Group for default button
package components{
import mx.core.IFlexDisplayObject;
import mx.managers.IFocusManagerContainer;
import spark.components.Group;
public class FocusGroup extends Group implements IFocusManagerContainer
{
public function get defaultButton():IFlexDisplayObject
{
return null;
}
public function set defaultButton(value:IFlexDisplayObject):void
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment