# ClipboardOperations Class
# Constructors
# constructor
+ new ClipboardOperations(config: Config, dependencyGraph: DependencyGraph, operations: Operations): ClipboardOperations
Defined in src/ClipboardOperations.ts:78 (opens new window)
Parameters:
| Name | Type |
|---|---|
config | Config |
dependencyGraph | DependencyGraph |
operations | Operations |
Returns: ClipboardOperations
# Properties
# clipboard Optional
• clipboard? : Clipboard
Defined in src/ClipboardOperations.ts:76 (opens new window)
# Methods
# abortCut
▸ abortCut(): void
Defined in src/ClipboardOperations.ts:108 (opens new window)
Returns: void
# clear
▸ clear(): void
Defined in src/ClipboardOperations.ts:114 (opens new window)
Returns: void
# copy
▸ copy(leftCorner: SimpleCellAddress, width: number, height: number): void
Defined in src/ClipboardOperations.ts:93 (opens new window)
Parameters:
| Name | Type |
|---|---|
leftCorner | SimpleCellAddress |
width | number |
height | number |
Returns: void
# cut
▸ cut(leftCorner: SimpleCellAddress, width: number, height: number): void
Defined in src/ClipboardOperations.ts:89 (opens new window)
Parameters:
| Name | Type |
|---|---|
leftCorner | SimpleCellAddress |
width | number |
height | number |
Returns: void
# ensureItIsPossibleToCopyPaste
▸ ensureItIsPossibleToCopyPaste(destinationLeftCorner: SimpleCellAddress): void
Defined in src/ClipboardOperations.ts:118 (opens new window)
Parameters:
| Name | Type |
|---|---|
destinationLeftCorner | SimpleCellAddress |
Returns: void
# isCopyClipboard
▸ isCopyClipboard(): boolean
Defined in src/ClipboardOperations.ts:142 (opens new window)
Returns: boolean
# isCutClipboard
▸ isCutClipboard(): boolean
Defined in src/ClipboardOperations.ts:138 (opens new window)
Returns: boolean