public class CallPeerRendererUtils
extends java.lang.Object
Constructor and Description |
---|
CallPeerRendererUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addKeyListener(java.awt.Component component,
java.awt.event.KeyListener l)
Adds the given KeyListener l to the given component.
|
static java.awt.Frame |
getFrame(java.awt.Component component)
Gets the first Frame in the ancestor Component
hierarchy of a specific Component.
|
static void |
setBackground(java.awt.Component component,
java.awt.Color background)
Sets the given background color to the given component.
|
public static void addKeyListener(java.awt.Component component, java.awt.event.KeyListener l)
component
- the component to which we add ll
- the KeyListener to addpublic static java.awt.Frame getFrame(java.awt.Component component)
The located Frame (if any) is often used as the owner of Dialogs opened by the specified Component in order to provide natural Frame ownership.
component
- the Component which is to have its
Component hierarchy examined for Framepublic static void setBackground(java.awt.Component component, java.awt.Color background)
component
- the component to which we set the backgroundbackground
- the background color to set
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.