ActionScript 3.0 Language and Components Reference | All Packages | All Classes | Language Elements | Index | Appendixes | Conventions | Frames No Frames |
ContextMenuClipboardItems

Package | flash.ui
Class | public final class ContextMenuClipboardItems
Inheritance | ContextMenuClipboardItems Object

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

The ContextMenuClipboardItems class determines which items are enabled or disabled on the clipboard context menu. These settings are used when `ContextMenu.clipboardMenu=true` and when the object with focus is not a `TextField`.

See also

ContextMenu.clipboardMenu

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | clear : Boolean = false Enables or disables the 'Delete' (Windows) / 'Clear' (Mac) 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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ContextMenuClipboardItems() Creates a new ContextMenuClipboardItems object so that you can set the properties for Flash Player to enable or disable each menu item. | ContextMenuClipboardItems
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Property Detail

clear | property

`public var clear:Boolean = false`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Enables or disables the 'Delete' (Windows) / 'Clear' (Mac) item on the clipboard menu. This should be enabled only if something is selected.

copy | property |

`public var copy:Boolean = false`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Enables or disables the 'Copy' item on the clipboard menu. This should be enabled only if something is selected.

cut | property |

`public var cut:Boolean = false`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Enables or disables the 'Cut' item on the clipboard menu. This should be enabled only if something is selected.

paste | property |

`public var paste:Boolean = false`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Enables or disables the 'Paste' item on the clipboard menu. This should be enabled only if something is on the clipboard.

selectAll | property |

`public var selectAll:Boolean = true`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Enables or disables the 'Select All' item on the clipboard menu. This is usually enabled.

Constructor Detail

ContextMenuClipboardItems | () | Constructor

`public function ContextMenuClipboardItems()`

Language Version : | ActionScript 3.0

Player Version : | Flash Player 10

Creates a new ContextMenuClipboardItems object so that you can set the properties for Flash Player to enable or disable each menu item.

Submit Feedback on LiveDocs
© 2004-2008 Adobe Systems Incorporated. All rights reserved.
Tue May 20 2008, 04:02 AM -07:00