public interface CallContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_FULL_SCREEN
The name of the boolean property of the Window which represents
a CallContainer that indicates whether the Window is
displayed in full-screen or windowed mode.
|
Modifier and Type | Method and Description |
---|---|
void |
addCallPanel(CallPanel callPanel)
Adds the given CallPanel to this call window.
|
void |
close(CallPanel callPanel,
boolean delay)
Closes a specific CallPanel.
|
void |
ensureSize(java.awt.Component component,
int width,
int height)
Attempts to give a specific Component a visible rectangle with a
specific width and a specific height if possible and sane by resizing
the Window of this CallContainer.
|
javax.swing.JFrame |
getFrame()
Returns the frame of this call window.
|
boolean |
isFullScreen()
Determines whether the Window representation of this
CallContainer is displayed in full-screen mode.
|
void |
pack()
Packs the content of this call window.
|
void |
setFullScreen(boolean fullScreen)
Sets the display of the Window representation of this
CallContainer to full-screen or windowed mode.
|
static final java.lang.String PROP_FULL_SCREEN
void addCallPanel(CallPanel callPanel)
callPanel
- the CallPanel to addvoid close(CallPanel callPanel, boolean delay)
callPanel
- the CallPanel to be closeddelay
- true to close the specified callPanel with
an implementation-specific delay or false to close it as soon as
possiblevoid ensureSize(java.awt.Component component, int width, int height)
component
- the Component which requests a visible
rectangle with the specified width and heightwidth
- the width of the visible rectangle requested by the
specified componentheight
- the height of the visible rectangle requested by the
specified componentjavax.swing.JFrame getFrame()
boolean isFullScreen()
void pack()
void setFullScreen(boolean fullScreen)
fullScreen
- true if the Window representation of
this CallContainer is to be displayed in full-screen mode or
false for windowed mode
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.