Package com.piketec.tpt.api.diagram
Interface Positioned
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Point
getPosition()
Return the current position of the object as a two-dimensionalPoint
.void
setPosition(java.awt.Point p)
Set the position of a object.
-
-
-
Method Detail
-
getPosition
java.awt.Point getPosition() throws java.rmi.RemoteException
Return the current position of the object as a two-dimensionalPoint
.- Returns:
- A point representing x-and y- coordinate of this object.
- Throws:
java.rmi.RemoteException
- remote communication problem
-
setPosition
void setPosition(java.awt.Point p) throws java.rmi.RemoteException
Set the position of a object.- Parameters:
p
- APoint
representing the desired position of the object in the two-dimensional drawing area.- Throws:
java.rmi.RemoteException
- remote communication problem
-
-