Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » usermodel » [javadoc | source]
org.apache.poi.hssf.usermodel
public class: HSSFClientAnchor [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.usermodel.HSSFAnchor
      org.apache.poi.hssf.usermodel.HSSFClientAnchor
A client anchor is attached to an excel worksheet. It anchors against a top-left and buttom-right cell.
Field Summary
 short col1     
 int row1     
 short col2     
 int row2     
 int anchorType     
Fields inherited from org.apache.poi.hssf.usermodel.HSSFAnchor:
dx1,  dy1,  dx2,  dy2
Constructor:
 public HSSFClientAnchor() 
 public HSSFClientAnchor(int dx1,
    int dy1,
    int dx2,
    int dy2,
    short col1,
    int row1,
    short col2,
    int row2) 
Method from org.apache.poi.hssf.usermodel.HSSFClientAnchor Summary:
getAnchorHeightInPoints,   getAnchorType,   getCol1,   getCol2,   getRow1,   getRow2,   isHorizontallyFlipped,   isVerticallyFlipped,   setAnchor,   setAnchorType,   setCol1,   setCol2,   setRow1,   setRow2
Methods from org.apache.poi.hssf.usermodel.HSSFAnchor:
getDx1,   getDx2,   getDy1,   getDy2,   isHorizontallyFlipped,   isVerticallyFlipped,   setDx1,   setDx2,   setDy1,   setDy2
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.usermodel.HSSFClientAnchor Detail:
 public float getAnchorHeightInPoints(HSSFSheet sheet) 
    Calculates the height of a client anchor in points.
 public int getAnchorType() 
    Gets the anchor type

    0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.

 public short getCol1() 
 public short getCol2() 
 public int getRow1() 
 public int getRow2() 
 public boolean isHorizontallyFlipped() 
 public boolean isVerticallyFlipped() 
 public  void setAnchor(short col1,
    int row1,
    int x1,
    int y1,
    short col2,
    int row2,
    int x2,
    int y2) 
    Dets the top-left and bottom-right coordinates of the anchor.
 public  void setAnchorType(int anchorType) 
    Sets the anchor type

    0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.

 public  void setCol1(short col1) 
 public  void setCol2(short col2) 
 public  void setRow1(int row1) 
 public  void setRow2(int row2)