|
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.util.swing.FitLayout
net.java.sip.communicator.util.swing.VideoLayout
public class VideoLayout
Implements the LayoutManager which lays out the local and remote videos in a video Call.
| Field Summary | |
|---|---|
static String |
CANVAS
The video canvas constraint. |
static String |
CENTER_REMOTE
The center remote video constraint. |
static String |
CLOSE_LOCAL_BUTTON
The close local video constraint. |
static String |
EAST_REMOTE
The east remote video constraint. |
static String |
LOCAL
The local video constraint. |
| Constructor Summary | |
|---|---|
VideoLayout()
|
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
Adds the given component in this layout on the specified by name position. |
protected Component |
getComponent(Container parent)
Returns the remote video component. |
Object |
getComponentConstraints(Component c)
Returns the constraints for the given component. |
Component |
getLocal()
Returns the local video component. |
Component |
getLocalCloseButton()
Returns the local video close button. |
void |
layoutContainer(Container parent)
Lays out this given container. |
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum layout size for the given container. |
Dimension |
preferredLayoutSize(Container parent)
Returns the preferred layout size for the given container. |
void |
removeLayoutComponent(Component comp)
Removes the given component from this layout. |
| Methods inherited from class net.java.sip.communicator.util.swing.FitLayout |
|---|
layoutComponent, layoutContainer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CANVAS
public static final String CENTER_REMOTE
public static final String CLOSE_LOCAL_BUTTON
public static final String EAST_REMOTE
public static final String LOCAL
| Constructor Detail |
|---|
public VideoLayout()
| Method Detail |
|---|
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManageraddLayoutComponent in class FitLayoutname - the constraint giving the position of the component in this
layoutcomp - the component to addprotected Component getComponent(Container parent)
getComponent in class FitLayoutparent - the Container to retrieve the first
Component of
public Object getComponentConstraints(Component c)
c - the component for which constraints we're looking for
public Component getLocal()
public Component getLocalCloseButton()
public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerlayoutContainer in class FitLayoutparent - the container to lay outpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerminimumLayoutSize in class FitLayoutparent - the container which minimum layout size we're looking for
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class FitLayoutparent - the container which preferred layout size we're looking for
public void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagerremoveLayoutComponent in class FitLayoutcomp - the component to remove from the layout
|
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 | |||||||||