|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
jsky.html.HTMLViewerHistoryItem
public class HTMLViewerHistoryItem
Local class used to store information about previously viewed URLs.
Field Summary | |
---|---|
protected String |
title
The title of the page |
protected String |
urlStr
The URL of the page |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
HTMLViewerHistoryItem(String title,
URL url)
Create a history item with the given title (for display) and URL. |
Method Summary | |
---|---|
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. |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String urlStr
protected String title
Constructor Detail |
---|
public HTMLViewerHistoryItem(String title, URL url)
title
- The title of the HTML pageurl
- The URL of the HTML pageMethod Detail |
---|
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public String getURLStr()
public String getTitle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |