scaffold.libs_as.feathers.controls.supportClasses.IScreenNavigatorItem.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.controls.supportClasses
{
import starling.display.DisplayObject;
/**
* @private
* A simple interface for screen navigator items to be used by
* BaseScreenNavigator
.
*
* @see BaseScreenNavigator
*/
public interface IScreenNavigatorItem
{
/**
* Determines if a display object returned by getScreen()
* can be disposed or not when a screen is no longer active.
*
* @see #getScreen()
*/
function get canDispose():Boolean;
/**
* Returns a display object instance of this screen.
*/
function getScreen():DisplayObject;
}
}