Package org.luwrain.controls
Class LinesClipboardProvider
java.lang.Object
org.luwrain.controls.LinesClipboardProvider
- All Implemented Interfaces:
ClipboardTranslator.Provider
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final LinesClipboardProvider.ClipboardSource
protected final Lines
-
Constructor Summary
ConstructorDescriptionLinesClipboardProvider
(Lines lines, LinesClipboardProvider.ClipboardSource clipboardSource) -
Method Summary
Modifier and TypeMethodDescriptionboolean
onClipboardCopy
(int fromX, int fromY, int toX, int toY, boolean withDeleting) boolean
boolean
onDeleteRegion
(int fromX, int fromY, int toX, int toY)
-
Field Details
-
lines
-
clipboardSource
-
-
Constructor Details
-
LinesClipboardProvider
-
-
Method Details
-
onClipboardCopyAll
public boolean onClipboardCopyAll()- Specified by:
onClipboardCopyAll
in interfaceClipboardTranslator.Provider
-
onClipboardCopy
public boolean onClipboardCopy(int fromX, int fromY, int toX, int toY, boolean withDeleting) - Specified by:
onClipboardCopy
in interfaceClipboardTranslator.Provider
-
onDeleteRegion
public boolean onDeleteRegion(int fromX, int fromY, int toX, int toY) - Specified by:
onDeleteRegion
in interfaceClipboardTranslator.Provider
-