|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
uk.ac.starlink.vo.TableSetPanel
public class TableSetPanel
Displays the metadata from an array of TableMeta objects. These can be acquired from a TableSet XML document as exposed by VOSI and TAP interfaces.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
TableSetPanel()
Constructor. |
Method Summary | |
---|---|
SchemaMeta[] |
getSchemas()
Returns the most recently set table metadata set. |
TableMeta |
getSelectedTable()
Returns the table which is currently selected for metadata display. |
JComboBox |
getTableSelector()
Returns the combo box used to select different tables for metadata display. |
JMenu |
makeColumnDisplayMenu(String name)
Returns a new menu for controlling which columns are visible in the column display table. |
void |
setSchemas(SchemaMeta[] schemas)
Sets the data model for the metadata displayed by this panel. |
void |
showFetchFailure(String metaUrl,
Throwable error)
Displays an indication that metadata fetching failed. |
JProgressBar |
showFetchProgressBar(String message)
Displays a progress bar to indicate that metadata fetching is going on. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableSetPanel()
Method Detail |
---|
public JMenu makeColumnDisplayMenu(String name)
name
- menu namepublic void setSchemas(SchemaMeta[] schemas)
schemas
- schema metadata objects, null if no metadata availablepublic SchemaMeta[] getSchemas()
public JComboBox getTableSelector()
TableMeta
objectspublic JProgressBar showFetchProgressBar(String message)
message
- message to display
public void showFetchFailure(String metaUrl, Throwable error)
metaUrl
- the tableset metadata acquisition attempted URLerror
- error that caused the failurepublic TableMeta getSelectedTable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |