home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VCafe / JCLASS.BIN / KLG.JAR / jclass / chart / DataSourceEditor.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-12-05  |  1.9 KB  |  65 lines

  1. package jclass.chart;
  2.  
  3. import java.awt.Container;
  4. import java.awt.FlowLayout;
  5. import java.awt.GridLayout;
  6. import java.awt.Panel;
  7. import jclass.beans.JCTabEditor;
  8. import jclass.bwt.JCActionEvent;
  9. import jclass.bwt.JCActionListener;
  10. import jclass.bwt.JCCheckbox;
  11. import jclass.bwt.JCCheckboxGroup;
  12. import jclass.bwt.JCContainer;
  13. import jclass.bwt.JCItemEvent;
  14. import jclass.bwt.JCItemListener;
  15. import jclass.bwt.JCLabel;
  16. import jclass.bwt.JCTextField;
  17.  
  18. public class DataSourceEditor extends JCTabEditor implements JCItemListener, JCActionListener {
  19.    JCCheckbox[] boxes;
  20.    // $FF: renamed from: gr jclass.bwt.JCCheckboxGroup
  21.    JCCheckboxGroup field_0;
  22.    // $FF: renamed from: tf jclass.bwt.JCTextField
  23.    JCTextField field_1;
  24.    // $FF: renamed from: lb jclass.bwt.JCLabel
  25.    JCLabel field_2;
  26.  
  27.    public DataSourceEditor() {
  28.       ((Container)this).setLayout(new GridLayout(1, 2));
  29.       this.field_0 = new JCCheckboxGroup("Data Source Type");
  30.       this.field_0.setOrientation(1);
  31.       this.field_0.setRadioBehavior(true);
  32.       this.boxes = new JCCheckbox[3];
  33.       this.boxes[0] = new JCCheckbox("File Data Source");
  34.       this.boxes[1] = new JCCheckbox("URL Data Source");
  35.       this.boxes[2] = new JCCheckbox("No Data Source");
  36.       this.field_0.add(this.boxes[0]);
  37.       this.field_0.add(this.boxes[1]);
  38.       this.field_0.add(this.boxes[2]);
  39.       ((JCContainer)this).add(this.field_0);
  40.       this.field_0.setCurrent(this.boxes[2]);
  41.       this.field_0.addItemListener(this);
  42.       Panel var1 = new Panel();
  43.       ((Container)var1).setLayout(new FlowLayout());
  44.       this.field_2 = new JCLabel("No Data Source");
  45.       this.field_1 = new JCTextField();
  46.       ((Container)var1).add(this.field_2);
  47.       ((Container)var1).add(this.field_1);
  48.       ((JCContainer)this).add(var1);
  49.       this.field_1.addActionListener(this);
  50.    }
  51.  
  52.    public void itemStateChanged(JCItemEvent var1) {
  53.       if (var1.getStateChange() == 1) {
  54.          ;
  55.       }
  56.    }
  57.  
  58.    public void actionPerformed(JCActionEvent var1) {
  59.    }
  60.  
  61.    public String getJavaInitializationString() {
  62.       return "NULL";
  63.    }
  64. }
  65.