| Package | mx.utils |
| Class | public class NameUtil |
| Inheritance | NameUtil Object |
NameUtil.createName() method.
| Method | Defined by | ||
|---|---|---|---|
|
[static]
Creates a unique name for any Object instance, such as "Button12", by
combining the unqualified class name with an incrementing counter.
| NameUtil | ||
|
[static]
Returns a string, such as
"MyApplication0.addressForm.lastName.TextField17",
for a DisplayObject object that indicates its position in the
hierarchy of DisplayObject objects in an application.
| NameUtil | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| createUniqueName | () | method |
public static function createUniqueName(object:Object):StringCreates a unique name for any Object instance, such as "Button12", by combining the unqualified class name with an incrementing counter.
Parametersobject:Object — Object requiring a name.
|
String —
String containing the unique name.
|
| displayObjectToString | () | method |
public static function displayObjectToString(displayObject:DisplayObject):StringReturns a string, such as "MyApplication0.addressForm.lastName.TextField17", for a DisplayObject object that indicates its position in the hierarchy of DisplayObject objects in an application.
ParametersdisplayObject:DisplayObject — A DisplayObject object whose hierarchy in the application
is desired.
|
String —
String containing the position of displayObject
in the hierarchy of DisplayObject objects in an application.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/utils/NameUtil.html