Package io.keikai.api
Class SheetAnchor
- java.lang.Object
-
- io.keikai.api.SheetAnchor
-
- All Implemented Interfaces:
Serializable
public class SheetAnchor extends Object implements Serializable
The anchor represents a position in a sheet for the objects (Picture
, orChart
) by row and column index.- Since:
- 3.0.0
- Author:
- dennis
- See Also:
Picture
,Range.addPicture(SheetAnchor, byte[], Picture.Format)
,Chart
,Range#addChart(SheetAnchor, ChartData, Chart.Type, Chart.Grouping, Chart.LegendPosition)
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SheetAnchor.AnchorType
AnchorType
-
Constructor Summary
Constructors Constructor Description SheetAnchor(int row, int column, int lastRow, int lastColumn)
SheetAnchor(int row, int column, int xOffset, int yOffset, int lastRow, int lastColumn, int lastXOffset, int lastYOffset)
SheetAnchor(int row, int column, int xOffset, int yOffset, int lastRow, int lastColumn, int lastXOffset, int lastYOffset, SheetAnchor.AnchorType anchorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SheetAnchor.AnchorType
getAnchorType()
Returns the anchor type.int
getColumn()
int
getLastColumn()
int
getLastRow()
int
getLastXOffset()
int
getLastYOffset()
int
getRow()
int
getXOffset()
int
getYOffset()
-
-
-
Constructor Detail
-
SheetAnchor
public SheetAnchor(int row, int column, int lastRow, int lastColumn)
-
SheetAnchor
public SheetAnchor(int row, int column, int xOffset, int yOffset, int lastRow, int lastColumn, int lastXOffset, int lastYOffset)
-
SheetAnchor
public SheetAnchor(int row, int column, int xOffset, int yOffset, int lastRow, int lastColumn, int lastXOffset, int lastYOffset, SheetAnchor.AnchorType anchorType)
-
-
Method Detail
-
getRow
public int getRow()
-
getColumn
public int getColumn()
-
getXOffset
public int getXOffset()
-
getYOffset
public int getYOffset()
-
getLastRow
public int getLastRow()
-
getLastColumn
public int getLastColumn()
-
getLastXOffset
public int getLastXOffset()
-
getLastYOffset
public int getLastYOffset()
-
getAnchorType
public SheetAnchor.AnchorType getAnchorType()
Returns the anchor type. Default:SheetAnchor.AnchorType.MOVE_AND_RESIZE
- Since:
- 5.9.0
-
-