Style Intelligence v12.0

inetsoft.report
Class Position

java.lang.Object
  extended by inetsoft.report.Position
All Implemented Interfaces:
Serializable, Cloneable

public class Position
extends Object
implements Serializable, Cloneable

This class defines a position as inches.

See Also:
Serialized Form

Field Summary
 float x
          X in inches.
 float y
          Y in inches.
 
Constructor Summary
Position()
          Create a position.
Position(double x, double y)
          Create a Position of specified dimension.
Position(float x, float y)
          Create a Position of specified dimension.
Position(Position pos)
          Create a copy of the position.
 
Method Summary
 Object clone()
          Make a copy of this object.
 boolean equals(Object obj)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public float x
X in inches.


y

public float y
Y in inches.

Constructor Detail

Position

public Position()
Create a position.


Position

public Position(Position pos)
Create a copy of the position.


Position

public Position(float x,
                float y)
Create a Position of specified dimension.

Parameters:
x - x position in inches.
y - y position in inches.

Position

public Position(double x,
                double y)
Create a Position of specified dimension.

Parameters:
x - x position in inches.
y - y position in inches.
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

clone

public Object clone()
Make a copy of this object.

Overrides:
clone in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.