All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.GadgetDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----dtai.gwt.GadgetShell
                                   |
                                   +----dtai.gwt.GadgetPanel
                                           |
                                           +----dtai.gwt.GadgetDialog

public class GadgetDialog
extends GadgetPanel
GadgetDialog


Variable Index

 o CENTER
 o LEFT
 o LOWER
 o RIGHT
 o UPPER

Constructor Index

 o GadgetDialog(Frame, boolean)
GadgetDialog
 o GadgetDialog(Frame, String, boolean)
GadgetDialog

Method Index

 o addWindowListener(WindowListener)
Adds the specified listener to be notified when component events occur on this component.
 o dispose()
 o getTitle()
 o getWarningString()
 o hide()
 o isModal()
 o isResizable()
 o pack()
 o positionDialog(Frame, DialogWrapper)
positionDialog
 o processEvent(AWTEvent)
processEvent
 o processWindowEvent(WindowEvent)
 o removeWindowListener(WindowListener)
Removes the specified listener so it no longer receives window events on this window.
 o setFrame(Frame)
 o setInitialPosition(int, int)
sets the initial horizontal and vertical position
 o setResizable(boolean)
 o setTitle(String)
 o show()
 o toBack()
 o toFront()

Variables

 o CENTER
 public static final int CENTER
 o UPPER
 public static final int UPPER
 o LOWER
 public static final int LOWER
 o LEFT
 public static final int LEFT
 o RIGHT
 public static final int RIGHT

Constructors

 o GadgetDialog
 public GadgetDialog(Frame parent,
                     boolean modal)
GadgetDialog

Parameters:
parent - - TBD
modal - - TBD
 o GadgetDialog
 public GadgetDialog(Frame frame,
                     String title,
                     boolean modal)
GadgetDialog

Parameters:
parent - - TBD
title - - TBD
modal - - TBD

Methods

 o setFrame
 public void setFrame(Frame frame)
 o show
 public void show()
Overrides:
show in class Component
 o hide
 public void hide()
Overrides:
hide in class Component
 o setInitialPosition
 public void setInitialPosition(int vertPosition,
                                int horizPosition)
sets the initial horizontal and vertical position

Parameters:
vertPosition - - TBD
horizPosition - - TBD
 o addWindowListener
 public synchronized void addWindowListener(WindowListener l)
Adds the specified listener to be notified when component events occur on this component.

Parameters:
l - the listener to receive the events
 o removeWindowListener
 public synchronized void removeWindowListener(WindowListener l)
Removes the specified listener so it no longer receives window events on this window.

Parameters:
l - the listener to remove
 o processEvent
 protected void processEvent(AWTEvent e)
processEvent

Parameters:
e - a WindowEvent- we handle WINDOW_CLOSING WINDOW_CLOSED WINDOW_OPENED WINDOW_ICONIFIED WINDOW_DEICONIFIED
Returns:
boolean result
 o processWindowEvent
 protected void processWindowEvent(WindowEvent e)
 o positionDialog
 protected void positionDialog(Frame frame,
                               DialogWrapper dialog)
positionDialog

 o pack
 public void pack()
 o dispose
 public void dispose()
 o toFront
 public void toFront()
 o toBack
 public void toBack()
 o getWarningString
 public final String getWarningString()
 o isModal
 public boolean isModal()
 o getTitle
 public String getTitle()
 o setTitle
 public void setTitle(String title)
 o isResizable
 public boolean isResizable()
 o setResizable
 public void setResizable(boolean resizable)

All Packages  Class Hierarchy  This Package  Previous  Next  Index