com.teamdev.jxcapture.image.operation.toolkit
Class PositionInfo

java.lang.Object
  extended by com.teamdev.jxcapture.image.operation.toolkit.PositionInfo

public class PositionInfo
extends java.lang.Object

This is a bean class that holds parameters for positioning the helper dialog.

Contains information about the bounds of the components, like screen and helper dialog.


Constructor Summary
PositionInfo(java.awt.Rectangle screenBounds, java.awt.Rectangle dialogBounds, int offset)
           
 
Method Summary
 java.awt.Rectangle getDialogBounds()
          Returns the dialog bounds.
 java.awt.Rectangle getOffsetDialogBounds()
          Returns the dialog bounds with offsets.
 java.awt.Rectangle getScreenBounds()
          Returns the screen bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionInfo

public PositionInfo(java.awt.Rectangle screenBounds,
                    java.awt.Rectangle dialogBounds,
                    int offset)
Method Detail

getScreenBounds

public java.awt.Rectangle getScreenBounds()
Returns the screen bounds.


getDialogBounds

public java.awt.Rectangle getDialogBounds()
Returns the dialog bounds.


getOffsetDialogBounds

public java.awt.Rectangle getOffsetDialogBounds()
Returns the dialog bounds with offsets.