Class NavControl2

    • Constructor Detail

      • NavControl2

        public NavControl2()
    • Method Detail

      • getRotationAngle

        public double getRotationAngle()
        Gets the model's current rotation angle in degrees.
        Returns:
        the model's current rotation angle in degrees.
      • setRotationAngle

        public void setRotationAngle​(double rotationAngle)
        Sets the current rotation angle in degrees.
        Parameters:
        rotationAngle - the model's current rotation angle in degrees.
      • contains

        public boolean contains​(int x,
                                int y)
        Overrides:
        contains in class JComponent
      • fireRotate

        protected void fireRotate​(double rotationAngle)
      • fireMove

        protected void fireMove​(double moveDirX,
                                double moveDirY)
      • fireScale

        protected void fireScale​(double scaleDir)
      • main

        public static void main​(String[] args)