|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow
bibliothek.gui.dock.common.action.panel.DialogWindow
public class DialogWindow
A PanelPopupWindow managing a JDialog.
| Constructor Summary | |
|---|---|
DialogWindow(Component owner,
CPanelPopup panel)
Creates a new window. |
|
| Method Summary | |
|---|---|
void |
close()
Makes this window invisible |
protected JDialog |
createDialog(Component owner)
Creates a new dialog with the ancestor window of owner
as owner. |
boolean |
isOpen()
Tells whether this window is visible or not. |
void |
open(Component relativeTo)
Opens the dialog relative to relativeTo. |
void |
open(int x,
int y)
Shows the dialog at the given screen location. |
void |
setContent(Component content)
Sets the contents of the dialog. |
void |
setUndecorated(boolean undecorated)
Sets whether the dialog has a decoration or not. |
| Methods inherited from class bibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow |
|---|
addListener, fireClosed, listeners, removeListener, validateBounds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialogWindow(Component owner,
CPanelPopup panel)
owner - the parent of the dialogpanel - the owner of the dialog| Method Detail |
|---|
public void setUndecorated(boolean undecorated)
undecorated - whether to decorate or notDialog.setUndecorated(boolean)public void setContent(Component content)
content - the contents, may be null
public void open(int x,
int y)
x - the dialogs locationy - the dialogs locationpublic void open(Component relativeTo)
relativeTo.
relativeTo - some componentpublic boolean isOpen()
PanelPopupWindow
true if visiblepublic void close()
PanelPopupWindow
protected JDialog createDialog(Component owner)
owner
as owner.
owner - some component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||