Class XlsxImage.ClientAnchorDetail

java.lang.Object
overit.geocall.basic.ui.xlsx.XlsxImage.ClientAnchorDetail
Enclosing class:
XlsxImage

public class XlsxImage.ClientAnchorDetail extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientAnchorDetail(int fromIndex, int toIndex, int inset)
    Create a new instance of the ClientAnchorDetail class using the following parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get one of the number of the column or row that contains the cell whose top left hand corner will be aligned with the top left hand corner of the image.
    int
    Get the images offset from the edge of a cell.
    int
    Get one of the number of the column or row that contains the cell whose top left hand corner will be aligned with the bottom right hand corner of the image.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fromIndex

      protected int fromIndex
    • toIndex

      protected int toIndex
    • inset

      protected int inset
  • Constructor Details

    • ClientAnchorDetail

      public ClientAnchorDetail(int fromIndex, int toIndex, int inset)
      Create a new instance of the ClientAnchorDetail class using the following parameters.
      Parameters:
      fromIndex - A primitive int that contains one of the coordinates (row or column index) for the top left hand corner of the image.
      toIndex - A primitive int that contains one of the coordinates (row or column index) for the bottom right hand corner of the image.
      inset - A primitive int that contains a value which indicates how far the image should be inset from the top or the left hand edge of a cell.
  • Method Details

    • getFromIndex

      public int getFromIndex()
      Get one of the number of the column or row that contains the cell whose top left hand corner will be aligned with the top left hand corner of the image.
      Returns:
      The value - row or column index - for one of the coordinates of the top left hand corner of the image.
    • getToIndex

      public int getToIndex()
      Get one of the number of the column or row that contains the cell whose top left hand corner will be aligned with the bottom right hand corner of the image.
      Returns:
      The value - row or column index - for one of the coordinates of the bottom right hand corner of the image.
    • getInset

      public int getInset()
      Get the images offset from the edge of a cell.
      Returns:
      How far either the right hand or bottom edge of the image is inset from the left hand or top edge of a cell.