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 class
PasteOption.PasteOperation
static class
PasteOption.PasteType
-
Constructor Summary
Constructors Constructor Description PasteOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasteOption.PasteOperation
getPasteOperation()
PasteOption.PasteType
getPasteType()
boolean
isAutoFill()
Returns whether it's for auto-fill action.boolean
isCut()
Shall cut the source region after pasteboolean
isSkipBlank()
boolean
isTranspose()
void
setAutoFill(boolean autoFill)
Sets the paste option for auto-fill action.void
setCut(boolean cut)
Set true to enable cutting source region after pastevoid
setPasteOperation(PasteOption.PasteOperation pasteOperation)
void
setPasteType(PasteOption.PasteType pasteType)
void
setSkipBlank(boolean skipBlank)
void
setTranspose(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
-
-