Class sunsoft.jws.visual.rt.awt.RootDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.awt.RootDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----sunsoft.jws.visual.rt.awt.RootDialog

public class RootDialog
extends Dialog
implements RootWindow

Constructor Index

 o RootDialog(Frame, boolean)
 o RootDialog(Frame, String, boolean)

Method Index

 o addNotify()
 o handleEvent(Event)
 o hide()
Make modal dialogs in JDK 1.0 behave the same as modal dialogs in JDK 1.0.2.
 o insets()
Make sure the insets aren't screwed up on Windows.
 o layout()
 o layoutMode()
 o mouseDown(Event, int, int)
 o pack()
Make dialogs on Windows behave the same as dialogs on Motif.
 o paint(Graphics)
 o postEvent(Event)
Event forwarding to groups.
 o previewMode()
 o previewSize()
 o removeNotify()
 o reshape(int, int, int, int)
Workaround for bug where calling reshape on a dialog that already has a peer will cause the dialog to be mapped.
 o select()
 o show()
Make modal dialogs in JDK 1.0 behave the same as modal dialogs in JDK 1.0.2.
 o toFront()
 o unselect()
 o validate()
Don't do a validate during a show.

Constructors

 o RootDialog
  public RootDialog(Frame parent,
                    boolean modal)
 o RootDialog
  public RootDialog(Frame parent,
                    String title,
                    boolean modal)

Methods

 o validate
  public void validate()
Don't do a validate during a show.
Overrides:
validate in class Container
 o show
  public void show()
Make modal dialogs in JDK 1.0 behave the same as modal dialogs in JDK 1.0.2.

Note: This workaround fails if show is invoked by the AWT callback thread.

Overrides:
show in class Window
 o pack
  public void pack()
Make dialogs on Windows behave the same as dialogs on Motif.
Overrides:
pack in class Window
 o hide
  public synchronized void hide()
Make modal dialogs in JDK 1.0 behave the same as modal dialogs in JDK 1.0.2.
Overrides:
hide in class Component
 o reshape
  public void reshape(int x,
                      int y,
                      int w,
                      int h)
Workaround for bug where calling reshape on a dialog that already has a peer will cause the dialog to be mapped. We definitely don't want the dialog to be mapped in this situation.
Overrides:
reshape in class Component
 o toFront
  public void toFront()
Overrides:
toFront in class Window
 o handleEvent
  public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o insets
  public Insets insets()
Make sure the insets aren't screwed up on Windows. The dialog will come up too small the first time it is shown if we don't fix the insets here.
Overrides:
insets in class Container
 o postEvent
  public boolean postEvent(Event evt)
Event forwarding to groups. (see comment in GBPanel.java)
Overrides:
postEvent in class Component
 o select
  public void select()
 o unselect
  public void unselect()
 o layoutMode
  public void layoutMode()
 o previewMode
  public void previewMode()
 o previewSize
  public Dimension previewSize()
 o addNotify
  public void addNotify()
Overrides:
addNotify in class Dialog
 o removeNotify
  public void removeNotify()
Overrides:
removeNotify in class Container
 o layout
  public void layout()
Overrides:
layout in class Container
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Component
 o mouseDown
  public boolean mouseDown(Event evt,
                           int x,
                           int y)
Overrides:
mouseDown in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index