|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.ui.DataTreeDialog
public class DataTreeDialog
This handles popping up a dialog full of DataTrees
for when the user is choosing operands for a formula or when
a display is changing parameters.
This has a list of String labels and param names and constructs a gui consisting of one DataTree for each label/param name
| Constructor Summary | |
|---|---|
DataTreeDialog(IntegratedDataViewer idv,
Component src,
List operands,
List dataSources,
List selectedDataChoices)
Create the dialog |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Handle UI actions |
void |
addMultiple(Integer index)
Add into the index'th list |
void |
dispose()
Remove the data trees and close the window. |
void |
doOk()
User pressed ok. |
List |
getSelected()
Get the list of selected DataChoice-s |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataTreeDialog(IntegratedDataViewer idv,
Component src,
List operands,
List dataSources,
List selectedDataChoices)
idv - Reference to the IDVsrc - Component to place ourselves nearoperands - List of DataOperand-sdataSources - List of data sourcesselectedDataChoices - list of already selected data choices| Method Detail |
|---|
public void addMultiple(Integer index)
index - Which listpublic List getSelected()
DataChoice-s
public void dispose()
public void doOk()
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerevent - The event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||