artofillusion.ui
Class PanelDialog

java.lang.Object
  extended by BDialog
      extended by artofillusion.ui.PanelDialog

public class PanelDialog
extends BDialog

A PanelDialog is a modal dialog containing a line of text at the top, and a single Widget (usually a container with other Widgets). At the bottom are two buttons labeled OK and Cancel.


Constructor Summary
PanelDialog(WindowWidget parent, java.lang.String prompt, Widget thePanel)
          Create a modal dialog containing a panel.
 
Method Summary
 boolean clickedOk()
          Return true if the user clicked OK, false if they clicked Cancel.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelDialog

public PanelDialog(WindowWidget parent,
                   java.lang.String prompt,
                   Widget thePanel)
Create a modal dialog containing a panel.

Parameters:
parent - the parent of the dialog
prompt - a text string to appear at the top of the dialog (may be null)
thePanel - the panel to display
Method Detail

clickedOk

public boolean clickedOk()
Return true if the user clicked OK, false if they clicked Cancel.



Copyright © 1999-2011 by Peter Eastman.