Cytoscape 3.0.1 API

org.cytoscape.view.layout
Class LayoutPoint

java.lang.Object
  extended by org.cytoscape.view.layout.LayoutPoint

public final class LayoutPoint
extends Object

Simple immutable object which represents a point (x, y).


Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Constructor Summary
LayoutPoint(double x, double y)
          Constructor.
 
Method Summary
 double getX()
          Returns the X location of the point.
 double getY()
          Returns the Y location of the point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPoint

public LayoutPoint(double x,
                   double y)
Constructor.

Parameters:
x - The X location of the point.
y - The Y location of the point.
Method Detail

getX

public double getX()
Returns the X location of the point.

Returns:
the X location of the point.

getY

public double getY()
Returns the Y location of the point.

Returns:
the Y location of the point.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.