Package com.facilita.fc.eggPlant
Class ImageInfo
- java.lang.Object
-
- com.facilita.fc.eggPlant.ImageInfo
-
public class ImageInfo extends java.lang.ObjectProvides information about an image
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DateCaptureDate()The date the image was captured.java.lang.StringCaptureHost()Capture host.PointCaptureLocation()Screen coordinates of the image when it was captured.java.lang.Objectget(java.lang.String key)Gets the object with the given key.PointHotSpot()Coordinates of the Hot Spot within the image.java.lang.StringImageName()Gets the image name.java.lang.StringImagePath()File path of the image file.SizeImageSize()Get the size of the image.booleanPulsing()Whether the search type allows for pulsing; true or false.java.lang.StringSearchType()Precise, Tolerant, or Text.java.lang.StringtoString()
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String key)
Gets the object with the given key.- Parameters:
key- the key- Returns:
- the object
-
ImageSize
public Size ImageSize() throws BadValueException
Get the size of the image.- Returns:
- the size
- Throws:
BadValueException- the image size was not in the expected format
-
ImageName
public java.lang.String ImageName()
Gets the image name.- Returns:
- the image name
-
SearchType
public java.lang.String SearchType()
Precise, Tolerant, or Text.- Returns:
- Precise, Tolerant, or Text
-
HotSpot
public Point HotSpot() throws BadValueException
Coordinates of the Hot Spot within the image.- Returns:
- Coordinates of the Hot Spot within the image
- Throws:
BadValueException- the coordinates were not int eh expected format
-
CaptureDate
public java.util.Date CaptureDate()
The date the image was captured.- Returns:
- the date
-
CaptureLocation
public Point CaptureLocation() throws BadValueException
Screen coordinates of the image when it was captured.- Returns:
- the point
- Throws:
BadValueException- the bad value exception
-
Pulsing
public boolean Pulsing()
Whether the search type allows for pulsing; true or false.- Returns:
- Whether the search type allows for pulsing; true or false
-
ImagePath
public java.lang.String ImagePath()
File path of the image file.- Returns:
- File path of the image file.
-
CaptureHost
public java.lang.String CaptureHost()
Capture host.- Returns:
- Capture host.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-