|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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.datanode.tree.TreeNodeChooser
uk.ac.starlink.splat.iface.SplatNodeChooser
public class SplatNodeChooser
TreeNodeChooser subclass designed to return objects that can be constructed into spectra for display by SPLAT. This currently covers Ndx, FITS, TEXT files (these are just assumed to be any type not known) and all Table types that are supported by STIL.
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.BaselineResizeBehavior, 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 | |
---|---|
SplatNodeChooser()
Constructs a new chooser with a default root. |
|
SplatNodeChooser(uk.ac.starlink.datanode.nodes.DataNode root)
Constructs a new chooser. |
Method Summary | |
---|---|
SpecData |
choose(Component parent)
Pops up a modal chooser dialog, with default characteristics. |
SpecData |
choose(Component parent,
String buttonText,
String title)
Pops up a modal dialog. |
uk.ac.starlink.datanode.factory.DataNodeFactory |
getNodeMaker()
|
void |
setRoot(uk.ac.starlink.datanode.nodes.DataNode root)
|
Methods inherited from class uk.ac.starlink.datanode.tree.TreeNodeChooser |
---|
chooseDataNode, clear, createDialog, getButtonPanel, getChooseAction, getChosenPath, getRoot, getRootSelector, getSearchAllAction, getSearchSelectedAction, getSelectedNode, isChoosable, selectNode, setControlsVisible, setNodeMaker, setRootObject, showAllChoosable, showNodeDetail, valueChanged |
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 SplatNodeChooser(uk.ac.starlink.datanode.nodes.DataNode root)
root
- initial root of the tree to browse, or nullpublic SplatNodeChooser()
Method Detail |
---|
public void setRoot(uk.ac.starlink.datanode.nodes.DataNode root)
setRoot
in class uk.ac.starlink.datanode.tree.TreeNodeChooser
public uk.ac.starlink.datanode.factory.DataNodeFactory getNodeMaker()
getNodeMaker
in class uk.ac.starlink.datanode.tree.TreeNodeChooser
public SpecData choose(Component parent, String buttonText, String title)
parent
- the parent component for the dialogbuttonText
- the text to appear on the 'choose' buttontitle
- the title of the dialog window
SpecData
corresponding to the selected DataNode,
or null if none was selected orpublic SpecData choose(Component parent)
parent
- the parent component for the dialog
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |