Class DefaultClipboard.ClipboardDataImpl
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.editor.clipboard.impl.DefaultClipboard.ClipboardDataImpl
-
- All Implemented Interfaces:
Clipboard.ClipboardData
- Enclosing class:
- DefaultClipboard
public static class DefaultClipboard.ClipboardDataImpl extends Object implements Clipboard.ClipboardData
-
-
Constructor Summary
Constructors Constructor Description ClipboardDataImpl(int rowIndex, int columnIndex, org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52 value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnIndex()Source Column index, relative to the first selection e.g. if (2, 3) is selected then (2, 4) has an index of 1.intgetRowIndex()Source Row index, relative to the first selection e.g. if (2, 3) is selected then (3, 3) has an index of 1.org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52getValue()Source value.
-
-
-
Method Detail
-
getRowIndex
public int getRowIndex()
Description copied from interface:Clipboard.ClipboardDataSource Row index, relative to the first selection e.g. if (2, 3) is selected then (3, 3) has an index of 1.- Specified by:
getRowIndexin interfaceClipboard.ClipboardData- Returns:
-
getColumnIndex
public int getColumnIndex()
Description copied from interface:Clipboard.ClipboardDataSource Column index, relative to the first selection e.g. if (2, 3) is selected then (2, 4) has an index of 1.- Specified by:
getColumnIndexin interfaceClipboard.ClipboardData- Returns:
-
getValue
public org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52 getValue()
Description copied from interface:Clipboard.ClipboardDataSource value.- Specified by:
getValuein interfaceClipboard.ClipboardData- Returns:
-
-