|
|||||||||
| 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 java.lang.String |
title
The title of the page |
protected java.lang.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(java.lang.String title,
java.net.URL url)
Create a history item with the given title (for display) and URL. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Display the catalog |
java.lang.String |
getTitle()
Return the catalogs's name. |
java.lang.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 java.lang.String urlStr
protected java.lang.String title
| Constructor Detail |
|---|
public HTMLViewerHistoryItem(java.lang.String title,
java.net.URL url)
title - The title of the HTML pageurl - The URL of the HTML page| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic java.lang.String getURLStr()
public java.lang.String getTitle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||