| Package | org.openzet.utils |
| Class | public class PopUpUtil |
| Method | Defined by | ||
|---|---|---|---|
|
getPopUpInstanceOf(className:Class):DisplayObject
[static]
Returns a popUp instance of certain Class.
| PopUpUtil | ||
|
hasInstanceOf(popUpClass:Class):Boolean
[static]
Returns whether an instance of certain class is being popped up.
| PopUpUtil | ||
|
isPopUp(popUp:DisplayObject):Boolean
[static]
Returns whether a certain instance is being popped up.
| PopUpUtil | ||
|
removeAllPopUps():void
[static]
Removes all popUps, every single one of them.
| PopUpUtil | ||
|
removePopUpInstanceOf(className:Class):void
[static]
Removes popUp instances of a certain class.
| PopUpUtil | ||
| getPopUpInstanceOf | () | method |
public static function getPopUpInstanceOf(className:Class):DisplayObjectReturns a popUp instance of certain Class.
ParametersclassName:Class — PopUp instance's class
|
DisplayObject — Returns an instance of a certain class if it has been popped up, otherwise null.
|
| hasInstanceOf | () | method |
public static function hasInstanceOf(popUpClass:Class):BooleanReturns whether an instance of certain class is being popped up.
ParameterspopUpClass:Class — Class of the possible popUp instance.
|
Boolean — Returns true if any instance of the Class has been popped up, otherwise false.
|
| isPopUp | () | method |
public static function isPopUp(popUp:DisplayObject):BooleanReturns whether a certain instance is being popped up.
ParameterspopUp:DisplayObject — A reference to a certain instance
|
Boolean — Returns true if the instance has been popped up, otherwise false.
|
| removeAllPopUps | () | method |
public static function removeAllPopUps():voidRemoves all popUps, every single one of them.
| removePopUpInstanceOf | () | method |
public static function removePopUpInstanceOf(className:Class):voidRemoves popUp instances of a certain class.
ParametersclassName:Class — Class, instances of which to remove
|