public class HTMLViewerHistoryItem extends AbstractAction implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
title
The title of the page
|
protected String |
urlStr
The URL of the page
|
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
HTMLViewerHistoryItem(String title,
URL url)
Create a history item with the given title (for display) and URL.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt)
Display the catalog
|
String |
getTitle()
Return the catalogs's name.
|
String |
getURLStr()
Return the URL of the catalog, table or FITS file, if known, otherwise null.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected String urlStr
protected String title
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public String getURLStr()
public String getTitle()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.