public class VizierTableLoadDialog
extends uk.ac.starlink.table.gui.AbstractTableLoadDialog
Modifier and Type | Field and Description |
---|---|
static String[] |
SERVER_URLS
URLs known to host a standard VizieR service.
|
Constructor and Description |
---|
VizierTableLoadDialog()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addTargetActionListener(ActionListener listener)
Adds a listener which will be notified when the user-selected target
may change.
|
void |
addTargetCaretListener(CaretListener listener)
Adds a listener which will be notified when the text entered in
the user-selected target boxes may change.
|
protected Component |
createQueryComponent() |
uk.ac.starlink.table.gui.TableLoader |
createTableLoader() |
static String |
encodeArg(String txt)
Turns a text string into a string which can be appended to a URL
to specify a value-less query argument.
|
static String |
encodeArg(String name,
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.
|
String |
getRadius()
Returns the radius string in degrees.
|
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(ActionListener listener)
Removes a listener previously added by
addTargetActionListener(java.awt.event.ActionListener) . |
void |
removeTargetCaretListener(CaretListener listener)
Removes a listener previously added by
addTargetCaretListener(javax.swing.event.CaretListener) . |
addToolbarAction, asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady
public static final String[] SERVER_URLS
protected Component createQueryComponent()
createQueryComponent
in class uk.ac.starlink.table.gui.AbstractTableLoadDialog
public boolean isAvailable()
isAvailable
in interface uk.ac.starlink.table.gui.TableLoadDialog
isAvailable
in class uk.ac.starlink.table.gui.AbstractTableLoadDialog
public String getTarget()
-c
parameter.public String getRadius()
public uk.ac.starlink.table.gui.TableLoader createTableLoader()
public boolean isReady()
isReady
in class uk.ac.starlink.table.gui.AbstractTableLoadDialog
public boolean hasTarget()
public void addTargetActionListener(ActionListener listener)
listener
- listener to addpublic void removeTargetActionListener(ActionListener listener)
addTargetActionListener(java.awt.event.ActionListener)
.listener
- listener to removepublic void addTargetCaretListener(CaretListener listener)
listener
- the listener to addpublic void removeTargetCaretListener(CaretListener listener)
addTargetCaretListener(javax.swing.event.CaretListener)
.listener
- listener to removepublic static String encodeArg(String name, String value)
name
- arg namevalue
- arg valueCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.