com.teamdev.jxcapture.image
Class ImageSource
java.lang.Object
com.teamdev.jxcapture.MediaSource
com.teamdev.jxcapture.image.ImageSource
- Direct Known Subclasses:
- VideoSource
public abstract class ImageSource
- extends MediaSource
Abstract image source.
Constructor Summary |
|
ImageSource()
|
protected |
ImageSource(java.lang.String name)
|
protected |
ImageSource(java.lang.String name,
boolean enabled)
|
protected |
ImageSource(java.lang.String name,
java.awt.Dimension size,
boolean enabled)
|
Method Summary |
java.lang.Object |
getData()
Returns image data from this source. |
java.awt.Dimension |
getSize()
Returns the size of this source. |
protected void |
setSize(java.awt.Dimension value)
Set new dimension of this video source |
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 |
PROPERTY_SIZE
public static final java.lang.String PROPERTY_SIZE
- See Also:
- Constant Field Values
ImageSource
protected ImageSource(java.lang.String name,
boolean enabled)
ImageSource
protected ImageSource(java.lang.String name,
java.awt.Dimension size,
boolean enabled)
ImageSource
protected ImageSource(java.lang.String name)
ImageSource
public ImageSource()
getSize
public java.awt.Dimension getSize()
- Returns the size of this source.
- Returns:
- image source size
getData
public java.lang.Object getData()
- Returns image data from this source.
- Returns:
- image data
setSize
protected void setSize(java.awt.Dimension value)
- Set new dimension of this video source
- Parameters:
value
- new dimension