|
||||||||||
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
public abstract class ImageSource
Abstract image source.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_SIZE
|
Fields inherited from class com.teamdev.jxcapture.MediaSource |
---|
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME |
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.Point |
getLocation()
Returns the location of this source. |
java.awt.Dimension |
getSize()
Returns the size of this source. |
protected void |
setLocation(java.awt.Point value)
Set new location of this video 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 |
Field Detail |
---|
public static final java.lang.String PROPERTY_SIZE
Constructor Detail |
---|
protected ImageSource(java.lang.String name, boolean enabled)
protected ImageSource(java.lang.String name, java.awt.Dimension size, boolean enabled)
protected ImageSource(java.lang.String name)
public ImageSource()
Method Detail |
---|
public java.awt.Dimension getSize()
public java.lang.Object getData()
protected void setSize(java.awt.Dimension value)
value
- new dimensionprotected void setLocation(java.awt.Point value)
value
- new locationpublic java.awt.Point getLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |