001 package jigcell.compare.ui;
002
003 import jigcell.compare.ITab;
004
005 /**
006 * Represents a Comparator tab that has promised functionality for using a clipboard with tabular data. Components supporting only a subset of
007 * these features should throw an UnsupportedOperationException to indicate features that are not supported.
008 *
009 * <p>
010 * This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
011 * </p>
012 *
013 * @author Nicholas Allen
014 */
015
016 public interface IClipboardTab extends ITab {
017
018 /**
019 * Copies all rows to the clipboard.
020 */
021
022 void clipboardCopy ();
023
024 /**
025 * Copies selected rows to the clipboard.
026 *
027 * @param rows Rows
028 */
029
030 void clipboardCopy (int rows []);
031
032 /**
033 * Cuts all rows to the clipboard.
034 */
035
036 void clipboardCut ();
037
038 /**
039 * Cuts selected rows to the clipboard.
040 *
041 * @param rows Rows
042 */
043
044 void clipboardCut (int rows []);
045
046 /**
047 * Pastes from the clipboard.
048 */
049
050 void clipboardPaste ();
051 }