com.f1j.ss
Class GRObjectPos

java.lang.Object
  |
  +--com.f1j.ss.GRObjectPos

public class GRObjectPos
extends java.lang.Object

This class provides methods for obtaining the worksheet coordinates of a graphical object.


Method Summary
 double getX1()
          Returns the horizontal starting position of a graphical object.
 double getX2()
          Returns the horizontal ending position of a graphical object.
 double getY1()
          Returns the vertical starting position of a graphical object.
 double getY2()
          Returns the vertical ending position of a graphical object.
 

Method Detail

getX1

public final double getX1()
Returns the horizontal starting position of a graphical object.

The value is expressed in rows measured from the top edge of the worksheet. An integer indicates the edge of the object is on a row border. A fractional number indicates the object is placed between borders.

Returns:
value identifying the starting position.
See Also:
getX2(), getY1(), getY2()

getX2

public final double getX2()
Returns the horizontal ending position of a graphical object.

The value is expressed in rows measured from the top edge of the worksheet. An integer indicates the edge of the object is on a row border. A fractional number indicates the object is placed between borders.

Returns:
value identifying the ending position.
See Also:
getX1(), getY1(), getY2()

getY1

public final double getY1()
Returns the vertical starting position of a graphical object.

The value is expressed in columns measured from the left edge of the worksheet. An integer indicates the edge of the object is on a column border. A fractional number indicates the object is placed between borders.

Returns:
value identifying the starting position.
See Also:
getX1(), getX2(), getY1()

getY2

public final double getY2()
Returns the vertical ending position of a graphical object.

The value is expressed in columns measured from the left edge of the worksheet. An integer indicates the edge of the object is on a column border. A fractional number indicates the object is placed between borders.

Returns:
value identifying the ending position.
See Also:
getX1(), getX2(), getY1()