Class Region

java.lang.Object
bacnet.genomeBrowser.core.Region
All Implemented Interfaces:
Serializable, Cloneable

public class Region extends Object implements Serializable, Cloneable
See Also:
  • Field Details

    • regionChanged

      public boolean regionChanged
  • Constructor Details

    • Region

      public Region()
    • Region

      public Region(int x1, int x2)
  • Method Details

    • calculateSize

      public void calculateSize()
    • calculateMiddle

      public void calculateMiddle()
    • zoomRegion

      public void zoomRegion(int newWidth)
    • moveHorizontally

      public void moveHorizontally(int selection)
    • validateRegion

      public void validateRegion(int lastIndex)
      This method is run after a zoom or a moveHorizontally it move the region to be sure that x1>0 and x2<lastIndex
      Parameters:
      lastIndex -
    • getX1

      public int getX1()
    • setX1

      public void setX1(int x1)
    • getY1

      public int getY1()
    • setY1

      public void setY1(int y1)
    • getX2

      public int getX2()
    • setX2

      public void setX2(int x2)
    • getY2

      public int getY2()
    • setY2

      public void setY2(int y2)
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getMiddleH

      public int getMiddleH()
    • setMiddleH

      public void setMiddleH(int middleH)
    • getMiddleV

      public int getMiddleV()
    • setMiddleV

      public void setMiddleV(int middleV)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Region clone()
      Clone the object