Package org.luwrain.controls
Class ListUtils.DefaultClipboardSaver<E>
java.lang.Object
org.luwrain.controls.ListUtils.DefaultClipboardSaver<E>
- All Implemented Interfaces:
ListArea.ClipboardSaver<E>
- Direct Known Subclasses:
ListUtils.FunctionalClipboardSaver
- Enclosing class:
ListUtils
public static class ListUtils.DefaultClipboardSaver<E>
extends Object
implements ListArea.ClipboardSaver<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getClipboardObj
(ListArea.Appearance<E> appearance, E obj) protected String
getClipboardString
(ListArea.Appearance<E> appearance, E obj) boolean
saveToClipboard
(ListArea<E> listArea, ListArea.Model<E> model, ListArea.Appearance<E> appearance, int fromIndex, int toIndex, Clipboard clipboard)
-
Constructor Details
-
DefaultClipboardSaver
public DefaultClipboardSaver()
-
-
Method Details
-
saveToClipboard
public boolean saveToClipboard(ListArea<E> listArea, ListArea.Model<E> model, ListArea.Appearance<E> appearance, int fromIndex, int toIndex, Clipboard clipboard) - Specified by:
saveToClipboard
in interfaceListArea.ClipboardSaver<E>
-
getClipboardString
-
getClipboardObj
-