|
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.Objectnet.java.sip.communicator.impl.gui.main.call.CallPeerRendererUtils
public class CallPeerRendererUtils
An utility class that reassembles common methods used by different CallPeerRenderers.
| Nested Class Summary | |
|---|---|
static class |
CallPeerRendererUtils.ExitFullScreenButton
Full screen exit button. |
| Constructor Summary | |
|---|---|
CallPeerRendererUtils()
|
|
| Method Summary | |
|---|---|
static void |
addKeyListener(Component component,
KeyListener l)
Adds the given KeyListener l to the given component. |
static Component |
createButtonBar(boolean heavyweight,
Component[] buttons)
Creates a buttons bar from the given list of button components. |
static Component |
createExitFullScreenButton(CallRenderer renderer)
Creates a new Component through which the user would be able to exit the full screen mode. |
static Frame |
getFrame(Component component)
Gets the first Frame in the ancestor Component hierarchy of a specific Component. |
static void |
setBackground(Component component,
Color background)
Sets the given background color to the given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallPeerRendererUtils()
| Method Detail |
|---|
public static Component createExitFullScreenButton(CallRenderer renderer)
renderer - the renderer through which we exit the full screen mode
public static void setBackground(Component component,
Color background)
component - the component to which we set the backgroundbackground - the background color to set
public static void addKeyListener(Component component,
KeyListener l)
component - the component to which we add ll - the KeyListener to add
public static Component createButtonBar(boolean heavyweight,
Component[] buttons)
heavyweight - indicates if the created button bar should be heavy
weight component (useful in full screen mode)buttons - the list of buttons to add in the created button bar
public static Frame getFrame(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 Frame
|
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 | |||||||||