net.java.sip.communicator.service.protocol.event
Class SizeChangeVideoEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.protocol.event.VideoEvent
net.java.sip.communicator.service.protocol.event.SizeChangeVideoEvent
- All Implemented Interfaces:
- Serializable
public class SizeChangeVideoEvent
- extends VideoEvent
Represents a VideoEvent which notifies about an update to the size
of a specific visual Component depicting video.
- Author:
- Lubomir Marinov
- See Also:
- Serialized Form
|
Field Summary |
static int |
VIDEO_SIZE_CHANGE
The type of a VideoEvent which notifies about an update to the
size of a specific visual Component depicting video. |
|
Constructor Summary |
SizeChangeVideoEvent(Object source,
Component visualComponent,
int origin,
int width,
int height)
Initializes a new SizeChangeVideoEvent which is to notify about
an update to the size of a specific visual Component depicting
video. |
|
Method Summary |
int |
getHeight()
Gets the new height of the associated visual Component. |
int |
getWidth()
Gets the new width of the associated visual Component. |
VIDEO_SIZE_CHANGE
public static final int VIDEO_SIZE_CHANGE
- The type of a VideoEvent which notifies about an update to the
size of a specific visual Component depicting video.
- See Also:
- Constant Field Values
SizeChangeVideoEvent
public SizeChangeVideoEvent(Object source,
Component visualComponent,
int origin,
int width,
int height)
- Initializes a new SizeChangeVideoEvent which is to notify about
an update to the size of a specific visual Component depicting
video.
- Parameters:
source - the source of the new SizeChangeVideoEventvisualComponent - the visual Component depicting video
with the updated sizeorigin - the origin of the video the new
SizeChangeVideoEvent is to notify aboutwidth - the new width of visualComponentheight - the new height of visualComponent
getHeight
public int getHeight()
- Gets the new height of the associated visual Component.
- Returns:
- the new height of the associated visual Component
getWidth
public int getWidth()
- Gets the new width of the associated visual Component.
- Returns:
- the new width of the associated visual Component
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.