public abstract class ImageSource extends MediaSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_SIZE |
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
|
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) |
Modifier and Type | Method and Description |
---|---|
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
|
activate, addPropertyChangeListener, deactivate, getName, getPropertyChangeSupport, isActive, isEnabled, release, removePropertyChangeListener, setEnabled, setName, toString
public static final java.lang.String PROPERTY_SIZE
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()
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()