public class SizeChangeVideoEvent extends VideoEvent
| Modifier and Type | Field and Description |
|---|---|
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.
|
LOCAL, REMOTE, VIDEO_ADDED, VIDEO_REMOVEDsource| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
VideoEvent |
clone(Object source)
Initializes a new instance of the run-time type of this instance which
has the same property values as this instance except for the source which
is set on the new instance to a specific value.
|
int |
getHeight()
Gets the new height of the associated visual Component.
|
int |
getWidth()
Gets the new width of the associated visual Component.
|
consume, getOrigin, getType, getVisualComponent, isConsumed, originToString, typeToStringgetSource, toStringpublic static final int VIDEO_SIZE_CHANGE
public SizeChangeVideoEvent(Object source, Component visualComponent, int origin, int width, int height)
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 visualComponentpublic VideoEvent clone(Object source)
clone in class VideoEventsource - the Object which is to be reported as the source
of the new instancepublic int getHeight()
public int getWidth()
Copyright © 2022 jitsi.org. All rights reserved.