Class Block

java.lang.Object
net.sourceforge.plantuml.posimo.Block
All Implemented Interfaces:
Clusterable, Moveable, Positionable

public class Block extends java.lang.Object implements Clusterable
  • Constructor Summary

    Constructors
    Constructor
    Description
    Block(int uid, double width, double height, Cluster parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    java.awt.geom.Point2D
     
     
    int
     
    void
    moveSvek(double deltaX, double deltaY)
     
    void
    setCenterX(double center)
     
    void
    setCenterY(double center)
     
    final void
    setX(double x)
     
    final void
    setY(double y)
     
    java.lang.String
     
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Block

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

    • toString

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

      public java.lang.String toStringPosition()
    • getUid

      public int getUid()
    • getParent

      public Cluster getParent()
      Specified by:
      getParent in interface Clusterable
    • getPosition

      public java.awt.geom.Point2D getPosition()
      Specified by:
      getPosition in interface Positionable
    • getSize

      public 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