Class ViewJFrameCreatePaint.JDialogGridSize

All Implemented Interfaces:
DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
Enclosing class:
ViewJFrameCreatePaint

private class ViewJFrameCreatePaint.JDialogGridSize extends JDialogBase
Simple dialog to prompt user for grid size
Author:
linkb
  • Field Details

    • widthField

      private JTextField widthField
    • heightField

      private JTextField heightField
    • height

      private int height
    • width

      private int width
    • wasCancelled

      private boolean wasCancelled
  • Constructor Details

    • JDialogGridSize

      public JDialogGridSize(JFrame frame)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
    • wasCancelled

      public boolean wasCancelled()
    • getGridHeight

      public int getGridHeight()
    • getGridWidth

      public int getGridWidth()
    • setVariables

      private boolean setVariables()
    • init

      private void init()