Class AC.data.Clipboard
Manages the clipboard.
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
AC.data.Clipboard.actionCenterListener
ActionCenter listener.
|
<static> |
AC.data.Clipboard.clientGUID
A property to store the current paste GUID
|
<static> |
AC.data.Clipboard.copiedItemList
A list of items deep copied to the clipboard.
|
<static> |
AC.data.Clipboard.pendingCopy
A flag to indicate a copy/cut is in process
|
<static> |
AC.data.Clipboard.shallowCopiedItemList
A list of items shallow copied to the clipboard.
|
<static> |
AC.data.Clipboard.sourceId
The id of the source of the data in the clipboard
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.data.Clipboard.getClientGUID()
gets the clientGUID
|
<static> |
AC.data.Clipboard.getClipboardTypes()
Gets the deep contents of the clipboard.
|
<static> |
AC.data.Clipboard.getShallowClipboardTypes()
Gets the shallow contents of the clipboard.
|
<static> |
AC.data.Clipboard.getSourceId()
Gets the contents of the clipboard.
|
<static> |
AC.data.Clipboard.initiateClipboard()
Gets a clipboard contribution and invokes subscribeToClipboard as a callback method.
|
<static> |
AC.data.Clipboard.isPendingCopy()
Gets the value of the pendingCopy flag
|
<static> |
AC.data.Clipboard.pasteToNode()
Displays a waiting message while pendingCopy flag is true
|
<static> |
AC.data.Clipboard.replaceClipboard(msg)
Replaces contents of the clipboard with the contents of the clipboard specified in the message.
|
<static> |
AC.data.Clipboard.setClientGUID(clientGUID)
Sets the clientGUID
|
<static> |
AC.data.Clipboard.setPendingCopy(p)
Sets the value of the pendingCopy flag
|
<static> |
AC.data.Clipboard.subscribeToClipboard(clipboard)
Copies clipboard items from the specified clipboard contribution and subscribes to the clipboard update channel.
|
Field Detail
<static>
AC.data.Clipboard.actionCenterListener
ActionCenter listener.
- Default Value:
- null
<static>
AC.data.Clipboard.clientGUID
A property to store the current paste GUID
- Default Value:
- null
<static>
AC.data.Clipboard.copiedItemList
A list of items deep copied to the clipboard.
- Default Value:
- null
<static>
AC.data.Clipboard.pendingCopy
A flag to indicate a copy/cut is in process
- Default Value:
- false
<static>
AC.data.Clipboard.shallowCopiedItemList
A list of items shallow copied to the clipboard.
- Default Value:
- null
<static>
AC.data.Clipboard.sourceId
The id of the source of the data in the clipboard
- Default Value:
- null
Method Detail
<static>
AC.data.Clipboard.getClientGUID()
gets the clientGUID
- Returns:
- (String) The clientGUID
<static>
AC.data.Clipboard.getClipboardTypes()
Gets the deep contents of the clipboard.
- Returns:
- the list of deep copied item types
<static>
AC.data.Clipboard.getShallowClipboardTypes()
Gets the shallow contents of the clipboard.
- Returns:
- the list of shallow copied item types
<static>
AC.data.Clipboard.getSourceId()
Gets the contents of the clipboard.
- Returns:
- the source component id of the clipboard contents
<static>
AC.data.Clipboard.initiateClipboard()
Gets a clipboard contribution and invokes subscribeToClipboard as a callback method.
- Returns:
- void
<static>
AC.data.Clipboard.isPendingCopy()
Gets the value of the pendingCopy flag
- Returns:
- boolean value
<static>
AC.data.Clipboard.pasteToNode()
Displays a waiting message while pendingCopy flag is true
<static>
AC.data.Clipboard.replaceClipboard(msg)
Replaces contents of the clipboard with the contents of the clipboard specified in the message.
- Parameters:
- msg
- the message with the new clipboard contents
- Returns:
- void
<static>
AC.data.Clipboard.setClientGUID(clientGUID)
Sets the clientGUID
- Parameters:
- clientGUID
<static>
AC.data.Clipboard.setPendingCopy(p)
Sets the value of the pendingCopy flag
- Parameters:
- p
<static>
AC.data.Clipboard.subscribeToClipboard(clipboard)
Copies clipboard items from the specified clipboard contribution and subscribes to the clipboard update channel.
- Parameters:
- clipboard
- the clipboard contribution
- Returns:
- void