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
-
CENTER
-
-
LEFT
-
-
LOWER
-
-
RIGHT
-
-
UPPER
-
-
GadgetDialog(Frame, boolean)
- GadgetDialog
-
GadgetDialog(Frame, String, boolean)
- GadgetDialog
-
addWindowListener(WindowListener)
- Adds the specified listener to be notified when component
events occur on this component.
-
dispose()
-
-
getTitle()
-
-
getWarningString()
-
-
hide()
-
-
isModal()
-
-
isResizable()
-
-
pack()
-
-
positionDialog(Frame, DialogWrapper)
- positionDialog
-
processEvent(AWTEvent)
- processEvent
-
processWindowEvent(WindowEvent)
-
-
removeWindowListener(WindowListener)
- Removes the specified listener so it no longer receives
window events on this window.
-
setFrame(Frame)
-
-
setInitialPosition(int, int)
- sets the initial horizontal and vertical position
-
setResizable(boolean)
-
-
setTitle(String)
-
-
show()
-
-
toBack()
-
-
toFront()
-
CENTER
public static final int CENTER
UPPER
public static final int UPPER
LOWER
public static final int LOWER
LEFT
public static final int LEFT
RIGHT
public static final int RIGHT
GadgetDialog
public GadgetDialog(Frame parent,
boolean modal)
- GadgetDialog
- Parameters:
- parent - - TBD
- modal - - TBD
GadgetDialog
public GadgetDialog(Frame frame,
String title,
boolean modal)
- GadgetDialog
- Parameters:
- parent - - TBD
- title - - TBD
- modal - - TBD
setFrame
public void setFrame(Frame frame)
show
public void show()
- Overrides:
- show in class Component
hide
public void hide()
- Overrides:
- hide in class Component
setInitialPosition
public void setInitialPosition(int vertPosition,
int horizPosition)
- sets the initial horizontal and vertical position
- Parameters:
- vertPosition - - TBD
- horizPosition - - TBD
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
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
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
processWindowEvent
protected void processWindowEvent(WindowEvent e)
positionDialog
protected void positionDialog(Frame frame,
DialogWrapper dialog)
- positionDialog
pack
public void pack()
dispose
public void dispose()
toFront
public void toFront()
toBack
public void toBack()
getWarningString
public final String getWarningString()
isModal
public boolean isModal()
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
isResizable
public boolean isResizable()
setResizable
public void setResizable(boolean resizable)
All Packages Class Hierarchy This Package Previous Next Index