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