| Package | flash.ui |
| Class | public final class ContextMenuClipboardItems |
| Inheritance | ContextMenuClipboardItems Object |
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enable or disable the context menu clipboard commands using the clipboardItems property of
the ContextMenu object. The clipboardItems property is an instance of this ContextMenuClipboardItems
class. The clipboard context menu is shown in a context menu when the clipboardMenu property
of the context menu is true, unless the context menu is for a TextField object. TextField objects
control the display of the context menu and the state of its clipboard items automatically.
See also
| Property | Defined By | ||
|---|---|---|---|
| clear : Boolean = false
Enables or disables the 'Delete' or 'Clear' item on the clipboard menu. | ContextMenuClipboardItems | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| copy : Boolean = false
Enables or disables the 'Copy' item on the clipboard menu. | ContextMenuClipboardItems | ||
| cut : Boolean = false
Enables or disables the 'Cut' item on the clipboard menu. | ContextMenuClipboardItems | ||
| paste : Boolean = false
Enables or disables the 'Paste' item on the clipboard menu. | ContextMenuClipboardItems | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
| selectAll : Boolean = true
Enables or disables the 'Select All' item on the clipboard menu. | ContextMenuClipboardItems | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new ContextMenuClipboardItems object. | ContextMenuClipboardItems | ||
![]() |
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 this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
| clear | property |
public var clear:Boolean = false| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enables or disables the 'Delete' or 'Clear' item on the clipboard menu. This should be enabled only if an object that can be cleared is selected.
| copy | property |
public var copy:Boolean = false| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enables or disables the 'Copy' item on the clipboard menu. This should be enabled only if an object that can be copied is selected.
| cut | property |
public var cut:Boolean = false| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enables or disables the 'Cut' item on the clipboard menu. This should be enabled only if an object that can be cut is selected.
| paste | property |
public var paste:Boolean = false| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enables or disables the 'Paste' item on the clipboard menu. This should be enabled only if pastable data is on the clipboard.
| selectAll | property |
public var selectAll:Boolean = true| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Enables or disables the 'Select All' item on the clipboard menu. This should only be enabled in a context where a selection can be expanded to include all similar items, such as in a list or a text editing control.
| ContextMenuClipboardItems | () | Constructor |
public function ContextMenuClipboardItems()| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Creates a new ContextMenuClipboardItems object.