java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.pentaho.reporting.libraries.designtime.swing.CommonDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
ArrayCellEditorDialog, BasicTextPropertyEditorDialog, ColorChooserDialog, CustomPropertyEditorDialog

public abstract class CommonDialog extends JDialog
A modal dialog with a ok and cancel buttons.
Author:
Thomas Morgner
See Also:
  • Constructor Details

  • Method Details

    • isConfirmed

      public boolean isConfirmed()
    • setConfirmed

      public void setConfirmed(boolean confirmed)
    • init

      protected void init()
    • getDialogId

      protected abstract String getDialogId()
    • resizeDialog

      protected void resizeDialog()
    • performInitialResize

      protected void performInitialResize()
    • getCancelAction

      protected Action getCancelAction()
    • createContentPane

      protected abstract Component createContentPane()
    • performEdit

      protected boolean performEdit()
    • isButtonPaneVisible

      public boolean isButtonPaneVisible()
    • setButtonPaneVisible

      public void setButtonPaneVisible(boolean buttonPaneVisible)
    • hasCancelButton

      protected boolean hasCancelButton()
    • getExtraActions

      protected Action[] getExtraActions()
    • createButtonsPane

      protected JPanel createButtonsPane()
    • getConfirmAction

      protected Action getConfirmAction()
    • hide

      public void hide()
      Overrides:
      hide in class Dialog
    • setVisible

      public void setVisible(boolean b)
      Overrides:
      setVisible in class Dialog
    • validateInputs

      protected boolean validateInputs(boolean onConfirm)