Language version: | ActionScript 3.0 |
The ContextMenuClipboardItems class lets you enable or disable the commands in the clipboard context menu.
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.
clear:Boolean
[read-write]
Language version: | ActionScript 3.0 |
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.
Implementation
public function get clear():Boolean
public function set clear(value:Boolean):void
copy:Boolean
[read-write]
Language version: | ActionScript 3.0 |
Enables or disables the 'Copy' item on the clipboard menu.
This should be enabled only if an object that can be copied is selected.
Implementation
public function get copy():Boolean
public function set copy(value:Boolean):void
cut:Boolean
[read-write]
Language version: | ActionScript 3.0 |
Enables or disables the 'Cut' item on the clipboard menu.
This should be enabled only if an object that can be cut is selected.
Implementation
public function get cut():Boolean
public function set cut(value:Boolean):void
paste:Boolean
[read-write]
Language version: | ActionScript 3.0 |
Enables or disables the 'Paste' item on the clipboard menu.
This should be enabled only if pastable data is on the clipboard.
Implementation
public function get paste():Boolean
public function set paste(value:Boolean):void
selectAll:Boolean
[read-write]
Language version: | ActionScript 3.0 |
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.
Implementation
public function get selectAll():Boolean
public function set selectAll(value:Boolean):void
public function ContextMenuClipboardItems()
Language version: | ActionScript 3.0 |
Creates a new ContextMenuClipboardItems object.
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Sep 28 2022, 6:12 PM GMT+01:00