home *** CD-ROM | disk | FTP | other *** search
- package jclass.chart;
-
- import java.awt.Container;
- import java.awt.FlowLayout;
- import java.awt.GridLayout;
- import java.awt.Panel;
- import jclass.beans.JCTabEditor;
- import jclass.bwt.JCActionEvent;
- import jclass.bwt.JCActionListener;
- import jclass.bwt.JCCheckbox;
- import jclass.bwt.JCCheckboxGroup;
- import jclass.bwt.JCContainer;
- import jclass.bwt.JCItemEvent;
- import jclass.bwt.JCItemListener;
- import jclass.bwt.JCLabel;
- import jclass.bwt.JCTextField;
-
- public class DataSourceEditor extends JCTabEditor implements JCItemListener, JCActionListener {
- JCCheckbox[] boxes;
- // $FF: renamed from: gr jclass.bwt.JCCheckboxGroup
- JCCheckboxGroup field_0;
- // $FF: renamed from: tf jclass.bwt.JCTextField
- JCTextField field_1;
- // $FF: renamed from: lb jclass.bwt.JCLabel
- JCLabel field_2;
-
- public DataSourceEditor() {
- ((Container)this).setLayout(new GridLayout(1, 2));
- this.field_0 = new JCCheckboxGroup("Data Source Type");
- this.field_0.setOrientation(1);
- this.field_0.setRadioBehavior(true);
- this.boxes = new JCCheckbox[3];
- this.boxes[0] = new JCCheckbox("File Data Source");
- this.boxes[1] = new JCCheckbox("URL Data Source");
- this.boxes[2] = new JCCheckbox("No Data Source");
- this.field_0.add(this.boxes[0]);
- this.field_0.add(this.boxes[1]);
- this.field_0.add(this.boxes[2]);
- ((JCContainer)this).add(this.field_0);
- this.field_0.setCurrent(this.boxes[2]);
- this.field_0.addItemListener(this);
- Panel var1 = new Panel();
- ((Container)var1).setLayout(new FlowLayout());
- this.field_2 = new JCLabel("No Data Source");
- this.field_1 = new JCTextField();
- ((Container)var1).add(this.field_2);
- ((Container)var1).add(this.field_1);
- ((JCContainer)this).add(var1);
- this.field_1.addActionListener(this);
- }
-
- public void itemStateChanged(JCItemEvent var1) {
- if (var1.getStateChange() == 1) {
- ;
- }
- }
-
- public void actionPerformed(JCActionEvent var1) {
- }
-
- public String getJavaInitializationString() {
- return "NULL";
- }
- }
-