Class Block

    • Constructor Detail

      • Block

        public Block​(int uid,
                     double width,
                     double height,
                     Cluster parent)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringPosition

        public java.lang.String toStringPosition()
      • getUid

        public int getUid()
      • getSize

        public java.awt.geom.Dimension2D getSize()
        Specified by:
        getSize in interface Positionable
      • setCenterX

        public void setCenterX​(double center)
      • setCenterY

        public void setCenterY​(double center)
      • setX

        public final void setX​(double x)
      • setY

        public final void setY​(double y)
      • moveSvek

        public void moveSvek​(double deltaX,
                             double deltaY)
        Specified by:
        moveSvek in interface Moveable