net.sf.jxls.transformation
Class ShiftTransformation
java.lang.Object
net.sf.jxls.transformation.BlockTransformation
net.sf.jxls.transformation.ShiftTransformation
public class ShiftTransformation
- extends BlockTransformation
Defines simple shift transformation
- Author:
- Leonid Vysochyn
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ShiftTransformation
public ShiftTransformation(Block block,
int rowShift,
int colShift)
getBlockAfterTransformation
public Block getBlockAfterTransformation()
- Specified by:
getBlockAfterTransformation in class BlockTransformation
transformCell
public java.util.List transformCell(Point p)
- Description copied from class:
BlockTransformation
- Transforms given spreadsheet cell
- Specified by:
transformCell in class BlockTransformation
- Parameters:
p - - Point representing spreadsheet cell to transform
- Returns:
List of Point objects which are result of source cell transformation
transformCell
public java.util.List transformCell(java.lang.String sheetName,
CellRef cellRef)
- Description copied from class:
BlockTransformation
- Transforms given spreadsheet cell
- Specified by:
transformCell in class BlockTransformation
- Parameters:
sheetName - - indicates sheet containing cell to transformcellRef - - CellRef object representing spreadsheet cell to transform
- Returns:
List of cell names which are result of source cell transformation
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class BlockTransformation
hashCode
public int hashCode()
- Overrides:
hashCode in class BlockTransformation
toString
public java.lang.String toString()
- Overrides:
toString in class BlockTransformation
Copyright © 2005-2013 jXLS Team. All Rights Reserved.