Class TierEditorDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
ca.phon.app.session.editor.view.tier_management.TierEditorDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class TierEditorDialog extends JDialog
Simple dialog that closes on OK or Cancel. Use showDialog() to display the dialog and get the return value.
See Also:
  • Constructor Details

    • TierEditorDialog

      public TierEditorDialog(boolean editMode)
  • Method Details

    • getHeader

      public DialogHeader getHeader()
    • getTierEditor

      public TierInfoEditor getTierEditor()
    • showDialog

      public boolean showDialog()
      Displays dialog to user, closes when either button is pressed.
      Returns:
      true if ok was pressed, false otherwise
    • wasOkPressed

      public boolean wasOkPressed()
      If not modal, showDialog will always return false. Use this method to get the dialog result.
      Returns: