Beispiel #1
0
 /*! Set the node's position
  * \note
  * \par(for visual/reporting only, not use except for that)
  * @param[in] x 	the x component
  * @param[in] y		the y component
  */
 public void setPosition(int x, int y) {
   if (_Owner != null) {
     _Owner.translate(x - _Owner.getx(), y - _Owner.gety());
   }
 }
Beispiel #2
0
 /*!
  * The optimization requirement
  * \return the location index
  */
 public int loc() {
   return _Owner.loc();
 }