Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## teamdev.jxdesktop
Interface Screenable

All Known Subinterfaces:
  UIElement

All Known Implementing Classes:
  WindowsUIElement

public interface Screenable

This interface defines operations for a UI element that supports capturing of its image.

Method Summary
`java.awt.Rectangle` | `getBounds()` Returns the dimensions of the bounding rectangle of the specified screenable object.
`java.awt.image.BufferedImage` | `getImage()` Returns the image that represents the screen shot of the current object.

Method Detail

### getBounds

    public java.awt.Rectangle getBounds()

  Returns the dimensions of the bounding rectangle of the specified screenable object. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.

  Returns:
    the dimensions of the bounding rectangle of the specified screenable object

### getImage

    public java.awt.image.BufferedImage getImage()
                                          throws java.awt.IllegalComponentStateException

  Returns the image that represents the screen shot of the current object.

  Returns:
    the image that represents the screen shot of the current object
  Throws:
    `java.awt.IllegalComponentStateException` - if an error occurs during creation of the image

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD