public interface ImageActivity extends Activity
| Modifier and Type | Field and Description |
|---|---|
static String |
FORMAT_FITS
Format string indicating FITS image.
|
static String |
FORMAT_GIF
Format string indicating GIF image.
|
static String |
FORMAT_JPEG
Format string indicating JPEG image.
|
static String |
FORMAT_PNG
Format string indicating PNG image.
|
static String[] |
KNOWN_FORMATS
Array of all known formats.
|
| Modifier and Type | Method and Description |
|---|---|
void |
displayImage(String location,
String label)
Displays an image according to the current selections of the
components owned by this activity.
|
JComboBox<String> |
getFormatSelector()
Returns a combo box for selecting image format.
|
getTargetSelectorstatic final String FORMAT_FITS
static final String FORMAT_JPEG
static final String FORMAT_GIF
static final String FORMAT_PNG
static final String[] KNOWN_FORMATS
JComboBox<String> getFormatSelector()
KNOWN_FORMATS.void displayImage(String location, String label) throws IOException
location - string giving file name or URL location of filelabel - label for display targetIOExceptionCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.