Package io.keikai.model
Class PasteOption
- java.lang.Object
-
- io.keikai.model.PasteOption
-
- All Implemented Interfaces:
Serializable
public class PasteOption extends Object implements Serializable
This class contains various paste options used forSSheet.pasteCell(SheetRegion, CellRegion, PasteOption).- Since:
- 3.5.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasteOption.PasteOperationstatic classPasteOption.PasteType
-
Constructor Summary
Constructors Constructor Description PasteOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasteOption.PasteOperationgetPasteOperation()PasteOption.PasteTypegetPasteType()booleanisAutoFill()Returns whether it's for auto-fill action.booleanisCut()Shall cut the source region after pastebooleanisSkipBlank()booleanisTranspose()voidsetAutoFill(boolean autoFill)Sets the paste option for auto-fill action.voidsetCut(boolean cut)Set true to enable cutting source region after pastevoidsetPasteOperation(PasteOption.PasteOperation pasteOperation)voidsetPasteType(PasteOption.PasteType pasteType)voidsetSkipBlank(boolean skipBlank)voidsetTranspose(boolean transpose)
-
-
-
Method Detail
-
isSkipBlank
public boolean isSkipBlank()
-
setSkipBlank
public void setSkipBlank(boolean skipBlank)
-
getPasteType
public PasteOption.PasteType getPasteType()
-
setPasteType
public void setPasteType(PasteOption.PasteType pasteType)
-
getPasteOperation
public PasteOption.PasteOperation getPasteOperation()
-
setPasteOperation
public void setPasteOperation(PasteOption.PasteOperation pasteOperation)
-
isCut
public boolean isCut()
Shall cut the source region after paste- Returns:
-
setCut
public void setCut(boolean cut)
Set true to enable cutting source region after paste- Parameters:
cut-
-
isTranspose
public boolean isTranspose()
-
setTranspose
public void setTranspose(boolean transpose)
-
setAutoFill
public void setAutoFill(boolean autoFill)
Sets the paste option for auto-fill action.- Since:
- 5.10
-
isAutoFill
public boolean isAutoFill()
Returns whether it's for auto-fill action.Default:
false- Since:
- 5.10
-
-