com.teamdev.jxcapture
Class CaptureArea

java.lang.Object
  extended by com.teamdev.jxcapture.CaptureArea
Direct Known Subclasses:
CaptureArea.Desktop, CaptureArea.FullScreen, CaptureArea.Rect, CaptureArea.WindowRect

Deprecated. Use the corresponding image source instead.

@Deprecated
public abstract class CaptureArea
extends java.lang.Object

Defines possible variants of capture areas.


Nested Class Summary
static class CaptureArea.Desktop
          Deprecated. Use Desktop
static class CaptureArea.FullScreen
          Deprecated. Use FullScreen
static class CaptureArea.Rect
          Deprecated.  
static class CaptureArea.WindowRect
          Deprecated.  
 
Field Summary
protected  java.beans.PropertyChangeSupport pcs
          Deprecated.  
static java.lang.String PROPERTY_LOCATION
          Deprecated.  
static java.lang.String PROPERTY_SIZE
          Deprecated.  
 
Constructor Summary
protected CaptureArea(java.lang.Object id, java.awt.Dimension dimensions)
          Deprecated.  
protected CaptureArea(java.lang.Object id, java.awt.Rectangle rectangle)
          Deprecated.  
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Deprecated.  
static CaptureArea create(com.teamdev.jxdesktop.UIElement element)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 java.awt.Dimension getDimensions()
          Deprecated. Returns the dimensions of this capture area.
 java.awt.Point getLocation()
          Deprecated. Returns the location of this capture area.
 java.awt.Rectangle getRectangle()
          Deprecated. Returns the rectangle of this capture area.
 int hashCode()
          Deprecated.  
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

pcs

protected java.beans.PropertyChangeSupport pcs
Deprecated. 

PROPERTY_LOCATION

public static final java.lang.String PROPERTY_LOCATION
Deprecated. 
See Also:
Constant Field Values

PROPERTY_SIZE

public static final java.lang.String PROPERTY_SIZE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

CaptureArea

protected CaptureArea(java.lang.Object id,
                      java.awt.Rectangle rectangle)
Deprecated. 

CaptureArea

protected CaptureArea(java.lang.Object id,
                      java.awt.Dimension dimensions)
Deprecated. 
Method Detail

getRectangle

public java.awt.Rectangle getRectangle()
Deprecated. 
Returns the rectangle of this capture area.

Returns:
capture area rectangle

getDimensions

public java.awt.Dimension getDimensions()
Deprecated. 
Returns the dimensions of this capture area.

Returns:
capture area dimensions

getLocation

public java.awt.Point getLocation()
Deprecated. 
Returns the location of this capture area.

Returns:
capture area location

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Deprecated. 

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Deprecated. 

create

@Deprecated
public static CaptureArea create(com.teamdev.jxdesktop.UIElement element)
Deprecated. 

Factory method that allows to create a capture area for a given UI element.

Parameters:
element - UI element to create capture area for
Returns:
an appropriate capture area