edu.stanford.smi.protegex.layout
Class ActorLocation
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.ActorLocation
- All Implemented Interfaces:
- Copyable
- public final class ActorLocation
- extends Object
- implements Copyable
"Fancy Rectangle"
- Author:
- William Grosso
_coordinateSystem
protected Rectangle _coordinateSystem
ActorLocation
public ActorLocation(Point basePoint,
int height,
int width,
Rectangle coordinateSystem)
contains
public boolean contains(Point point)
copy
public Object copy()
- Specified by:
copy
in interface Copyable
getBasePoint
public void getBasePoint(Point returnValue)
getBaseX
public int getBaseX()
getBaseY
public int getBaseY()
getBounds
public void getBounds(Rectangle returnValue)
getCenterPoint
public void getCenterPoint(Point returnValue)
getCenterX
public int getCenterX()
getCenterY
public int getCenterY()
getExtensionPoint
public void getExtensionPoint(Point returnValue)
getExtensionX
public int getExtensionX()
getExtensionY
public int getExtensionY()
getHeight
public int getHeight()
getWidth
public int getWidth()
intersects
public boolean intersects(ActorLocation location)
intersects
public boolean intersects(Rectangle location)
isInside
public boolean isInside(Rectangle rectangle)
isInsideCoordinateSystem
public boolean isInsideCoordinateSystem()
move
public void move(int x,
int y)
moveInsideCoordinateSystem
public void moveInsideCoordinateSystem()
reflectIntoCoordinateSystem
public void reflectIntoCoordinateSystem()
setBasePoint
public void setBasePoint(Point basePoint)
setCoordinateSystem
public void setCoordinateSystem(Rectangle coordinateSystem)
setExtensionPoint
public void setExtensionPoint(Point extensionPoint)
setHeight
public void setHeight(int height)
setWidth
public void setWidth(int width)
toString
public String toString()
- Overrides:
toString
in class Object
translate
public void translate(int deltaX,
int deltaY)
translationStaysInCoordinateSystem
public boolean translationStaysInCoordinateSystem(int deltaX,
int deltaY)
wrapIntoCoordinateSystem
public void wrapIntoCoordinateSystem()
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.