home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / DefaultCellEditor$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  847 b   |  23 lines

  1. package javax.swing;
  2.  
  3. class DefaultCellEditor$1 extends DefaultCellEditor.EditorDelegate {
  4.    // $FF: synthetic field
  5.    private final JTextField val$textField;
  6.    // $FF: synthetic field
  7.    private final DefaultCellEditor this$0;
  8.  
  9.    DefaultCellEditor$1(DefaultCellEditor var1, JTextField var2) {
  10.       super(var1);
  11.       this.this$0 = var1;
  12.       this.val$textField = var2;
  13.    }
  14.  
  15.    public void setValue(Object var1) {
  16.       this.val$textField.setText(var1 != null ? var1.toString() : "");
  17.    }
  18.  
  19.    public Object getCellEditorValue() {
  20.       return this.val$textField.getText();
  21.    }
  22. }
  23.