scaffold.libs_as.feathers.core.IFocusExtras.as Maven / Gradle / Ivy
/*
Feathers
Copyright 2012-2015 Bowler Hat LLC. All Rights Reserved.
This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.core
{
import starling.display.DisplayObject;
/**
* A container that may have extra children that aren't accessible from the
* standard display list functions like getChildAt()
, but those
* "extra" children may still need to receive focus. An example of this
* would be a container with "chrome", such as feathers.controls.Panel
.
*
* @see ../../../help/focus.html Keyboard focus management in Feathers
*/
public interface IFocusExtras
{
/**
* Extra display objects that are not accessible through standard
* display list functions like getChildAt()
, but should
* appear before those children in the focus order. Typically, this is
* for containers that have chrome that is hidden from the normal
* display list API.
*
* May return null
if there are no extra children.
*/
function get focusExtrasBefore():Vector.;
/**
* Extra display objects that are not accessible through standard
* display list functions like getChildAt()
, but should
* appear after those children in the focus order. Typically, this is
* for containers that have chrome that is hidden from the normal
* display list API.
*
* May return null
if there are no extra children.
*/
function get focusExtrasAfter():Vector.;
}
}