# ClipboardOperations Class
# Constructors
# constructor
+ new ClipboardOperations(config
: Config, dependencyGraph
: DependencyGraph, operations
: Operations): ClipboardOperations
Defined in src/ClipboardOperations.ts:77 (opens new window)
Parameters:
Name | Type |
---|---|
config | Config |
dependencyGraph | DependencyGraph |
operations | Operations |
Returns: ClipboardOperations
# Properties
# clipboard Optional
• clipboard? : Clipboard
Defined in src/ClipboardOperations.ts:75 (opens new window)
# Methods
# abortCut
▸ abortCut(): void
Defined in src/ClipboardOperations.ts:107 (opens new window)
Returns: void
# clear
▸ clear(): void
Defined in src/ClipboardOperations.ts:113 (opens new window)
Returns: void
# copy
▸ copy(leftCorner
: SimpleCellAddress, width
: number, height
: number): void
Defined in src/ClipboardOperations.ts:92 (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:88 (opens new window)
Parameters:
Name | Type |
---|---|
leftCorner | SimpleCellAddress |
width | number |
height | number |
Returns: void
# ensureItIsPossibleToCopyPaste
▸ ensureItIsPossibleToCopyPaste(destinationLeftCorner
: SimpleCellAddress): void
Defined in src/ClipboardOperations.ts:117 (opens new window)
Parameters:
Name | Type |
---|---|
destinationLeftCorner | SimpleCellAddress |
Returns: void
# isCopyClipboard
▸ isCopyClipboard(): boolean
Defined in src/ClipboardOperations.ts:141 (opens new window)
Returns: boolean
# isCutClipboard
▸ isCutClipboard(): boolean
Defined in src/ClipboardOperations.ts:137 (opens new window)
Returns: boolean