Package | com.ericfeminella.ui |
Class | public final class ContextMenuItemCaptionValidator |
ContextMenuItem
caption is valid
See also
Method | Defined by | ||
---|---|---|---|
isValidCaption(caption:String):Boolean
[static]
Determines if the specified
ContextMenuItem is valid
based on the reserved words and or terms defined by Adobe
| ContextMenuItemCaptionValidator |
Constant | Defined by | ||
---|---|---|---|
ILLEGAL_CAPTIONS : Array [static]
Defines an Array of reserved captions which can not be used
in a custom
ContextMenuItem , either singularly
or in conjunction with other words and / or charachters
| ContextMenuItemCaptionValidator | ||
MAXIMUM_CHARACHTER_LENGTH : uint = 100 [static]
Defines the maximum charachter length which may not be
exceeded in a
ContextMenuItem
| ContextMenuItemCaptionValidator | ||
RESERVED_CAPTIONS : Array [static]
Defines an Array of reserved captions which can not be used
in a custom
ContextMenuItem unless used in conjunction
with other words and / or charachters sequences
| ContextMenuItemCaptionValidator |
isValidCaption | () | method |
public static function isValidCaption(caption:String):Boolean
Determines if the specified ContextMenuItem
is valid
based on the reserved words and or terms defined by Adobe
caption:String — caption from which to perform validation
|
Boolean — true if the caption is valid, otherwise false
|
ILLEGAL_CAPTIONS | constant |
public static const ILLEGAL_CAPTIONS:Array
Defines an Array of reserved captions which can not be used
in a custom ContextMenuItem
, either singularly
or in conjunction with other words and / or charachters
MAXIMUM_CHARACHTER_LENGTH | constant |
public static const MAXIMUM_CHARACHTER_LENGTH:uint = 100
Defines the maximum charachter length which may not be
exceeded in a ContextMenuItem
RESERVED_CAPTIONS | constant |
public static const RESERVED_CAPTIONS:Array
Defines an Array of reserved captions which can not be used
in a custom ContextMenuItem
unless used in conjunction
with other words and / or charachters sequences