Interface IClipboardTextPropertyOwner<T>
- Type Parameters:
T- visual set data elements type
- All Known Implementing Classes:
AbstractGridLineVisualSet,AbstractPolylineVisualSet,GanttPolylineVisualSet,HorizontalGridLineVisualSet,LineBarVisualSet,LineVisualSet,PointsVisualSet,PolylineVisualSet,RangeRegionVisualSet,RegionVisualSet,VerticalGridLineVisualSet
public interface IClipboardTextPropertyOwner<T>
Interface of 'copy to clipboard' property owner elements. Provides a set of
methods corresponding to it.
- Author:
- Aleksey Kirillov
-
Method Summary
Modifier and TypeMethodDescriptiongetClipboardText(T object) Returns the text that will be copied to clipboard for the given object.setClipboardText(Function<T, String> clipboardTextExtractor) Sets the conversion method from values of each plot data element into text that will be copied to clipboard.
-
Method Details
-
setClipboardText
Sets the conversion method from values of each plot data element into text that will be copied to clipboard.- Parameters:
clipboardTextExtractor- an extractor that converts the value of each plot data element into text that will be copied to the clipboard- Returns:
- reference to this object
-
getClipboardText
Returns the text that will be copied to clipboard for the given object.- Parameters:
object- object for which the clipboard text is being checked- Returns:
- the text that will be copied to clipboard for the given object
-