public class TopcatLoadClient extends Object implements uk.ac.starlink.table.gui.TableLoadClient
| Constructor and Description |
|---|
TopcatLoadClient(Component parent,
ControlWindow controlWin)
Constructs a load client with popup windows for warnings and errors.
|
TopcatLoadClient(Component parent,
ControlWindow controlWin,
boolean popups)
Constructs a load client optionally with popup windows for warnings
and errors.
|
| Modifier and Type | Method and Description |
|---|---|
protected TopcatModel |
addTable(uk.ac.starlink.table.StarTable table)
Takes a table and inserts it into the TOPCAT application, performing
some housekeeping tasks at the same time.
|
void |
endSequence(boolean cancelled) |
int |
getLoadCount()
Returns the number of tables successfully loaded by this client.
|
uk.ac.starlink.table.StarTableFactory |
getTableFactory() |
boolean |
loadFailure(Throwable error) |
boolean |
loadSuccess(uk.ac.starlink.table.StarTable table) |
void |
setLabel(String label) |
void |
startSequence() |
public TopcatLoadClient(Component parent, ControlWindow controlWin)
parent - parent componentcontrolWin - control windowpublic TopcatLoadClient(Component parent, ControlWindow controlWin, boolean popups)
parent - parent componentcontrolWin - control windowpopups - true iff popup windows should be used to inform
the user of possible problemspublic uk.ac.starlink.table.StarTableFactory getTableFactory()
getTableFactory in interface uk.ac.starlink.table.gui.TableLoadClientpublic void startSequence()
startSequence in interface uk.ac.starlink.table.gui.TableLoadClientpublic void setLabel(String label)
setLabel in interface uk.ac.starlink.table.gui.TableLoadClientpublic boolean loadSuccess(uk.ac.starlink.table.StarTable table)
loadSuccess in interface uk.ac.starlink.table.gui.TableLoadClientprotected TopcatModel addTable(uk.ac.starlink.table.StarTable table)
table - table to insertpublic boolean loadFailure(Throwable error)
loadFailure in interface uk.ac.starlink.table.gui.TableLoadClientpublic void endSequence(boolean cancelled)
endSequence in interface uk.ac.starlink.table.gui.TableLoadClientpublic int getLoadCount()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.