uk.ac.starlink.table.gui.TableLoadDialogpublic class VizierTableLoadDialog
extends uk.ac.starlink.table.gui.AbstractTableLoadDialog
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String[] |
SERVER_URLS |
URLs known to host a standard VizieR service.
|
| Constructor | Description |
|---|---|
VizierTableLoadDialog() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTargetActionListener(java.awt.event.ActionListener listener) |
Adds a listener which will be notified when the user-selected target
may change.
|
void |
addTargetCaretListener(javax.swing.event.CaretListener listener) |
Adds a listener which will be notified when the text entered in
the user-selected target boxes may change.
|
protected java.awt.Component |
createQueryComponent() |
|
uk.ac.starlink.table.gui.TableLoader |
createTableLoader() |
|
static java.lang.String |
encodeArg(java.lang.String txt) |
Turns a text string into a string which can be appended to a URL
to specify a value-less query argument.
|
static java.lang.String |
encodeArg(java.lang.String name,
java.lang.String value) |
Turns a name, value pair into a string which can be appended to
a URL to specify a query argument and its value.
|
java.lang.String |
getRadius() |
Returns the radius string in degrees.
|
java.lang.String |
getTarget() |
Returns the search target, as presented to the VizieR server's
-c parameter. |
boolean |
hasTarget() |
Indicates whether enough information has been filled in by the user
to specify a search on a given catalogue.
|
boolean |
isAvailable() |
|
boolean |
isReady() |
|
void |
removeTargetActionListener(java.awt.event.ActionListener listener) |
Removes a listener previously added by
addTargetActionListener(java.awt.event.ActionListener). |
void |
removeTargetCaretListener(javax.swing.event.CaretListener listener) |
Removes a listener previously added by
addTargetCaretListener(javax.swing.event.CaretListener). |
asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReadypublic static final java.lang.String[] SERVER_URLS
protected java.awt.Component createQueryComponent()
createQueryComponent in class uk.ac.starlink.table.gui.AbstractTableLoadDialogpublic boolean isAvailable()
isAvailable in interface uk.ac.starlink.table.gui.TableLoadDialogisAvailable in class uk.ac.starlink.table.gui.AbstractTableLoadDialogpublic java.lang.String getTarget()
-c parameter.public java.lang.String getRadius()
public uk.ac.starlink.table.gui.TableLoader createTableLoader()
public boolean isReady()
isReady in class uk.ac.starlink.table.gui.AbstractTableLoadDialogpublic boolean hasTarget()
public void addTargetActionListener(java.awt.event.ActionListener listener)
listener - listener to addpublic void removeTargetActionListener(java.awt.event.ActionListener listener)
addTargetActionListener(java.awt.event.ActionListener).listener - listener to removepublic void addTargetCaretListener(javax.swing.event.CaretListener listener)
listener - the listener to addpublic void removeTargetCaretListener(javax.swing.event.CaretListener listener)
addTargetCaretListener(javax.swing.event.CaretListener).listener - listener to removepublic static java.lang.String encodeArg(java.lang.String name,
java.lang.String value)
name - arg namevalue - arg valuepublic static java.lang.String encodeArg(java.lang.String txt)
txt - arg textCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.