Interface ImageActivity
- All Superinterfaces:
Activity
- All Known Implementing Classes:
SampImageActivity
Activity for sending an image of some sort to load.
- Since:
- 18 Sep 2008
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFormat string indicating FITS image.static final StringFormat string indicating GIF image.static final StringFormat string indicating JPEG image.static final StringFormat string indicating PNG image.static final String[]Array of all known formats. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayImage(String location, String label) Displays an image according to the current selections of the components owned by this activity.Returns a combo box for selecting image format.Methods inherited from interface Activity
getTargetSelector
-
Field Details
-
FORMAT_FITS
-
FORMAT_JPEG
-
FORMAT_GIF
-
FORMAT_PNG
-
KNOWN_FORMATS
Array of all known formats.
-
-
Method Details
-
getFormatSelector
Returns a combo box for selecting image format. A suitable list of entries for this box isKNOWN_FORMATS.- Returns:
- format selector
-
displayImage
Displays an image according to the current selections of the components owned by this activity.- Parameters:
location- string giving file name or URL location of filelabel- label for display target- Throws:
IOException
-