|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
net.java.sip.communicator.util.swing.SIPCommDialog
public class SIPCommDialog
| Nested Class Summary | |
|---|---|
class |
SIPCommDialog.DialogWindowAdapter
Before closing the application window saves the current size and position through the ConfigurationService. |
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SIPCommDialog()
Creates an instance of SIPCommDialog. |
|
SIPCommDialog(boolean isSaveSizeAndLocation)
Creates an instance of SIPCommDialog by specifying explicitly if the size and location properties are saved. |
|
SIPCommDialog(Dialog owner)
Creates an instance of SIPCommDialog by specifying the Dialogowner of this dialog. |
|
SIPCommDialog(Dialog owner,
boolean isSaveSizeAndLocation)
Creates an instance of SIPCommDialog by specifying the owner of this dialog and indicating whether to save the size and location properties. |
|
SIPCommDialog(Frame owner)
Creates an instance of SIPCommDialog by specifying the Frame owner. |
|
SIPCommDialog(Frame owner,
boolean isSaveSizeAndLocation)
Creates an instance of SIPCommDialog by specifying the owner of this dialog and indicating whether to save the size and location properties. |
|
| Method Summary | |
|---|---|
protected void |
addKeyBinding(KeyStroke keyStroke,
Action action)
Adds a key - action pair for this frame. |
protected void |
close(boolean escaped)
All functions implemented in this method will be invoked when user presses the Escape key. |
void |
dispose()
Overwrites the dispose method in order to save the size and the position of this window before closing it. |
void |
setVisible(boolean isVisible)
Overwrites the setVisible method in order to set the size and the position of this window before showing it. |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SIPCommDialog()
public SIPCommDialog(Dialog owner)
owner - the owner of this dialogpublic SIPCommDialog(Frame owner)
owner - the owner of this dialogpublic SIPCommDialog(boolean isSaveSizeAndLocation)
isSaveSizeAndLocation - indicates whether to save the size and
location of this dialog
public SIPCommDialog(Dialog owner,
boolean isSaveSizeAndLocation)
owner - the owner of this dialogisSaveSizeAndLocation - indicates whether to save the size and
location of this dialog
public SIPCommDialog(Frame owner,
boolean isSaveSizeAndLocation)
owner - the owner of this dialogisSaveSizeAndLocation - indicates whether to save the size and
location of this dialog| Method Detail |
|---|
protected void addKeyBinding(KeyStroke keyStroke,
Action action)
keyStroke - the key combinationaction - the action which will be executed when user presses the
given key combinationpublic void setVisible(boolean isVisible)
setVisible in class DialogisVisible - indicates if the dialog should be visiblepublic void dispose()
dispose in class Windowprotected void close(boolean escaped)
escaped - true if this frame has been closed by pressing
the Esc key; otherwise, false
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||