public class PlasticImageActivity extends Object implements ImageActivity
FORMAT_FITS, FORMAT_GIF, FORMAT_JPEG, FORMAT_PNG, KNOWN_FORMATS| Constructor and Description |
|---|
PlasticImageActivity(TopcatPlasticListener plasticServer)
Constructor.
|
| 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.
|
ComboBoxModel<?> |
getTargetSelector()
Returns a ComboBoxModel which allows selection of target applications.
|
public PlasticImageActivity(TopcatPlasticListener plasticServer)
plasticServer - plastic connection managerpublic ComboBoxModel<?> getTargetSelector()
ActivitygetTargetSelector in interface Activitypublic JComboBox<String> getFormatSelector()
ImageActivityImageActivity.KNOWN_FORMATS.getFormatSelector in interface ImageActivitypublic void displayImage(String location, String label)
ImageActivitydisplayImage in interface ImageActivitylocation - string giving file name or URL location of filelabel - label for display targetCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.