Class SubBoardPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SubBoardPane extends LizziePane
The window used to display the game.
See Also:
  • Constructor Details

    • SubBoardPane

      public SubBoardPane(LizzieMain owner)
      Creates a window
  • Method Details

    • paintComponent

      protected void paintComponent(Graphics g0)
      Draws the game board and interface
      Overrides:
      paintComponent in class JComponent
      Parameters:
      g0 - not used
    • onClicked

      public void onClicked(int x, int y)
      Checks whether or not something was clicked and performs the appropriate action
      Parameters:
      x - x coordinate
      y - y coordinate
    • isInside

      public boolean isInside(int x1, int y1)
    • removeEstimateRect

      public void removeEstimateRect()
    • drawEstimateRect

      public void drawEstimateRect(ArrayList<Double> estimateArray, boolean isZen)
    • clearBeforeMove

      public void clearBeforeMove()
    • clearIsMouseOverSub

      public void clearIsMouseOverSub()
    • processSubBoardMouseWheelMoved

      public boolean processSubBoardMouseWheelMoved(MouseWheelEvent e)