Package io.keikai.api
Class SheetAnchor
java.lang.Object
io.keikai.api.SheetAnchor
- All Implemented Interfaces:
Serializable
The anchor represents a position in a sheet for the objects (
Picture , or Chart) by row and column index.- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
PictureRange.addPicture(SheetAnchor, byte[], Picture.Format)ChartRange#addChart(SheetAnchor, ChartData, Chart.Type, Chart.Grouping, Chart.LegendPosition)- Serialized Form
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSheetAnchor(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
Modifier and TypeMethodDescriptionReturns the anchor type.intintintintintintgetRow()intint
-
Constructor Details
-
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 Details
-
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
Returns the anchor type. Default:SheetAnchor.AnchorType.MOVE_AND_RESIZE- Since:
- 5.9.0
-