Package io.keikai.model
Class PasteOption
java.lang.Object
io.keikai.model.PasteOption
- All Implemented Interfaces:
Serializable
This class contains various paste options used for
SSheet.pasteCell(SheetRegion, CellRegion, PasteOption).- Since:
- 3.5.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether it's for auto-fill action.booleanisCut()Shall cut the source region after pastebooleanbooleanvoidsetAutoFill(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)
-
Constructor Details
-
PasteOption
public PasteOption()
-
-
Method Details
-
isSkipBlank
public boolean isSkipBlank() -
setSkipBlank
public void setSkipBlank(boolean skipBlank) -
getPasteType
-
setPasteType
-
getPasteOperation
-
setPasteOperation
-
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
-