|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImageActivity
Activity for sending an image of some sort to load.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
void |
displayImage(String location,
String label)
Displays an image according to the current selections of the components owned by this activity. |
JComboBox |
getFormatSelector()
Returns a combo box for selecting image format. |
| Methods inherited from interface uk.ac.starlink.topcat.interop.Activity |
|---|
getTargetSelector |
| Field Detail |
|---|
static final String FORMAT_FITS
static final String FORMAT_JPEG
static final String FORMAT_GIF
static final String FORMAT_PNG
static final String[] KNOWN_FORMATS
| Method Detail |
|---|
JComboBox getFormatSelector()
KNOWN_FORMATS.
void displayImage(String location,
String label)
throws IOException
location - string giving file name or URL location of filelabel - label for display target
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||