Class CustomDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class CustomDialog extends JDialog implements ActionListener, PropertyChangeListener
See Also:
  • Constructor Details

    • CustomDialog

      public CustomDialog(Frame aFrame)
      Creates the reusable dialog.
  • Method Details

    • getValidatedText

      public String getValidatedText()
      Returns null if the typed string was invalid; otherwise, returns the string as the user entered it.
    • getValidatedValue

      public int getValidatedValue()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      This method handles events for the text field.
      Specified by:
      actionPerformed in interface ActionListener
    • propertyChange

      public void propertyChange(PropertyChangeEvent e)
      This method reacts to state changes in the option pane.
      Specified by:
      propertyChange in interface PropertyChangeListener
    • clearAndHide

      public void clearAndHide()
      This method clears the dialog and hides it.
    • isLogging

      public boolean isLogging()
    • getLogFile

      public File getLogFile()
    • getDelimiterType

      public int getDelimiterType()