Cytoscape 2.8.0 API

ding.view
Class ObjectPositionImpl

java.lang.Object
  extended by ding.view.ObjectPositionImpl
All Implemented Interfaces:
ObjectPosition

public class ObjectPositionImpl
extends Object
implements ObjectPosition


Field Summary
static ObjectPosition DEFAULT_POSITION
           
 
Constructor Summary
ObjectPositionImpl()
          Creates a new ObjectPosition object.
ObjectPositionImpl(ObjectPosition p)
          Copy constructor
ObjectPositionImpl(Position targ, Position lab, Justification just, double x, double y)
          Creates a new ObjectPosition object.
 
Method Summary
 boolean equals(Object lp)
          DOCUMENT ME!
 Position getAnchor()
          DOCUMENT ME!
 Justification getJustify()
          DOCUMENT ME!
 double getOffsetX()
          DOCUMENT ME!
 double getOffsetY()
          DOCUMENT ME!
 Position getTargetAnchor()
          DOCUMENT ME!
 void setAnchor(Position p)
          DOCUMENT ME!
 void setJustify(Justification j)
          DOCUMENT ME!
 void setOffsetX(double d)
          DOCUMENT ME!
 void setOffsetY(double d)
          DOCUMENT ME!
 void setTargetAnchor(Position p)
          DOCUMENT ME!
 String shortString()
          DOCUMENT ME!
 String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_POSITION

public static ObjectPosition DEFAULT_POSITION
Constructor Detail

ObjectPositionImpl

public ObjectPositionImpl()
Creates a new ObjectPosition object.


ObjectPositionImpl

public ObjectPositionImpl(ObjectPosition p)
Copy constructor

Parameters:
lp - DOCUMENT ME!

ObjectPositionImpl

public ObjectPositionImpl(Position targ,
                          Position lab,
                          Justification just,
                          double x,
                          double y)
Creates a new ObjectPosition object.

Parameters:
targ - DOCUMENT ME!
lab - DOCUMENT ME!
just - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
Method Detail

getAnchor

public Position getAnchor()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
getAnchor in interface ObjectPosition
Returns:
DOCUMENT ME!

getTargetAnchor

public Position getTargetAnchor()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
getTargetAnchor in interface ObjectPosition
Returns:
DOCUMENT ME!

getJustify

public Justification getJustify()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
getJustify in interface ObjectPosition
Returns:
DOCUMENT ME!

getOffsetX

public double getOffsetX()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
getOffsetX in interface ObjectPosition
Returns:
DOCUMENT ME!

getOffsetY

public double getOffsetY()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
getOffsetY in interface ObjectPosition
Returns:
DOCUMENT ME!

setAnchor

public void setAnchor(Position p)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
setAnchor in interface ObjectPosition

setTargetAnchor

public void setTargetAnchor(Position p)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
setTargetAnchor in interface ObjectPosition

setJustify

public void setJustify(Justification j)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
setJustify in interface ObjectPosition

setOffsetX

public void setOffsetX(double d)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
setOffsetX in interface ObjectPosition
Parameters:
d - DOCUMENT ME!

setOffsetY

public void setOffsetY(double d)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
setOffsetY in interface ObjectPosition
Parameters:
d - DOCUMENT ME!

equals

public boolean equals(Object lp)
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
equals in interface ObjectPosition
Overrides:
equals in class Object
Returns:
DOCUMENT ME!

toString

public String toString()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
toString in interface ObjectPosition
Overrides:
toString in class Object
Returns:
DOCUMENT ME!

shortString

public String shortString()
Description copied from interface: ObjectPosition
DOCUMENT ME!

Specified by:
shortString in interface ObjectPosition
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.