Package com.facilita.fc.eggPlant
Class ImageInfo
- java.lang.Object
-
- com.facilita.fc.eggPlant.ImageInfo
-
public class ImageInfo extends java.lang.Object
Provides information about an image
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
CaptureDate()
The date the image was captured.java.lang.String
CaptureHost()
Capture host.Point
CaptureLocation()
Screen coordinates of the image when it was captured.java.lang.Object
get(java.lang.String key)
Gets the object with the given key.Point
HotSpot()
Coordinates of the Hot Spot within the image.java.lang.String
ImageName()
Gets the image name.java.lang.String
ImagePath()
File path of the image file.Size
ImageSize()
Get the size of the image.boolean
Pulsing()
Whether the search type allows for pulsing; true or false.java.lang.String
SearchType()
Precise, Tolerant, or Text.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-