Class PercentArea


  • public class PercentArea
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DOWN  
      static int LEFT  
      static int RIGHT  
      static int UP  
    • Constructor Summary

      Constructors 
      Constructor Description
      PercentArea()  
    • Constructor Detail

      • PercentArea

        public PercentArea()
    • Method Detail

      • setBounds

        public boolean setBounds​(double ax1,
                                 double ay1,
                                 double ax2,
                                 double ay2)
      • setBoundsAspect

        public boolean setBoundsAspect​(double cx,
                                       double cy,
                                       double w,
                                       double h)
      • reset

        public void reset()
      • getWidth

        public double getWidth()
      • getHeight

        public double getHeight()
      • getArea

        public java.awt.Rectangle getArea​(int width,
                                          int height)
      • zoomIn

        public boolean zoomIn()
      • zoomOut

        public boolean zoomOut()
      • panHorizontal

        public boolean panHorizontal​(int dir)
      • panVertical

        public boolean panVertical​(int dir)
      • toString

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