|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxcapture.MediaSource
com.teamdev.jxcapture.image.ImageSource
com.teamdev.jxcapture.video.VideoSource
com.teamdev.jxcapture.video.WindowSource
public final class WindowSource
This class represents a window video source.
Field Summary |
---|
Fields inherited from class com.teamdev.jxcapture.image.ImageSource |
---|
PROPERTY_SIZE |
Fields inherited from class com.teamdev.jxcapture.MediaSource |
---|
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME |
Constructor Summary | |
---|---|
WindowSource(com.teamdev.jxdesktop.ui.Window window)
Creates source by specified window. |
Method Summary | |
---|---|
java.awt.Dimension |
getSize()
Returns the size of this source. |
com.teamdev.jxdesktop.ui.Window |
getWindow()
|
void |
updateSize()
Updates the size of this source according to the current window size. |
Methods inherited from class com.teamdev.jxcapture.video.VideoSource |
---|
getAvailable |
Methods inherited from class com.teamdev.jxcapture.image.ImageSource |
---|
getData, setSize |
Methods inherited from class com.teamdev.jxcapture.MediaSource |
---|
activate, addPropertyChangeListener, deactivate, getName, getPropertyChangeSupport, isActive, isEnabled, release, removePropertyChangeListener, setEnabled, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WindowSource(com.teamdev.jxdesktop.ui.Window window)
window
- sourceMethod Detail |
---|
public com.teamdev.jxdesktop.ui.Window getWindow()
public java.awt.Dimension getSize()
ImageSource
getSize
in class ImageSource
public void updateSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |