com.teamdev.jxcapture.image.operation.toolkit
Interface DrawableArea


public interface DrawableArea

This interface represents the area on which the drawing capture operation takes place.


Method Summary
 void dispose()
          Hides and disposes of this area.
 java.awt.image.BufferedImage getBackgroundImage()
          Returns the specified background image (a screen shot of the desktop) for this area.
 java.awt.Component getComponent()
          Returns the component on which the drawing capture operation is performed.
 java.awt.Cursor getCursor()
          Gets the cursor image.
 DialogComponent getDialogComponent()
          Gets the DialogComponent for this capture operation.
 javax.swing.JPopupMenu getPopupMenu()
          Gets the pop-up menu for this area.
 void setBackgroundImage(java.awt.image.BufferedImage image)
          Sets the specified background image (a screen shot of the desktop) for this area.
 void setCursor(java.awt.Cursor cursor)
          Sets the cursor image to the specified cursor which is shown during the capture operation.
 void setDialogComponent(DialogComponent dialogComponent)
          Sets the specified DialogComponent for this capture operation.
 void setPopupMenu(javax.swing.JPopupMenu popupMenu)
          Sets the pop-up menu for this area.
 void setSelectionPainter(SelectionPainter selectionPainter)
          Sets the specified selection painter.
 void show()
          Shows this area.
 

Method Detail

setBackgroundImage

void setBackgroundImage(java.awt.image.BufferedImage image)
Sets the specified background image (a screen shot of the desktop) for this area.

Parameters:
image - the specified background image

getBackgroundImage

java.awt.image.BufferedImage getBackgroundImage()
Returns the specified background image (a screen shot of the desktop) for this area.

Returns:
the specified background image

setSelectionPainter

void setSelectionPainter(SelectionPainter selectionPainter)
Sets the specified selection painter. (see SelectionPainter interface).

Parameters:
selectionPainter - the specified selection painter

getComponent

java.awt.Component getComponent()
Returns the component on which the drawing capture operation is performed.

Returns:
the component on which the drawing capture operation is performed.

setCursor

void setCursor(java.awt.Cursor cursor)
Sets the cursor image to the specified cursor which is shown during the capture operation.

Parameters:
cursor - the specified cursor which is shown during the capture operation

getCursor

java.awt.Cursor getCursor()
Gets the cursor image.

Returns:
the cursor image

setPopupMenu

void setPopupMenu(javax.swing.JPopupMenu popupMenu)
Sets the pop-up menu for this area.

Parameters:
popupMenu - the pop-up menu for this area

getPopupMenu

javax.swing.JPopupMenu getPopupMenu()
Gets the pop-up menu for this area.

Returns:
the pop-up menu for this area

setDialogComponent

void setDialogComponent(DialogComponent dialogComponent)
Sets the specified DialogComponent for this capture operation.

Parameters:
dialogComponent - the specified DialogComponent for this capture operation

getDialogComponent

DialogComponent getDialogComponent()
Gets the DialogComponent for this capture operation.

Returns:
the DialogComponent for this capture operation

show

void show()
Shows this area.


dispose

void dispose()
Hides and disposes of this area.