|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Dialog
|
+--jwo.utils.JWMonologue
Abstract class to use as basis for simple monologue windows. Contains an OK return button. Uses the GridBag Layout manager for maximum portability with different window sizes.
| Nested Class Summary |
| Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
JWMonologue(Frame parentFrame)
Creates simple modal monologue window with OK button. |
|
JWMonologue(Frame parentFrame,
String title)
Creates simple modal monologue window with title, and OK button. |
|
JWMonologue(Frame parentFrame,
String winTitle,
String mainTitle)
Creates simple modal monologue window with titles, and OK button. |
|
JWMonologue(Frame parentFrame,
String winTitle,
String mainTitle,
boolean modal)
Creates simple monologue window with titles, and OK button. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent event)
Looks for delegated events associated with the monologue box. |
void |
addReturnButtons()
Adds the return buttons to the monologue box. |
GridBagConstraints |
getGBConstraints()
Retrieves the default GridBag layout constraints associated with this monologue window. |
GridBagLayout |
getGBLayout()
Retrieves current GridBagLayout (needed to add new componets to the monologue box. |
| Methods inherited from class java.awt.Dialog |
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JWMonologue(Frame parentFrame)
parentFrame - Frame with which associated modal dialogue.
public JWMonologue(Frame parentFrame,
String title)
parentFrame - Frame with which associated modal dialogue.title - Title placed on window bar.
public JWMonologue(Frame parentFrame,
String winTitle,
String mainTitle)
parentFrame - Frame with which associated modal dialogue.winTitle - Title placed on window bar.mainTitle - Main title displayed in dialogue window.
public JWMonologue(Frame parentFrame,
String winTitle,
String mainTitle,
boolean modal)
parentFrame - Frame with which associated modal dialogue.winTitle - Title placed on window bar.mainTitle - Main title displayed in dialogue window.modal - Determines if monologue is modal or not.| Method Detail |
public GridBagConstraints getGBConstraints()
public GridBagLayout getGBLayout()
public void addReturnButtons()
public void actionPerformed(ActionEvent event)
JWDialogue instead.
actionPerformed in interface ActionListenerevent - Event associated with OK button press.JWDialogue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||