|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xssf.usermodel.XSSFAnchor
org.apache.poi.xssf.usermodel.XSSFClientAnchor
public class XSSFClientAnchor
A client anchor is attached to an excel worksheet. It anchors against top-left and bottom-right cells.
Constructor Summary | |
---|---|
|
XSSFClientAnchor()
Creates a new client anchor and defaults all the anchor positions to 0. |
protected |
XSSFClientAnchor(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker cell1,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker cell2)
Create XSSFClientAnchor from existing xml beans |
|
XSSFClientAnchor(int dx1,
int dy1,
int dx2,
int dy2,
int col1,
int row1,
int col2,
int row2)
Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
short |
getCol1()
|
short |
getCol2()
|
int |
getDx1()
|
int |
getDx2()
|
int |
getDy1()
|
int |
getDy2()
|
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker |
getFrom()
Return starting anchor point |
int |
getRow1()
|
int |
getRow2()
|
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker |
getTo()
Return ending anchor point |
void |
setCol1(int col1)
|
void |
setCol2(int col2)
|
void |
setDx1(int dx1)
|
void |
setDx2(int dx2)
|
void |
setDy1(int dy1)
|
void |
setDy2(int dy2)
|
protected void |
setFrom(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker from)
|
void |
setRow1(int row1)
|
void |
setRow2(int row2)
|
protected void |
setTo(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker to)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XSSFClientAnchor()
public XSSFClientAnchor(int dx1, int dy1, int dx2, int dy2, int col1, int row1, int col2, int row2)
dx1
- the x coordinate within the first cell.dy1
- the y coordinate within the first cell.dx2
- the x coordinate within the second cell.dy2
- the y coordinate within the second cell.col1
- the column (0 based) of the first cell.row1
- the row (0 based) of the first cell.col2
- the column (0 based) of the second cell.row2
- the row (0 based) of the second cell.protected XSSFClientAnchor(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker cell1, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker cell2)
cell1
- starting anchor pointcell2
- ending anchor pointMethod Detail |
---|
public short getCol1()
getCol1
in interface org.apache.poi.ss.usermodel.ClientAnchor
public void setCol1(int col1)
setCol1
in interface org.apache.poi.ss.usermodel.ClientAnchor
public short getCol2()
getCol2
in interface org.apache.poi.ss.usermodel.ClientAnchor
public void setCol2(int col2)
setCol2
in interface org.apache.poi.ss.usermodel.ClientAnchor
public int getRow1()
getRow1
in interface org.apache.poi.ss.usermodel.ClientAnchor
public void setRow1(int row1)
setRow1
in interface org.apache.poi.ss.usermodel.ClientAnchor
public int getRow2()
getRow2
in interface org.apache.poi.ss.usermodel.ClientAnchor
public void setRow2(int row2)
setRow2
in interface org.apache.poi.ss.usermodel.ClientAnchor
public int getDx1()
getDx1
in interface org.apache.poi.ss.usermodel.ClientAnchor
getDx1
in class XSSFAnchor
public void setDx1(int dx1)
setDx1
in interface org.apache.poi.ss.usermodel.ClientAnchor
setDx1
in class XSSFAnchor
public int getDy1()
getDy1
in interface org.apache.poi.ss.usermodel.ClientAnchor
getDy1
in class XSSFAnchor
public void setDy1(int dy1)
setDy1
in interface org.apache.poi.ss.usermodel.ClientAnchor
setDy1
in class XSSFAnchor
public int getDy2()
getDy2
in interface org.apache.poi.ss.usermodel.ClientAnchor
getDy2
in class XSSFAnchor
public void setDy2(int dy2)
setDy2
in interface org.apache.poi.ss.usermodel.ClientAnchor
setDy2
in class XSSFAnchor
public int getDx2()
getDx2
in interface org.apache.poi.ss.usermodel.ClientAnchor
getDx2
in class XSSFAnchor
public void setDx2(int dx2)
setDx2
in interface org.apache.poi.ss.usermodel.ClientAnchor
setDx2
in class XSSFAnchor
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker getFrom()
protected void setFrom(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker from)
public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker getTo()
protected void setTo(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker to)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |